eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

196
active users

#swift

4 posts4 participants0 posts today
Taylor Arndt<p>Interested in learning iOS development in a supportive, group environment?<br>Our Apple App Development Course starts September 25. We’ll cover everything from the basics of Swift to getting your app published in the App Store.<br>You’ll need a Mac or iPad running the latest version of macOS or iPadOS.<br>Join here: <a href="https://classroom.google.com/c/Nzg3MTAwMjAwMjIy?cjc=6nhstavd" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">classroom.google.com/c/Nzg3MTA</span><span class="invisible">wMjAwMjIy?cjc=6nhstavd</span></a><br><a href="https://iosdev.space/tags/iOSDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iOSDev</span></a> <a href="https://iosdev.space/tags/Swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Swift</span></a> <a href="https://iosdev.space/tags/AppDevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppDevelopment</span></a> <a href="https://iosdev.space/tags/LearnToCode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LearnToCode</span></a> <a href="https://iosdev.space/tags/Coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Coding</span></a> <a href="https://iosdev.space/tags/Programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programming</span></a> <a href="https://iosdev.space/tags/Developers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Developers</span></a> <a href="https://iosdev.space/tags/Accessibility" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Accessibility</span></a> <a href="https://iosdev.space/tags/TechCommunity" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TechCommunity</span></a> <a href="https://iosdev.space/tags/OpenSource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenSource</span></a> <a href="https://iosdev.space/tags/IndieDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>IndieDev</span></a> <a href="https://iosdev.space/tags/iOSDevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iOSDevelopment</span></a> <a href="https://iosdev.space/tags/EdTech" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>EdTech</span></a></p>

Haha, I know you know it’s a property of an instance! 😜

"To declare a property, use the let keyword. A property has a name, followed by a colon and then the kind of data it holds. This property’s name is day, and it holds a String."

In #Swift, kinds of data are called types. You can read the code you added to an structure like this: “day is a property whose type is String.” Or you could say, “day is a property of type String.”

One of the things I would like to see in the future is getting this SQLite extension to work in combination with the new Foundation model. I’ve seen some people successfully build their own SQLite version that allows loading extensions (the Apple version does not allow this).

So, if you are able to get a working SQLite version, would it be possible to generate embeddings with the new Foundation models?
#iosdev #genai #sqlite #llm #swift #AppleIntelligence

github.com/asg017/sqlite-vec

A vector search SQLite extension that runs anywhere! - asg017/sqlite-vec
GitHubGitHub - asg017/sqlite-vec: A vector search SQLite extension that runs anywhere!A vector search SQLite extension that runs anywhere! - asg017/sqlite-vec
Continued thread

📦 I've been able to bridge most QtWidget APIs without manual "C" bindings thanks to the advanced C++ interop being introduced with Swift 6.2. For this, I created a C++ target to act as a bridge - re-exporting the Qt6 bindings and creating a layer of abstraction where things like lifecycle can be addressed. I've also settled on an approach for exposing events and event filters in a way that will not require a macros or other code generation steps.

#Swift#Qt6#LinuxDev
Continued thread

🔬 If you're familiar with Apple's UI testing frameworks (AXUI), you know how useful this can be when developing apps with a UI. I spent some time wrapping Qt Test so it can be used to simulate events and drive an application programatically. This is helpful not only for humans who want to test their apps, but it is a very efficient way for agents like Claude Code to be able to inspect results of their changes directly.

#Swift#Qt6#LinuxDev

I just wanted to share my progress wrapping Qt6 as a safe Swift library. The main changes since the last update:

📖 I named it! The package is now called QwiftUI. The goal is unchanged - offer an intuitive (and safe) Swift API for building cross-platform apps with Qt6. The feel I'm going for is "AppKit but Qt" while making all of Qt's awesomeness available to Swift apps.

#Swift#Qt6#LinuxDev
Replied in thread

Building a Mastodon app?
github.com/TootSDK/TootSDK has been designed to handle the quirks of the many different servers across the fediverse. It’s been growing fast to support more APIs and edge cases, so you can focus on building your app instead. Also mirrored on codeberg.org/TootSDK/TootSDK 🚀

Cross-platform Swift library for Mastodon and the fediverse - TootSDK/TootSDK
GitHubGitHub - TootSDK/TootSDK: Cross-platform Swift library for Mastodon and the fediverseCross-platform Swift library for Mastodon and the fediverse - TootSDK/TootSDK

A glimpse at a little work in progress - trying to set up a nice set of demo apps showing how the new #swift #foundationmodels work. 20 demos so far - lots of small UI issues but they all work to some extent. If all goes well I’ll create some blogs to explain how to build them 🎉

I’ve been exploring Core Spotlight APIs for showing content in Spotlight search and experimenting with using the same search index to power search inside the app. I wrote a detailed post on how to implement this in a SwiftUI app: nilcoalescing.com/blog/CoreSpo
#iOSDev #SwiftUI #Swift

Nil CoalescingCore Spotlight integration for Spotlight and internal app searchUse a shared Core Spotlight search index to make content discoverable in system Spotlight and support internal search within the app.