OAuth 2.0 is a tricky subject. In this tutorial you will learn how to use OAuth2 in an iOS app, in 3 different ways.
Learn how to create a complex loading animation in Swift with this step-by-step tutorial.
Avoiding writing the worst code ultimately comes down to one thing — the human factor. Michele Titolo defines what a team is, before introducing the concept of “organizational smells”: people‑related bugs in teams that cause projects to delay, deliver late, or just crash and burn.
In this port to Swift of the great of Haskell’s “Functors, Applicatives, And Monads In Pictures” we are going to look at these functional programming concepts aided by some very helpful pictures.
We’re used to the Cocoa framework having classes that are assigned delegates from actions such as XML parsing. But what if we want to create our own types with our own delegates.
LaunchKit’s App Website tool creates and hosts a mobile-ready, smart solution for anyone who needs to quickly launch a website for their app.
It’s June 25th 2015, Dan’s in his Speedos, and we’re about to try out what is probably the world’s first swimming app on an Apple Watch. We’re at the London Aquatics Centre, host of the 2012 Olympics. It’s the first time we’ve tried it in a 50m pool and we’d be lying if we said we weren’t a little nervous.What is this spaceship?In this article we’re going to show you a video of what happened next, talk a little bit about the timeline of how we got to this point and then our experiences developing a swimming app on the Apple Watch. We’ll also give a bit of background on how we created our swimming algorithm and finish with our hopes for the next Apple Watch hardware and the Apple ecosystem.
Protocol Extensions are a new feature of Swift 2. They allow you to add new functions (complete with implementations) to any class that implements a protocol. The functionality is best explained with a simple example. Let’s say you wanted to add a way to shuffle arrays.
Swift has rich value types, which is a new experience for many software developers. This has opened the door for the functionalists to ride in.
What I call “functionalism” is really the philosophy of functional programming, which is in fact a very old idea. The idea is that a lot of bugs in programming today are due to having the wrong state. For example, the Heartbleed bug happened because someone re-used the same array for a different purpose. So the solution, clearly, is to get rid of mutable arrays, and mutable variables, and the assignment operator, and you can’t have the heartbleed bug now. (Why they did not also get rid of the programmer is an exercise left to the reader.)
Yesterday I wrote about using NSOperation for background tasks. It was more about long running tasks. When I finished writing the code I wasn’t so happy about how it looked. There were few bad things that I didn’t like. If you didn’t read the first version give it a try and next continue this one,Read more