Site icon Storm ID Blog

iOS 7 SDK: My Favourite Parts-Storm ID Blog Post

Notifications and background downloading

Prior to iOS 7, an inactive app is ignorant of notifications sent to the device. With iOS 7, an app can register to be woken when a notification arrives, in order to download data in the background. Imagine the you have a messaging app on your iOS 6 phone:

With iOS 7:

An app running on iOS 7 can also request that the system give it regular background execution time to perform downloads. When you launch the Facebook app in the future, you may find that you do not have to wait for new posts to be downloaded, because the app has already downloaded them in the background.

If an app takes too long to download data in the background, uses too much power or data it will be given less opportunity to download in the future.

Sprite Kit

Most developers have an idea for a game, but have no idea how to write it. Game development is a whole different world from the type of business or web work that developers tend to do.

Sprite Kit is a framework that assists a developer creating 2D games by providing game-loop, facilities for graphics rendering, physics simulations and manipulation of in game objects. In short, it takes a lot of the grunt work out of creating a game.

Here I wrote a very small app using Sprite Kit. You tap the screen to set a car driving from the left of the screen. The car accelerates up to a maximum of 30mph, and maybe crashes into other cars. The code I had to write is less than 80 lines long, Sprite Kit handles all the heavy lifting, leaving the developer free to concentrate on game logic.

Expect to see a lot of developers writing games where previously the barrier of entry was too high.

Exit mobile version