Lazy variables and Lazy sequences are important features of the Swift language for those looking to optimize resource usage.
Crunchy development have written a nice in-depth tutorial providing a number of examples showing when one would use, and also how to use them. The tutorial does a nice job of pointing out some tricks involving these features.
You can find the tutorial over on the Crunchy Development blog.
A nice tutorial on “being lazy” with Swift.
Here’s a nice guide from Hector Matos called “Hipster Swift” that nicely explains some features of Swift code that you may often find when looking through someone else’s code, but may not fully understand.
The topics covered in the tutorial are:
– inline lazy vars
– variadic parameters
– the dynamic keyword
– special literals
– loop labels
You can find the tutorial over on the KrakenDev website.
A nice guide for to some of the more obscure Swift features.
9 22 3 7 2
For this year’s F8 conference Facebook has decided to open source write a series of tutorials on how they used the React Native framework to create and open source the F8 conference guide app.
The tutorials provide insights into how the app was designed, how they integrated data into the app using Parse server, how the app was tested, and how you can set up your environment for the app.
The tutorials and app use a number of the open source projects from Facebook including React Native, Flow, Flux, GraphQL, Jest, Relay, Redux and the Nuclide IDE.
Here are a few screenshots of the F8 app from the App Store:
You can find the tutorial series on the Makeitopen site.
You can find the app on the App Store here.
A nice guide for those looking to create mobile apps with React Native.
22 3 7 2 11
Keith Elliot is an in-depth tutorials on understanding the 3 Swift Collection Types Arrays, Sets, and Dictionaries.
In the tutorials Keith provides a nice guide on how you can create and use the different types, and how you can use them to help improve your current classes.
You can find the tutorial in 3 different parts:
Great guides for those getting started with collection types in Swift.
Earlier this year the popular app backend service Parse announced that parse would be fully retired by January 2017.
Fortunately Parse open sourced the Parse Server which you could run from your own Node.js server, and a tool for migrating from Parse’s database.
Here are a couple of nice guides from Greg Mojica explaining step by step how you could set up the parse server on Heroku or AWS, and how you can migrate from parse to MongoDB.
You can find the tutorial on how to migrate your DB to MongoDB on the AppCoda blog here.
You can find the tutorial on setting up Parse server on the AppCoda blog here.
Handy tutorials for those who need to move their apps from the Parse service.