Sparrow Code for iOS developers
755 subscribers
189 photos
26 videos
123 links
I write for iOS developers about Xcode, Swift and SwiftUI development. Group iOS developers to discuss @sparrowcodechat_en. For questions @ivanvorobei
Download Telegram
Added a library with UI elements for iOS 💾 to the resources page

Inside there are iPad examples with new navigation and a new Document-based template. Otherwise everything is familiar

Only for 💎sketch, not for Figma yet
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥8👍4🙏2
If you have installed the beta 💾 the release Xcode will not work

But there is a trick. In the Terminal, type:

/Applications/Xcode.app/Contents/MacOS/Xcode;


Do not close the Terminal. The icon will be crossed out, but everything works
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥6🙏5👍22
The strangest innovation is Tinting Icons

For dark theme you give a colored icon, and the background will be system. For a tinted theme you give a B&W icon. You can play with transparency of elements

🖼 In Xcode Beta you can already add icons, but for now it always shows the default one
Please open Telegram to view this post
VIEW IN TELEGRAM
👍63🙏2🔥11
💳 More ready-made paywalls — SubscriptionStoreView has a new modifier with styles

Note, in the screenshot there are two subscription groups in the segment. This is also new features ready to use
Please open Telegram to view this post
VIEW IN TELEGRAM
🙏5🔥3👍11
💳 StoreKit deprecated

✅ Don't worry - the apps will still work. Just without the new features (win-back offers, more about it later)
Please open Telegram to view this post
VIEW IN TELEGRAM
👍3🙏3🔥2
🎛 Live Activity available on the watchOS. If you've worked with LA before, nothing has changed. If not, there is a tutorial

UI for watch can be done through env check:

@Environment({\.activityFamily) var activityFamily


Enum has two types, .small and .medium. Informatively named 🙆
Please open Telegram to view this post
VIEW IN TELEGRAM
👍8🔥42🙏1
This media is not supported in your browser
VIEW IN TELEGRAM
🥽 Multiview has been added for Vision Pro AVPlayer

Ready-to use via AVPlayerViewController, just a couple of lines of code
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥73👍2🙏22
Media is too big
VIEW IN TELEGRAM
💾 Played with the new navigation on iPad

Sidebar is now a variant of the TabView display. Used to call the .tabItem modifier, but now it's like this:


Tab("Item", systemImage: "play") {
// Content
}


The customization ready to use and is saved in App Storage. The code is universal - for iPhone and Vision Pro it will show tab-bar, for Mac side-bar
Please open Telegram to view this post
VIEW IN TELEGRAM
👍7🔥5🙏111
You can now add your own controls to the control center

🔖 Works via App Intents

Syntax is similar to Intents, but you configure via ControlWidgetConfiguration
Please open Telegram to view this post
VIEW IN TELEGRAM
👍10🔥2🙏21
👶 SwiftUI animations can now be called in the UIKit. And custom animations too
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥12🙏2👍11
🤝 Ready-to-use text formatter UI

You can customize which actions take how much space

Presented as a regular controller. Manage via delegates
Please open Telegram to view this post
VIEW IN TELEGRAM
👍12🙏2🔥111
New frm FinanceKit - you can pull transactions, balances and orders. But only from Apple Apple Card and Cash 🤷‍♂️

🐤 It would be cool to make a global API for finance trackers - a common protocol. Users would be able to migrate between apps, use different clients, etc.

Now that would be a breakthrough
Please open Telegram to view this post
VIEW IN TELEGRAM
👍8🙏3🔥221
You can apply for the featured directly at 👨‍💻 Connect. Will be added in autumn

Previously, the reviewers themselves decided for which featured and in which region, but now it is specified by the developer himself

Another cool thing is that you will be able to see the status of the application, whether it was approved or not
Please open Telegram to view this post
VIEW IN TELEGRAM
👍4🔥3🙏3111
This media is not supported in your browser
VIEW IN TELEGRAM
👨‍💻 Mobile Connect will have animation blanks for your updates

This could already be done on the web, here's a link to the configurator

What's new here is that media is generated in the mobile app and linked to events. We released a new version — here are ready-made sources for Instagram
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥6🙏32👍1
👨‍💻 Now you need one screenshot pack for iPhone. If you have an iPad, one more for it. Available in the fall

Optionally you can upload all sizes like before
Please open Telegram to view this post
VIEW IN TELEGRAM
👍7🔥42🙏1
💡 TipKit has introduced sync via CloudKit, it is enough to specify the container ID:


try Tips.configure([
 .cloudKitContainer(
.named("your-id")
)
])


More tips can be queued (see screenshot). Works via TipGroup

🐤 Backward compatibility is not available, so although it's convenient - but don't touch
Please open Telegram to view this post
VIEW IN TELEGRAM
👍7🔥3🙏111
🏓 New framework for visionOS TabletopKit (visionOS 2.0+)

This is a prefab for tabletop games. The surface tracking and game classes are already ready, all you have to do is react to user actions

☑️ Sample project by url
Please open Telegram to view this post
VIEW IN TELEGRAM
👍6🔥4🙏11
💳 StoreKit has new Win-Back offers. If user cancel subscription — you offer him a discount

🐤 Who is experienced, knows - such systems doing manually. You track event, then send a push or mail. But it is a ready-made system

🏆 Optionally you can show the offer on the app page, in the search and even featured it (if Apple apply it)
Please open Telegram to view this post
VIEW IN TELEGRAM
👍5🔥4🙏211
Updated document-based apps homepage (see screenshot)

👔 Top header can be customized, but elements will be like on the screen - background, buttons, etc.

👶 If written in SwiftUI, there is no backward compatibility - you need DocumentGroupLaunchScene iOS 18+. If UIKit — you will get new homepage
Please open Telegram to view this post
VIEW IN TELEGRAM
👍7🔥2🙏21
This media is not supported in your browser
VIEW IN TELEGRAM
New modal transition. For SwiftUI & UIKit. iOS 18+ of course

controller.preferredTransition = .zoom { _ in }


🐤 The concept is like Hero (here's url link if you haven't come across it), but Hero works better
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥9👍3🙏2111