iOS dev
10.7K subscribers
12 photos
5 files
6.09K links
There is a single sponsored link in each issue (monday).
One sponsor per issue.
Every sponsored link should be highly relevant to Apple ecosystem app development.
Sponsored link price - 100$
Contact: @tigorn
Download Telegram
https://useyourloaf.com/blog/swift-codable-with-custom-dates/

Swift Codable With Custom Dates
How do you decode a JSON feed that has several custom date formats? If you are lucky using a dateDecodingStrategy might be enough. Unfortunately it has limited support for the .iso8601 format and you can only set one strategy at a time so it does not help when you have two or more different date formats.
https://useyourloaf.com/blog/urlsession-waiting-for-connectivity/

If you use URLSession to start a task with iOS 10 and the network is not available the connection fails at once with an error. There was a small change in iOS 11 that means you can now tell your URLSession to wait until network connectivity is available before trying the connection.
https://developer.apple.com/videos/play/wwdc2016/231/

CloudKit Best Practices
CloudKit keeps app data updated across iOS, macOS, watchOS, tvOS, and the web so you can focus on building your app. Hear best practices from the CloudKit engineering team about how to take advantage of the APIs and push notifications in order to provide your users with the best experience. Learn about the ways Apple apps use CloudKit and how you can apply the same approaches in your app.