I was recently in need of adding a volume control to an App that uses AVPlayer to play a stream from Internet. Here’s I solved it (excluding all the parts besides the volume control). In your project you already have... Continue Reading →
Here’s how to get rid of the “App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app’s Info.plist file.” error message when using http in your code.... Continue Reading →
Here’s a way of doing that. Create a new Single View Application. Drag and drop the images you want to your project and name them Bars-0, Bars-1 and so on. (In my project they are called Bars-0, Bars-1, Bars-2 and Bars-3). I... Continue Reading →
Here’s an example on how to add an Interstitial iAd once the App is started and an iAd i available. Create a new Single View Application. In ViewController.swift, import iAd. import iAd Make sure your ViewController is a delegate for your ad. class... Continue Reading →
Sprite Kit contains a physics edge to make objects move in a realistic way.
To enable the movement of the Sprite, a physics body needs to be created.
This is a boundary that is used for collision detection. In this tutorial a
number of balls will fall down and will fill up the screen in a realistic
way. This tutorial is made for iOS9 and created in Xcode 7.
Here’s what we want to archive: Here’s how to do that. Create a new XCode project using a Single View Application. Add a button to your view controller, name it “View PDF File” and connect an @IBAction to it and... Continue Reading →
Here’s the instructions to make your own Framework and add it to a project. First let us make a simple Framework with a couple of functions. Start a new Xcode project selecting iOS – Framework & Library – Cocoa Touch Framework and... Continue Reading →
Let’s learn how to build a Swift 2.0 PIckerView and change it’s text color in Xcode 7. PickerViews are a great way to display & select data and Swift 2 makes it easy to use. So assuming you have Xcode installed and know how to create a new single view application, let’s get started.[…]
Welcome to part IV of our tutorial were we continue creating our New Horizons game. If your joining us for the first time make sure you have completed part I, II & III before continuing. At this point we can...
Welcome back, In this tutorial we are going to continue creating our New Horizons game where you dodge asteroids on the way to Pluto. If your just now joining us make sure you have completed part I and part II....