Sparrow Code for iOS developers
753 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 upload visionOS apps for private and public testing.

There are no 🥽 devices on sale. Most likely Apple sent the glasses to some teams before the official launch.
Please open Telegram to view this post
VIEW IN TELEGRAM
👶 SwiftUI has removed the 10 view limit. Works in the 3rd beta of💻 Xcode.

Previously you couldn't add more than 10 views to a group. To get around the limit, it was suggested to split into subviews or combine them into Group, VStack, HStack and List, with the same limits inside.
Please open Telegram to view this post
VIEW IN TELEGRAM
👍1
Unity tools for 🥽 visionOS applications have been announced. The technology is called PolySpatial - you can create and even port applications. It was developed together with Apple, and integration with 📺 Composer is announced.

It is still in beta. To get access you need to apply here: https://create.unity.com/spatial
Please open Telegram to view this post
VIEW IN TELEGRAM
📦 Apple Frameworks for 🥽 visionOS on the link. You can compare which ones are available on other platforms.

Interestingly, SwiftData, Combine, WidgetKit, iAd, App Intents and App Clips are not available. But Watch Connectivity is available, you can synchronize with watches.
Please open Telegram to view this post
VIEW IN TELEGRAM
💻 Xcode 15 Beta 5 has been released. Download by the link. Fixed a bug with Observable - earlier visionOS projects build failed.

Also available new framework 💡 TipKit. I wrote about it here.
Please open Telegram to view this post
VIEW IN TELEGRAM
From Spring 2024 👨‍💻 to use UserDefaults - you will need to provide a reason. This also applies to Active keyboard API, File timestamp and Disk space.

Privacy-manifest is a new key-value file. For API, you specify the key and the ready value as the reason.

By the link a session 🎟 WWDC23 about this.
Please open Telegram to view this post
VIEW IN TELEGRAM
Apple has added an overview guide for 🥽 visionOS. Inside about types of immersion, how to work with 3D and gestures, etc.

Similar guides:
- for iOS and iPadOS
- for macOS
- for tvOS
- for watchOS
Please open Telegram to view this post
VIEW IN TELEGRAM
👶 foregroundColor Deprecated in iOS 💽. It has been replaced with foregroundStyle.

The modifier accepts a fixed color or style parameter - primary, background, placeholder, etc. The list of hierarchical styles is here, and the semantic ones are here.
Please open Telegram to view this post
VIEW IN TELEGRAM
👍1
Published documentation for 💡 TipKit. Inside about the model, view and conditions. WWDC session here.

On macOS 14 Beta 4 is not built on the simulator.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤‍🔥1👍1
This media is not supported in your browser
VIEW IN TELEGRAM
Multicursor in 💻 Xcode

1. Control + Shift + Click
or
2. Control + Shift + ⬆️/⬇️, so the multicursor will be next to the line
or
3. Option + drag cursor
Please open Telegram to view this post
VIEW IN TELEGRAM
❤‍🔥5
💳 If the payment for the subscription failed, a screen will appear to update the payment method inside the app. Today in release.

Works with iOS 16.4. The screen will appear automatically, but you can set it up manually. Tests via Sandbox.
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥 Firebase can revoke the Sign in with Apple token now. Documentation link here.

If the app has authorization, then the account must be deleted and the token revoked.
Please open Telegram to view this post
VIEW IN TELEGRAM
👍3🔥2
Since 5th beta 💻 Xcode 15, if a .plist or storyboard falls into a merge conflict, the file will open with text.
Please open Telegram to view this post
VIEW IN TELEGRAM
💻 Xcode 15 beta 7 has been released. From the important - now #if os (iOS) is not executed for visionOS, which means that frameworks that have not been updated build failed.

Also 📦 SwiftData models are not being built for visionOS, although everything is fine on the 6th beta. All changes by the link.
Please open Telegram to view this post
VIEW IN TELEGRAM
🤯1
New Technote how to adapt NavigationSplitView for iOS 15 and below.

The trick is simple, but it is remarkable that this is an official example.
Another new 👨‍💻 Technote about Universal Links. They told how to test and configure the apple-app-site-association file:

After installing the app, the CDN immediately requests the ASSA file and updates it once a week. For tests, you can reinstall the app or bypass the CDN.
Please open Telegram to view this post
VIEW IN TELEGRAM
👍3🔥1
💻 Xcode 15 RC is released. Now you can upload and send for review apps from iOS 17 and macOS 14. They check quickly.

App with 🥽 visionOS can only be uploaded for testing with Xcode 15 Beta 8.
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥3
💻 Xcode 15 released. The release version is the same as the Release Candidate - no need to download again. Link to 🌐 AppStore.
Please open Telegram to view this post
VIEW IN TELEGRAM
In iOS 💽 👶 cornerRadius was deprecated.

Instead you should use clipShape(.rect(cornerRadius: 8)), it is available from iOS 13.
Please open Telegram to view this post
VIEW IN TELEGRAM
👍3
This media is not supported in your browser
VIEW IN TELEGRAM
✍️ SF Symbols 5 has been released. What's new:

- 700 new symbols from iOS 💽
- Added animations. There are previews in the app.
- You can customize elements, like move the badge higher.

Release Notes have not been updated since version 3, so review only through sessions 🎟 WWDC:

- What's new in SF Symbols 5
- Create animated symbols
Please open Telegram to view this post
VIEW IN TELEGRAM
👍3🔥1
In beta 💻 Xcode 15.1 @IBDesignable views are deprecated.
Please open Telegram to view this post
VIEW IN TELEGRAM
👍1