Sparrow Code for iOS developers
Presented the new iPads, more powerful, expensive For you as developers, it's useful to know just about the new Pencil Pro — it will support gestures. There is no documentation yet
The docs here. In UIKit, gestures work through perform methods, in SwiftUI it work via a modifier:
📖 Here are docs to the for squeezes and double-tap gestures. It has been working since beta 17.5
MyView()
.onPencilDoubleTap { value in
// ...
}
Please open Telegram to view this post
VIEW IN TELEGRAM
🙏7🔥3👍2 2 2
Sparrow Code for iOS developers
Fixed ✅
Please open Telegram to view this post
VIEW IN TELEGRAM
👍9🔥4 3
Apple has so much to offer that they've created roadmaps. Every category is in the screenshot
Choose the one you need, and inside, it will guide you systematically through docs and video tutorials in the right order
They've called it🗺 Pathways
Choose the one you need, and inside, it will guide you systematically through docs and video tutorials in the right order
They've called it
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥14👍6🙏5 4
You know how to use 💡 TipKit in SwiftUI, but here examples for UIKit as well
For example, you know about special collection cell for tip-view?
🐤 Check tutorial https://sparrowcode.io/en/tutorials/tipkit
For example, you know about special collection cell for tip-view?
Please open Telegram to view this post
VIEW IN TELEGRAM
👍7🔥4 2 2🙏1
In May, Apple released a report about app rejections and removals. The full report is not yet available, but a few stuff here. All data related to 2023
✅ The review team consists of over 500 experts. This is the first time Apple has mentioned it. They also mention automated review
👨💻 Closed 4x fewer dev accounts, total 100k. A year ago, they cleaned up apps and accounts, removing a quarter of all applications at that time
🛑 250k apps were rejected due to 4.x (note: Design Spam). Same as year before
Please open Telegram to view this post
VIEW IN TELEGRAM
👍9🔥5 4 1
These data are from the App Store Transparency Report for 2023. Follow the link for more statistics for iOS-publishers
Please open Telegram to view this post
VIEW IN TELEGRAM
👍10 6🙏4 2🔥1
There it was forbidden to use icons for dynamic updates. For example, as in
Please open Telegram to view this post
VIEW IN TELEGRAM
👍4🔥4🙏3
Let's start reviewing the WWDC sessions. I'll check the most important things for 3-4 days
🔨 You can install a beta next to the release Xcode. No need macOS beta for it
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥7👍4🙏4
This media is not supported in your browser
VIEW IN TELEGRAM
Special model trained on the SDK. Works locally, but only on
Please open Telegram to view this post
VIEW IN TELEGRAM
🙏9👍7🔥4
This media is not supported in your browser
VIEW IN TELEGRAM
Apple positions the Assist as a tutorial for new API (you can learn the code by example) and for prototypes
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥13👍5🙏3 2
Window → Organaiser → Launches
Data is taken from
Please open Telegram to view this post
VIEW IN TELEGRAM
👍8 5🔥4🙏3
Please open Telegram to view this post
VIEW IN TELEGRAM
👍8🔥5 4🙏3
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
Inside there are iPad examples with new navigation and a new Document-based template. Otherwise everything is familiar
Only for
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:
Do not close the Terminal. The icon will be crossed out, but everything works
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👍2 2
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
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
Please open Telegram to view this post
VIEW IN TELEGRAM
👍6 3🙏2🔥1 1
SubscriptionStoreView has a new modifier with stylesNote, 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👍1 1
Please open Telegram to view this post
VIEW IN TELEGRAM
👍3🙏3🔥2
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🔥4 2🙏1
This media is not supported in your browser
VIEW IN TELEGRAM
Ready-to use via
AVPlayerViewController, just a couple of lines of codePlease open Telegram to view this post
VIEW IN TELEGRAM
🔥7 3👍2🙏2 2
Media is too big
VIEW IN TELEGRAM
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🙏1 1 1
You can now add your own controls to the control center
🔖 Works via App Intents
Syntax is similar to Intents, but you configure via
Syntax is similar to Intents, but you configure via
ControlWidgetConfigurationPlease open Telegram to view this post
VIEW IN TELEGRAM
👍10🔥2🙏2 1