神刀安全网

Issue 36 – 10th May 2016

    • Swift 3.0 Release Process
    • Supporting IPv6-only Networks
    • This Is Why Most Mobile Development Projects Fail
    • Design at 1x — It’s a Fact
    • SOLID Design Principles
    • Survival of the Swiftiest
    • Regarding Swift Build Time Optimizations
    • Recursive Tail Calls and Trampolines in Swift
    • Teaching Swift to Non-Developers
    • App Delight in the Service of Habit Forming
    • Space X Is Just Nailing It! :rocket:

News

Swift 3.0 Release Process

It’s been a while coming but this week saw the announcement by @tkremenek on the Swift.org blog about the release process for Swift 3.0. The short version is that the Swift 3.0 release is unsurprisingly not going to be source compatible with Swift 2.2 – meaning it’s going to break a bunch of things – but will be the first time that the Swift Package Manager has been formally included within the release. The general release process is going to start on May 12th, with developer previews available every 4 – 6 weeks working up to a release later in the year. It’s existing times and hopefully the last time we’ll be suffering code breakages for a while.

swift.org

Supporting IPv6-only Networks

Another announcement this week was this one from Apple. As of June 1st, all apps that are submitted to the app-store, must support IPv6 only networking. For most apps, this shouldn’t have too much of a problem (NSURLSession and CFNetwork both support this out of the box) but but if you are using IPv4 specific APIs or hard-coded IPv4 addresses (say for checking reachability to 0.0.0.0) now is the time to get your code base in order. A good WWDC video explaining some of the changes and how to test your app can be found here .

apple.com

Business

This Is Why Most Mobile Development Projects Fail

We’ve all had those nightmare projects. In this article, @rayvinly looks at the relationships and communication between client, designer and developer and looks at the contributing reasons why mobile development projects commonly fail. It’s a well-written article with some good tips and is one that may be all too familiar.

clean-swift.com

Design

Design at 1x — It’s a Fact

“There is still no consensus on the pixel density at which mobile screens should be designed”. In this article, @kurtvarner puts forward 7 reasons why we should be designing our mobile interfaces at x1 (rather than x2, x3 or any other resolution for that matter). It’s a pretty compelling argument, so if you aren’t designing at x1, maybe you should think again.

medium.com

SOLID Design Principles

I’ve been holding off linking to theses articles until the series was complete. If you haven’t seen them already, @donnfelker has been writing a great series of articles on the SOLID Design Principles . It’s pitched at Android development but it’s equally applicable to iOS or any language requiring object-oriented design for that matter and is a series you should definitely read if you’re not already familiar with SOLID. For convenience, links to all the articles in the series are below:

realm.io

Code

Survival of the Swiftiest

If you’ve been following the Swift Evolution mailing lists recently you’ll have noticed the huge number of changes and proposals that have been under review. (So much so that I’ve no idea how people are keeping up). Anyway, @ericasadun has written a great summary of the latest batch of changes.

ericasadun.com

Swift Assertions

I managed to find time to write another article this week, this time looking at Swift Assertions. There are five available in Swift and can be useful tools for debugging your applications both during development and in production. Take a look and add your views at the link below or drop me a message on twitter .

andybargh.com

Regarding Swift Build Time Optimizations

After including an article in last weeks newsletter on Swift compilation times, @RobertGummesson has written a great follow-up piece including a tool to surface these compilation times in Xcode and a few surprising Swift statements that appear to contribute significantly to build times.

medium.com

Recursive Tail Calls and Trampolines in Swift

Honestly, I always find recursion a bit mind bending. This however, is a great article from @uraimo that looks at how to avoid those nasty stack overflow issues by re-writing your normal recursive code using tail recursion and trampolines.

uraimo.com

Libraries

Interpolate

At their core, all animation is interpolation – simple values, changing over time. This library from @marmelroy takes that idea to the next logical level by connect these interpolated animations to associated gestures. It opens up some interesting possibilities.

github.com

LeeGo

Back inIssue 28 I linked to a talk by @wangshengjia in which he outlined an idea for a declarative mechanism for constructing and reconfiguring your apps UI, an idea I really liked. Since then, he’s been hard at work with the result being LeeGo, a lightweight Swift framework for allowing you to decouple and modularise your UI components into building blocks much like Lego. When I’ve got some time, I’ll definitely be playing with this.

github.com

Videos

Teaching Swift to Non-Developers

I really enjoyed this talk from @jeffburg . In it, he imparts some of his knowledge, experience and lessons learnt from his last few years of teaching Swift and iOS development to students with little or no programming knowledge. For me, I got a lot of value from the talk and some great tips that I’ll be trying to incorporate into my articles on the website in future. Gets a big thumbs up from me :+1:

realm.io

App Delight in the Service of Habit Forming

In this talk, @nwreg looks at how some little touches in your apps can make a huge difference in your apps. Some food for thought when putting your app designs together.

vimeo.com

Finally

Space X Is Just Nailing It! :rocket:

I was trying to explain how complicated this was to my parents this week. I’m not sure they got the full implications of it but there is no getting away from it, the team at @spacex are just nailing it. After the first successful water landing last month, this is a seriously impressive learning curve and a huge congratulations to all of them! (Checkout around 28 minutes in if you’re pushed for time).

youtube.com

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » Issue 36 – 10th May 2016

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址