Everything iOS9 – Index






Everything iOS9

This series of videos will focus on iOS9-related topics. We'll discuss On-Demand Resources, In-App purchasing, Game Center, and much more. All of these use Swift 2, SpriteKit and apply in most cases to both iOS and tvOS. There is no recommended viewing order for these topics. Jump right into whatever topic suits your needs!

Created by: CartoonSmart

😍 0   👍 0   😐 0




Get access...

Subscribe for Access...

Lifetime Membership...

Just Get this Course...

See options...

Subscribe Monthly or Yearly.
Subscribers get access to every course.

This option gives you member access to CartoonSmart for life. Tutorials, kits, game art, & more. It's all yours! This course author will get a bonus if you select this option.

Get lifetime access to this course.
90% of the sale price goes to the author! Did you know all members are also content creators? Find out more.



Section 1

On-Demand Resources in iOS9

In this video tutorial we will discuss the Swift 2 code related to loading On-Demand Resources, or simply ODR. ODR can drastically reduce the initial size of your app, and allow your users to only download what they need, when they need it. For example, you could hold off loading images / sounds for level 2 of a game if the player will still stuck on level 1.



On Demand Resources in iOS9

Login to Mark Progress

On Demand Resources in iOS9 – Project Files

Login to Mark Progress


Section 2

Take Photos and Access the Camera Roll then Use them in a Sprite Kit Game!

Learn how program a SpriteKit and Swift 2 based app that allows user's the option to add pictures from their camera or camera roll into the game or scene, mask the images, then adjust the layout of the picture within the mask (zoom in / out, move it, rotate, squash and stretch it). The edited masked-image can then appear in ANY other scene throughout the lifespan of the app (it's saved as an NSUserDefault).



Camera Roll Sprite Kit Project with iOS9 – Part 1

Login to Mark Progress

Camera Roll Sprite Kit Project with iOS9 – Part 2

Login to Mark Progress

Camera Roll Sprite Kit Project with iOS9 – Part 3

Login to Mark Progress

Camera Roll Sprite Kit Project with iOS9 – Part 4

Login to Mark Progress

Camera Roll Sprite Kit Project with iOS9 – Part 5

Login to Mark Progress

Camera Roll Project in iOS9 – Project Files

Login to Mark Progress


Section 3

In-App Purchasing for iOS or tvOS Apps

Learn how to sell Consumable and Non-Consumable Products in your iOS9 or tvOS, Swift 2-based Sprite Kit App.



In-App Purchasing Tutorial – Part 1 – Initial Setup

Login to Mark Progress

In-App Purchasing Tutorial – Part 2 – Parsing Plist and Store Setup

Login to Mark Progress

In-App Purchasing Tutorial – Part 3 – Buying a Product

Login to Mark Progress

In-App Purchasing Tutorial – Part 4 – Delivering the Product

Login to Mark Progress

In-App Purchasing Tutorial – Part 5 – Restoring Purchases

Login to Mark Progress

In-App Purchasing Tutorial – Part 6 – Alerts

Login to Mark Progress

In-App Purchasing Tutorial – Part 7 – Quick Setup & Review

Login to Mark Progress

In-App Purchasing Project Files

Login to Mark Progress


Section 4

NSUserDefaults with Swift 2 (and how to save the location of nodes)

In this tutorial, we'll look at saving various types of data to the NSUserDefaults. The NSUserDefaults is great for information that you want to exist even if the app is closed and reopened. As long as the user does not delete the app entirely, the data is still there (the data is basically like a property list that is saved at runtime). So we'll look at saving String objects, Ints, Bools, Arrays and finally a Dictionary (where objects are moved at runtime and their location is saved for the next time the app is run).



NSUserDefaults with Swift 2

Login to Mark Progress

NSUserDefaults Project Files

Login to Mark Progress


Section 5

Keyboard Input with Swift 2 for iOS and tvOS

This video tutorial will teach you how to open a view to enter keyboard input, close it and save the entered values as an NSUserDefault. Along the way you'll also see how to include placeholder text (to easily adjust the width / height, font, and font size of the input area), include custom fonts for the input text, and test the values of the input text. For example, you could include a Parental Gate in your app that prompts parents to enter a specific value, like 12 + 3, then test to see if they typed in 15. This code has been test on both iOS and tvOS devices.



iOS / tvOS Keyboard Input Tutorial – Part 1

Login to Mark Progress

iOS / tvOS Keyboard Input Tutorial – Part 2

Login to Mark Progress

Keyboard Project Files

Login to Mark Progress


Section 6

Parsing a property list with Swift 2

In these videos you will learn how to parse a property list with Swift 2 and organize data (Strings, Numbers, Arrays or Dictionaries with native Swift types). Plists are useful for just about any iOS / tvOS app, but in this particular example, we will create hypothetical level data (an Array of Dictionaries), and discuss reloading the same GameScene class while "leveling up" each time.



How to Parse a Property List – Part 1 – Strings and Arrays

Login to Mark Progress

How to Parse a Property List – Part 2 – Arrays of Dictionaries

Login to Mark Progress

Parsing a Property List Project Files

Login to Mark Progress


Section 7

NSNotifications with Swift 2

In this Swift 2 video tutorial, we will work with NSNotifications to call functions / send data between classes without breaking good MVC pattern (for example, having subviews send info to parent views). In our example, we'll make the GameScene post a notification to the GameViewController. We'll even pass dictionary data using the userInfo parameter.



Posting NSNotifications with Swift 2

Login to Mark Progress

NSNotifications Project Files

Login to Mark Progress


Section 8

Helper Classes with Swift 2

In this short video tutorial, we'll look at creating static variables and functions in a Helper class with Swift 2. This Helpers class will be accessible to any other class in your app, so it's great for reusable functions and saving certain variables. This is similar to working with Singleton classes, and for good measure, we'll even create a Singleton class to show you the subtle differences.



Helper Classes with Swift 2

Login to Mark Progress

Helpers Class Project Files

Login to Mark Progress


Section 9

Game Center - Achievements and Leaderboards

In these Swift 2 video tutorials, we will work with Game Center to post scores to a Leaderboard and note progress toward unlocking Achievements. This of course involves setting up both a Leaderboard and Achievement in iTunes Connect, then authenticating the local player, and all the code involved with posting to Game Center. As always, you'll learn every step of the code. The finished project is SpriteKit and Swift 2 based.



Game Center with Swift 2 – Initial Setup

Login to Mark Progress

Game Center with Swift 2 – Posting High Scores

Login to Mark Progress

Game Center with Swift 2 – Achievements

Login to Mark Progress

Game Center with Swift 2 – Clearing Achievements and Wrap Up

Login to Mark Progress

Game Center Project Files

Login to Mark Progress






Category: App Development  -   Primary Software: Xcode  -  
Tags:   iOS9 - swift - camera - keyboard - nsnotification - user defaults - on demand - property list - in app purchase












Free account...

Looks like you aren't logged in. You can sign up for a FREE user account below. No payment info required...












Download the new CartoonSmart TV App - Tons of FREE and Premium Lessons

It's Free Right? Sure, I'll Get It!