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
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
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ’Ύ In the 3rd beta, they added a dark theme to all icons. Apple's apps on top and below with generated icons

🐀 Doesn't work perfectly for all icons, but still a great (developers won't be able to update the apps until September)
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ”₯6πŸ™6πŸ‘422
The iOS 18 design system has been released for 🎨 Figma

A lot of things are missing. There are more templates and elements in the Sketch. It's a beta, so more will be added

πŸŽ› But Figma did a thoughtful thing - they added a relevant url to guides to each group of elements
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ”₯5πŸ™3πŸ‘211
πŸŽ› How to add your controls to the Π‘ontrol Π‘enter. The concept is the same as with Widgets and Live Activity

You create a new StaticControlConfiguration. If you remember, Widgets have their own configurator, LA has its own configurator too. And they are all next to each other

And Intents are responsible for actions as for Live Activity. Even the protocols are the same

🐀 Controls are basically widgets that can be resized. They could have made it a Widget and everything would work
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ™6πŸ‘4πŸ”₯31
You're unlikely to do apps for 🍎 tvOS, but there's a problem

Before tvOS 18, Tru-Way was TVML. This is something like SwiftUI β€” a declarative concept, and the UI is drawn by the system. There were even templates screens!

But now TVML has been deprecated, and the new true-way is πŸ‘Ά SwiftUI

The problem is that SUI is fine for iOS, but for tvOS it’s a nasty and buggy thing. At WWDC they said that everything was fixed, but I don’t believe it at all
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘4πŸ™422πŸ”₯11
πŸŽ› Live Activity is now available for Live Channels. You subscribe a user to a channel, your server sends 1 notification, and LA will be updated for everyone

Is that cool? Yeah. Update by timeline? Still not available
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ”₯84πŸ™333πŸ‘2
My review 🎟 wwdc24 is completed. If someone wants to read it first, here is a link to the first post. And also useful on the topic:

🀝 Text version of video sessions

πŸ“– Summary by categories from Apple

πŸ”¨ Code examples from wwdc24
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ”₯8πŸ™22πŸ‘11
πŸ“¦ Cocoapods is going into maintenance mode. Everything works, but they won't develop it

The team recommends switching to πŸ“¦ Swift Package Manager
Please open Telegram to view this post
VIEW IN TELEGRAM
1πŸ”₯15πŸ‘44πŸ™321
πŸ’Ύ Presented iPhones with a shutter button. If you have a camera app, add new controls

πŸŽ› Guides by the url. In short, remove the buttons on preview and move them to the new menu. For icons you can use only SF Symbols.

⚠️ The most important thing is that such controller is only for camera apps. It is possible to add it somewhere else, but it is trickly and potential HIG reject
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘5πŸ”₯42πŸ™1