Subscriber shared the article about making an advanced Bottom Sheet:
- Learn how to adapt the bottom sheet to the content size.
- Add interactive dismissal, taking scrollable content into account.
- Support UINavigationController with navigation inside the bottom sheet.
p.s. the author is ready to answer to any questions - feel free to contact @MikhailMaslo
https://medium.com/joomtech/bottom-sheet-shall-we-drop-the-formalities-400515255829
#iOS #UIKit
- Learn how to adapt the bottom sheet to the content size.
- Add interactive dismissal, taking scrollable content into account.
- Support UINavigationController with navigation inside the bottom sheet.
p.s. the author is ready to answer to any questions - feel free to contact @MikhailMaslo
https://medium.com/joomtech/bottom-sheet-shall-we-drop-the-formalities-400515255829
#iOS #UIKit
Medium
Bottom Sheet, shall we drop the formalities?
After you’re through with this article, you could deservedly add the “proficient with Bottom Sheets” line to your CV.
❤8
One of the all-awaited feature in Swift 5.6 was Extensible Build Tools proposal - it allows performing custom actions during a build via custom plugins in SPM. Besides it there's another important proposal, that introduces artifact bundles directory in addition to binary targets as well. If you support Linux or are just curious what it is, an author prepared a small article that clarifies this.
https://www.polpiella.dev/binary-targets-in-modern-swift-packages
#SPM
https://www.polpiella.dev/binary-targets-in-modern-swift-packages
#SPM
www.polpiella.dev
Binary targets in modern Swift packages
All you need to know about adding binaries in Swift Packages in 2022.
👍3
Uh, looks like I haven't posted much about SwiftUI, so let's fix it! An author prepared a comprehensive step-by-step tutorial about building an animated circled checkmark from scratch. If you're not confident about this topic or maybe it's new for you at all, it will be interesting reading by far.
Press ❤️, if you like such the detailed post the author prepared for us.
https://serialcoder.dev/text-tutorials/swiftui/playing-with-swiftui-implementing-a-customizable-and-animatable-circled-checkmark-view/
#SwiftUI #animations
Press ❤️, if you like such the detailed post the author prepared for us.
https://serialcoder.dev/text-tutorials/swiftui/playing-with-swiftui-implementing-a-customizable-and-animatable-circled-checkmark-view/
#SwiftUI #animations
❤11😁1
Over the years iOS comes with new API developers want to adopt and it'd be very tempting to support only the latest OS, but the reality is different. So I'm sure you can find many availability labels for back-deploy features in your codebase… But what if we don't need these shims anymore - we need to remember to get rid of them all on every OS upgrade? Wouldn't it be cool to delegate it to the compiler, would it? So Dave's prepared an interesting solution, let's read it!
https://davedelong.com/blog/2022/05/15/conditional-compilation-part-4-deployment-targets/
#Xcode
https://davedelong.com/blog/2022/05/15/conditional-compilation-part-4-deployment-targets/
#Xcode
Dave DeLong
Conditional Compilation, Part 4: Deployment Targets
Recently I was thinking about the idea I’d posted on simplifying backwards compatibility in Swift, and was also thinking about some of the principles of kindness that I wrote about in my article on API design.
In case you didn't know yet, it turns out that the books of "Flight School" series are now available for free! Matt from NSHipters prepared an amazing gift for us.
https://flight.school
#books #swift
https://flight.school
#books #swift
👍13
I think a lot of developers are stressed when dealing with the iOS signing process, and that's fine. Therefore, Bruno has prepared a short article to refresh the knowledge for these people.
By the way, you can read more advanced articles written by Apple a few weeks ago:
Inside Code Signing: Requirements
Inside Code Signing: Hashes
Inside Code Signing: Provisioning Profiles
#code_signing #provisioning
By the way, you can read more advanced articles written by Apple a few weeks ago:
Inside Code Signing: Requirements
Inside Code Signing: Hashes
Inside Code Signing: Provisioning Profiles
#code_signing #provisioning
Swiftrocks
Understanding Certificates and iOS Provisioning Profiles
You do not need to understand the theory of certificates and profiles in order to create a fully working iOS app, but you might be interested in knowing how this process works to make future debugging sessions easier.
🔥11👍1
Look at the image - familiar situation? Just a typo. The code compiles and then crashes at runtime. An author found a halfway solution for detecting these problems, but only for custom view modifiers - using a special Swift attribute. So at least we can make our code safer.
#SwiftUI
#SwiftUI
👏6
Some of the interesting highlights from the new Xcode:
- Finally! Simplify an app icon with a single 1024x1024 image that is automatically resized for its target. Choose the Single Size option in the app icon’s Attributes inspector in the asset catalog. You can still override individual sizes with the All Sizes option. 🎉
- Starting with Xcode 14, bitcode is no longer required for watchOS and tvOS applications, and the App Store no longer accepts bitcode submissions from Xcode 14. 🤷♂️
- Instruments now includes a new Swift Concurrency template for tracing the usage and behavior of Swift’s concurrency primitives.
- Instruments has a new Hang Tracing instrument that shows when an app’s main thread is unable to handle incoming events for an extended period of time, potentially causing the UI to hang.
- Hang reports in the Xcode Organizer provide diagnostic reports on application hangs to assist in improving responsiveness. Reports are generated for an individual app release and ordered by severity. They include sample logs for hangs occurring on the main thread that you can use for debugging as well as statistics on affected devices and iOS versions for the report.
- Xcode Previews can now run on physical devices without requiring a containing application, making it easy to preview on-device for frameworks and Swift packages.
- Added a refactor action to add an explicit Codable implementation.
- Simulator now supports remote notifications in iOS 16 when running in macOS 13 on Mac computers with Apple silicon or T2 processors. Simulator supports the Apple Push Notification Service Sandbox environment. Your server can send a remote notification to your app running in that simulator by connecting to the APNS Sandbox. 💃
- Xcode now pins elements of your code structure to the top of the editor as you scroll through a document.
- Swift 5.7 with a lot of new features!
https://developer.apple.com/documentation/Xcode-Release-Notes/xcode-14-release-notes
- Finally! Simplify an app icon with a single 1024x1024 image that is automatically resized for its target. Choose the Single Size option in the app icon’s Attributes inspector in the asset catalog. You can still override individual sizes with the All Sizes option. 🎉
- Starting with Xcode 14, bitcode is no longer required for watchOS and tvOS applications, and the App Store no longer accepts bitcode submissions from Xcode 14. 🤷♂️
- Instruments now includes a new Swift Concurrency template for tracing the usage and behavior of Swift’s concurrency primitives.
- Instruments has a new Hang Tracing instrument that shows when an app’s main thread is unable to handle incoming events for an extended period of time, potentially causing the UI to hang.
- Hang reports in the Xcode Organizer provide diagnostic reports on application hangs to assist in improving responsiveness. Reports are generated for an individual app release and ordered by severity. They include sample logs for hangs occurring on the main thread that you can use for debugging as well as statistics on affected devices and iOS versions for the report.
- Xcode Previews can now run on physical devices without requiring a containing application, making it easy to preview on-device for frameworks and Swift packages.
- Added a refactor action to add an explicit Codable implementation.
- Simulator now supports remote notifications in iOS 16 when running in macOS 13 on Mac computers with Apple silicon or T2 processors. Simulator supports the Apple Push Notification Service Sandbox environment. Your server can send a remote notification to your app running in that simulator by connecting to the APNS Sandbox. 💃
- Xcode now pins elements of your code structure to the top of the editor as you scroll through a document.
- Swift 5.7 with a lot of new features!
https://developer.apple.com/documentation/Xcode-Release-Notes/xcode-14-release-notes
🔥18
As I said, there are a lot of new features in Swift 5.7
https://www.hackingwithswift.com/articles/249/whats-new-in-swift-5-7
#swift
https://www.hackingwithswift.com/articles/249/whats-new-in-swift-5-7
#swift
Hacking with Swift
What’s new in Swift 5.7
Or as I’ve started calling it, what isn’t new in Swift 5.7?
🔥6
Oh, great! If you've ever needed to compare
https://nilcoalescing.com/blog/CheckIfTwoValuesOfTypeAnyAreEqual/
#swift
Any values in Swift, now it's easier and more elegant to achieve it.https://nilcoalescing.com/blog/CheckIfTwoValuesOfTypeAnyAreEqual/
#swift
Nil Coalescing
Check if two values of type Any are equal
In Swift 5.7 that comes with Xcode 14 we can check if two values of type Any are equal, because we can cast values to any Equatable and use any Equatable as a parameter type.
❤15
If you’re already rewriting all your regex-strings in a new modern way using Regex Builder - this online generator will simplify your life a lot by far!
https://paiv.github.io/swift-rxbgen/
#swift #regex
https://paiv.github.io/swift-rxbgen/
#swift #regex
👍10🔥3
What’s new in iOS 16 about Format Styles:
https://ampersandsoftworks.com/posts/iOS-16-formatstyle/
Gorgeous documentation about all styles in one place 🔥:
https://goshdarnformatstyle.com/
#iOS #formatters
https://ampersandsoftworks.com/posts/iOS-16-formatstyle/
Gorgeous documentation about all styles in one place 🔥:
https://goshdarnformatstyle.com/
#iOS #formatters
Ampersandsoftworks
What's new with FormatStyles in iOS 16 – Ampersand Softworks
Guess documenting FormatStyle is my life now
❤3👍1🔥1
Let's figure out what's new in the Xcode Previews.
At least I hope they have become more reliable and don't crash every 5 minutes. 🤞
https://useyourloaf.com/blog/whats-new-in-xcode-14-previews/
#Xcode
At least I hope they have become more reliable and don't crash every 5 minutes. 🤞
https://useyourloaf.com/blog/whats-new-in-xcode-14-previews/
#Xcode
Use Your Loaf - iOS Development News & Tips
What's New in Xcode 14 Previews
A tour of the new SwiftUI preview canvas in Xcode 14.
😁5
iOS 16 comes with great improvements in app launch time. For apps like Lyft or Airbnb launching almost twice as fast.
And more in-depth posts as well:
- Speeding up protocol conformance checks
- Reducing the amount of data loaded from disk
#iOS #optimization
And more in-depth posts as well:
- Speeding up protocol conformance checks
- Reducing the amount of data loaded from disk
#iOS #optimization
Emergetools
Emerge Tools Blog | How iOS 16 makes your app launch faster
Experience the future of mobile development. Join top companies like DoorDash, Square & Duolingo who use Emerge Tools to deliver the best app performance to their users.
❤7👍3🔥1
Discovered something great today I want to share with you! How many times defining a custom decodable initializer, for instance, have you lost the ability to use the automatically generated memberwise initialize, umm? Oh, I've faced it so often, especially in tests. So the solution is easy - just define this initializer in an extension, and that's it.
https://danijelavrzan.com/posts/2022/07/how-to-test-custom-codable/
#swift
https://danijelavrzan.com/posts/2022/07/how-to-test-custom-codable/
#swift
Danijela's blog
How to test custom Codable initializer | Danijela's blog
Sometimes, when parsing a JSON, you need to implement a custom Codable initializer. Because of that custom logic, you're no longer using the default implementation. It's a good idea to test your code.
👍5🔥4🤯4❤🔥1❤1
Apple has prepared an online meeting with App Store experts to cover the following topics:
- Get started with TestFlight
- Get started with app discovery and marketing
- Explore Family Sharing for in-app purchases
- Optimize subscriptions for success: acquisition
- Get started with in-app events
- Get started with custom product pages
- Get started with product page optimization
https://developer.apple.com/events/app-store/
#Apple
- Get started with TestFlight
- Get started with app discovery and marketing
- Explore Family Sharing for in-app purchases
- Optimize subscriptions for success: acquisition
- Get started with in-app events
- Get started with custom product pages
- Get started with product page optimization
https://developer.apple.com/events/app-store/
#Apple
Apple Developer
Meet with Apple - Apple Developer
Join us around the world for a variety of sessions, labs, and workshops — tailored for you.
👏4🤩1
Such a detailed post about new Grid layout in SwiftUI. Highly recommended.
https://swiftui-lab.com/eager-grids/
#SwiftUI #Layout
https://swiftui-lab.com/eager-grids/
#SwiftUI #Layout
👍4
It turns out that in SwiftUI you can finally hide the home indicator without UIKit hacks.
https://danielsaidi.com/blog/2022/08/01/removing-the-home-indicator-in-swiftui
#SwiftUI
https://danielsaidi.com/blog/2022/08/01/removing-the-home-indicator-in-swiftui
#SwiftUI
Daniel Saidi
Removing the iOS home indicator in SwiftUI
In SwiftUI 4 & iOS 16, you will finally be able to hide the home indicator on iPhone & iPad devices that don’t have a home button, without resorting to UIKit-based hacks.
👍5
This media is not supported in your browser
VIEW IN TELEGRAM
Didn't pay attention to the improved Xcode code completion, but it seems to be awesome.
https://twitter.com/peterfriese/status/1554905178314158082
#Xcode
https://twitter.com/peterfriese/status/1554905178314158082
#Xcode
🔥7👍4
We all know that Meta collects everything about us, no surprises. Every step is being watched. More accurate advertising - more money. For this reason, Felix prepared an investigation on how their in-app browser tracks us. In case you use in-app browser rather than the built-in Safari, just read this article.
https://krausefx.com/blog/ios-privacy-instagram-and-facebook-can-track-anything-you-do-on-any-website-in-their-in-app-browser
#privacy
https://krausefx.com/blog/ios-privacy-instagram-and-facebook-can-track-anything-you-do-on-any-website-in-their-in-app-browser
#privacy
👍6🔥3😱1