Create a Queryable Music Library using SQLite Databases

In this post, we’re going to build a small app that will present a music library and allow us to query the data using a pre-existing database. We’ll learn about the SQLite database in particular and how to perform different kinds of queries on it. The first part of this post will be a very quick introduction … Read moreCreate a Queryable Music Library using SQLite Databases

Object-oriented Programming with Swift – Part 2

Initialization and Deinitialization Initialization is when we prepare to create an instance of a class. This process may involve configuring the properties or any other miscellaneous setup required before we can use that instance like opening a database connection, creating a save file, or opening a web socket. In Swift, we use initializers to run some code before the instance … Read moreObject-oriented Programming with Swift – Part 2

Create a Contacts Manager using Core Data

In this tutorial, we’re going to delve into Core Data and build an app to manage our contacts. We’re going to learn about creating a data model, add records to the model, fetch data, and display data using a list. Download the source code for this post . Let’s create a new Single View Application called Contacts and select the Core … Read moreCreate a Contacts Manager using Core Data

How to Navigate Between View Controllers in iOS

Hello World! In this post we’re going to learn how to effectively navigate between two or more view controllers using segues and a UINavigationController. We’ll also see how we can pass data between them using properties. We’ll be building a small app that will use a UINavgiationController to navigate between two view controllers and pass data between them … Read moreHow to Navigate Between View Controllers in iOS

How to Pull Internet Data in iOS Apps

Hello world! In this post, we’re going to learn how to use the new NSURLSession class to quickly and efficiently connect to the internet and pull data. We’ll be using the OpenWeatherMap API to build a very simple forecasting app. In addition, we’ll also be learning about grand central dispatch (GCD) and how multithreading works in iOS. Download the … Read moreHow to Pull Internet Data in iOS Apps

How to Create Dynamic Lists of Items with UITableView

Hello world! In this post, we’re going to learn how to use UITableView to create dynamic lists of items. We’ll create a very simple app that will display a list of healthy foods. More importantly, we’ll learn how to configure UITableView to show a list of any size; we’ll also learn how UITableView works under-the-hood so … Read moreHow to Create Dynamic Lists of Items with UITableView

How to Build an iOS Unit Converter App with Swift – Part 2

Hello World! This is the 2nd and final part of our Unit Converter post. In this post, we’re going to finish our Unit Converter app and see it working in our emulator! We’ll delve into UIPickerView and learn about delegates and data sources! Let’s get started! Since we’re finished with the UI and model, we need to wire everything in our UIViewController subclass. … Read moreHow to Build an iOS Unit Converter App with Swift – Part 2

How to Build an iOS Unit Converter App with Swift – Part 1

Hello world! In this post, we’re going to start building our first real-world app: a unit converter! With it, we hope to quickly convert between different units of length. This is Part 1 of the Unit Converter app post. In this part, we’ll learn about the Model-View-Controller pattern of iOS, UIPickerView, Swift enumerations, and static methods. We’ll also finish our UI and … Read moreHow to Build an iOS Unit Converter App with Swift – Part 1

Hello World – First Steps with iOS

Hello world! In this post, we’re going to get started with iOS development using Swift! We’ll start by building a simple Hello World app that will allow the user to enter their name and push a button; then the text in the middle will change to say “Hello” and the entered name. Download the source code . Learn iOS by building real apps Check out … Read moreHello World – First Steps with iOS

Swift Tutorial 6 – How to Use Functions in Swift

In this post, we’re going to learn about how to define and call various types of Swift functions. A function is a self-contained block of code whose purpose is to perform a specific task. We use functions so that we can break up the main source code into manageable chunks. Also, if we need to repeat code, we can … Read moreSwift Tutorial 6 – How to Use Functions in Swift

Tutorials on game, web and mobile app development