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.
A/B testing, also known as split testing, is a great technique for developing the marketing strategies for your app letting you experiment with different approaches in order to find out what does and doesn’t work for your particular app. iTunes connect however is limited on this front as it doesn’t have any sort of A/B testing tools built-in directly. That’s not to say it’s impossible though. In this article, @sylvainww shows you how to assess the impact of your app store optimisation efforts without the having to resort to third-party tools.
With user expectations growing and app complexity also on the increase it’s becoming more and more difficult to iron out all those small visual glitches that occur in your UI that collectively tend to make your app feel a bit ‘janky’. @nathangitter discusses some common sources for these glitches and explores some design approaches that can prevent them from occuring in the first place.
UI animation can help your app go from good to great adding that extra polish and charm that makes your app stand out from the crowd. One area in which animation can be particularly useful is when transitioning between different app states as it helps users maintain context as they move between the different app states. @pablostanley provides some useful tips on what to focus on.
Set’s tend to be the forgotten sibling of Swift’s built-in collection types with most developers leaning toward using an Array by default. In some situations though, Swift’s humble Set type can provide some significant advantages over an Array, especially when it comes to predicatable performance. @johnsundell takes a look.
Debugging is one of the more difficult tasks we have to tackle as developers and heap corruption especially is right up there on the difficulty scale as the cause of the corruption can often be completely different from the location that gets reported in the stack trace. @vasarhelyia tells her story of tracking down one such bug – a true tail of developer meets detective.
If you’ve ever implemented a dynamic list or collection view in Swift, you’ll know that keeping track of the order that that elements that have been added / deleted / moved and synchronising those changes with the underlying data model can be challenging. This is where IGListKit from the @instagrameng at Instragram comes in. It’s specifically designed to help track these changes, letting you quickly diff and then animate updates to your list without the risk of unexpected crashes. @SebastianBoldt shows you how to get started.
Introduced in iOS 10 and updated in iOS 11, property animators provide finer grained control over your UIView animations, letting you pause, restart and dynamically modify animatable properties on your views from code. @kharrison takes a look at some of the capabilities they provide including everything from basic animations and animation timing through to more complex key-frame-based animations.
With the Swift Package manager continuing to provide only minimal support for iOS, the choice of packages management for iOS projects generally boils down a choice between between using Carthage or Cocoapods. But if you’re just getting started, how do you decide on which one to choose? @Shashikant86 lays out your options.
With this years International Womens day taking place last Thursday, @twostraws discusses one of the more deep-seated issues within the Swift community – it’s lack of diversity. The article itself is great and but Paul has also gone one step further by offering (for the month of March) his free support to any anyone who feels they are part of an under-represented part of the community. It’s a great offer and one you should definitely take advantage of if you identify as being within one of these groups.