Swift Developments is a hand-curated newsletter containing a weekly selection of the best links, videos, tools and tutorials for people interested in designing and developing their own apps using Swift.
The Case for App Patronage
With many developers struggling to make ends meet by selling apps on the App Store, @jeiting explores a different business model for app development, one that has been adopted by a number of high-profile apps within the iOS development community – patronage.
Designing Apps for the iPhone X
Although the iPhone X has been out for a number of months now, many apps have not yet updated to support it’s new form-factor and interaction paradigms. If you’re looking to bring your app to this new device, @101babich has put together a useful guide on how to design for the iPhone X.
First-Class Functions in Swift
In Swift, functions are first-class citizens letting you pass them as properties or return them from other functions just like any other object or value. In this article @johnsundell looks at some of the different ways we can use this to our advantage in Swift.
Userful Optional Extensions
Optionals have been a major asset to the Swift language, improving code safety by forcing us to handle edge cases that we may have previously ignored. Although powerful, the API for Swift optionals is rather limited though and many developers have resorted to writing extensions to add additional behaviour. @terhechte has brought together a list of some of the most useful.
Conditional Conformance in the Standard Library
Swift 4.1 is looming in the not-too-distant future and along with it comes a nice new language feature – conditional conformance – a feature that unlocks some nice new capabilities in the Swift language. @airspeedswift provides all the details and with snapshot builds availabe, you can even play with it today!
State of String: ABI, Performance, Ergonomics, and You!
Looking further into the future, @ilseman has written an interesting summary of the state of play for Strings in Swift 5. Although the work is primarily focus is the stabilization of the Strings ABI, much of the article discusses potential changes to address obvious short-falls in the String API. It’s an interesting read and hints at some useful additions in the future.
ARKit Tutorial: Understanding Physics by Launching a Rocket Ship
Ever wanted to launch a rocket? Now you can. In this tutorial, Jayvenn N shows you how to use physics inside your ARKit / SceneKit projects to launch a rocket into space. Move over SpaceX, ARKit is on the scene.
Write Your Scripts in Swift with Beak
With Swift being increasingly used on the command line, @twostraws takes a look at Beak, a library from @yonaskolb that lets you run any public global functions in your Swift code straight from the command line.
#pragma mark Conference Videos
If you’re video playlist is a little short following the holidays – fear not! This week has seen the release of a bunch of new videos. First, up we have these videos from last years #Pragma Conference…
try! Swift India 2017
…. and if those weren’t enough, we also have a whole bunch more from last years try! Swift India. With so many great videos to choose from, your biggest problem is going to be which video to watch first!
Best iOS Hacks from Twitter: December Edition
@LisaDziuba with her monthly round up of all the best iOS development hacks from Twitter. I have to say, I don’t know how I ever did without being able to run the simulator full screen. I’m loving it when combined with Xcode and macOS’s split-view!
Health and Fitness for Developers
App development can be an all-consuming activity with hours sat in front of a screen crafting your latest app creation. But as much as developing great apps and writing clean code can make the world a better place, taking care of yourself during your creative endeavours should always be at the forefront of your mind. @iFeliLM provides some valuable advice on how to stay fit and healthy on your app development journey.