With the release of the GM Seed last week, I am now in process of converting posts to be Swift 2.0 compatible. I make it policy not to update during beta versions, since it is likely I’ll need to change all my posts every beta version. I have a lot of work ahead of me with over 140 posts on Swift on this site. I am targeting the 50 most popular first, then working my way to the less popular. I will leave the site up during updating and be replacing posts as I complete them. You will find on completed posts [Updated to Swift 2.0/iOS9 mm/dd/yyyy SJL] at the top of the post
In the table below I will post the status of the top posts from 2015 and where I am in updating them. I am hoping for a quick update for most of them, although a few I’ve already run into problems or need bigger revisions. I updated arrays and dictionaries to use playgrounds. The programmatic auto layout post needs a lot of work to be multitasking compatible so that one may be delayed a bit more than others.
More in The Newsletter
For those interested in what changes to Swift 2.0 there are from earlier versions, I will posting on my newsletter all the tips an tricks I’m finding as I do the updates. You can subscribe here to get The newsletter free. A newsletter subscription also gets you access to the members-only downloads site.
Requested feature: Re-formatted Code
I’ve have several requests for more readable code segments. Unfortunately, with our current site configuration, I can’t add the add-ins to get color coding on Swift. However I can change the code so it is more readable with less side scrolling. I will be changing all multi-parameter code from one to multiple lines. So for example if I had this code:
var myColor = UIColor(red:1.0,green:0.54,blue:0.35,alpha:1.0)
It will now be formatted as:
var myColor = UIColor( red:1.0, green:0.54, blue:0.35, alpha:1.0)
Hopefully this will help readability. Note I will not do this on overrides or factory methods, since those are autocompleted.
I hope to have everything up to speed as soon as possible. This is a lot of work. Thank you for your patience
Leave a Reply