iOS8-Blog

Objective-C / Swift Tutorials, Resources and Competitions for the iPhone Developer

Swift: Type Annotations

Type Annotations in Swift are a really useful way to make sure that the specified value matched that of the expected value. This is extremely useful when using functions and declaring your variables.

Read Full Article

Swift: Tuples an introduction

A Tuple in Swift is a neat way to store multiple values in a single value. You will probably come across tuples in a return function or class. So a tuple is basically a way to represent a collection of values that are closely linked to each other.

Read Full Article

Swift NSTimer Tutorial – Lets create a counter application

In this Swift tutorial we are going to create a basic counter application that utilises the NSTimer class. This is a great introduction to using NSTimer with Swift.

Read Full Article

Swift: How to send a POST Request to a PHP Script

swift post to php This tutorial will show you how to send a POST request in Swift to a PHP script on your server.

Read Full Article

Swift: Create a login app with Parse.com PFUser & Keychain Locksmith

parse com logo This tutorial optimising the specialised Parse.com class PFuser to verify login credentials and uses an awesome library called Locksmith Keychain that stores information in the iOS Keychain to remember whether or not the user is currently logged in.

Read Full Article

Swift: Create user sign up based app with Parse.com using PFUser

parse com logo So, you want to be able to let people sign up to your app right? and you’re using Parse.com? Awesome. They have thought of this and created a fantastic specialised user class: PFUser. This tutorial will show you have to Create a user sign up based app with Parse.com using PFUser.

Read Full Article

Connect your Swift Application to Parse.com

parse com logo Parse.com is an absolutely fantastic option for the individual Swift iOS developer who wants to have the full power of a server backend powering their app without all the difficulties of setting one up. This tutorials shows you how to connect your Swift iOS Application to the Parse.com service.

Read Full Article

Quick tip: Implementing UIAlertView in Swift

In Swift and iOS 8 SDK you can present an alert view as shown in the code below : 1234var alert = UIAlertController(title: ÔÇťAlert Title", message: "Message", preferredStyle: UIAlertControllerStyle.Alert) alert.addAction(UIAlertAction(title: "OK", style: UIAlertActionStyle.Default, handler: nil)) self.presentViewController(alert, animated: true, completion: nil) You can also add destructive and cancel actions by setting the style property to Destructive and Cancel respectively.

Read Full Article

1 2 3 19