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
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
Starting with Xcode 15 ๐Ÿ›  the Leaks Instrument wasn't detecting leaks.

Today ๐Ÿ’ป Xcode 15.0.1 was released with a fix. Download from the website or AppStore.
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘2
Apple has released a technote about watchOS apps. In brief:

- watchOS only ๐Ÿ‘ถ SwiftUI
- 5 different app types
- Use ๐ŸŽ› WidgetKit instead of ClockKit
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘1
Apple has announced ๐Ÿง‘โ€๐Ÿ’ป Swift Student Challenge in advance. Accepting applications in February 2024.

Only available if you are not working as a developer. Requirements in the comments.
Please open Telegram to view this post
VIEW IN TELEGRAM
Media is too big
VIEW IN TELEGRAM
Apple pushed a lot of new ๐Ÿ’ป project-examples:

- ๐Ÿงฟ Swift Splash: RealityKit in ๐Ÿฅฝ visionOS.
- ๐Ÿ“ฆ How to add data to SwiftData and how to link static and dynamic data in SwiftData
- ๐Ÿงฎ Operations in CryptoKit
- ๐Ÿ”– About App Intents

Another update on the document-based application project in ๐Ÿ“ฆ SwiftData.
Please open Telegram to view this post
VIEW IN TELEGRAM
In ๐Ÿ‘จโ€๐Ÿ’ป App Store Connect added ๐Ÿ’ณ in-app purchases Sandbox manage.

You can change account storefront, clear purchase history and simulate interrupted purchase.

They also added management of ๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ Family Sharing - you can test auto-renewable subscriptions and non-consumables.
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘1
A preview of the code has been added into ๐Ÿ“จ Telegram:

@main
struct MainApp: App {

var body: some Scene {
Text("Hello World")
}
}


Mark text as ๐Ÿ“– Markdown - three "`" and optional language. Syntax is highlighted.
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ”ฅ1
Apple's new tutorials:

- Switching to new navigation in ๐Ÿ‘ถ SwiftUI
- Analyzing the ๐Ÿฅฝ visionOS of an app
- Localizing dates, currencies, and numbers
- How to determine the pose of the human body in a picture

And updated interactive tutorials on ๐Ÿ‘ถ SwiftUI.
Please open Telegram to view this post
VIEW IN TELEGRAM
Added a ๐Ÿ“… fiscal calendar for 2024, it shows Apple paying out revenue to developers.

If you hover over the payment date, a period appears and highlights the month for which it is paid.
Please open Telegram to view this post
VIEW IN TELEGRAM