One of the nice additions to the XCode 6.3 release was the introduction of a feature in Swift Playgrounds that might not be immediately obvious to you but is immensely useful. You can now easily include code in separate files. This means you can test small snippets or entire custom classes and then use that code file directly in your projects, very cool for testing and development without the need to create an entire application project. Let’s give it a
Do you have a job opening?
Submit your 30 day Job Listing for FREE
We have four books left to give away and this time the one we are giving away is the Swift Pocket Reference (Programming for iOS 8 and OS X) by Anthony Gray. This small book is beautifully written and pleasantly Succinct. Out of all the books to have in your collection, this is definitely one Swift book that you should add to your shelf.
- February 10, 2015
So you want to use an Objective-C Library or SDK in your Swift application eh? Well do not fret. This quick tutorial will show You how you can create an Objective-C Bridging Header in your Swift application so you can use them both together and seamlessly.
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.
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.
In this Swift tutorial we are going to create a basic counter application that utilises the NSTimer class to create a swift timer. This is a great introduction to using NSTimer with Swift.
This tutorial will show you how to send a POST request in Swift to a PHP script on your server.
In this quick reference guide to Swift Enumerations or more colloquially referred to as Swift Enums I will cover exactly what is enumeration, How you can create a Swift Enum, how to add extra information using associated values and give you an understanding of raw values.
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.