Swift Tutorials and Insights

Learn how to use Swift, Objective-C, Xcode, and more to start building your own iOS apps. Read tutorials written by top iOS developers and experts.

GET STARTED

Swift tutorials, posts, and more

Can I Be A Programmer?

P
Can I Be A Programmer?

Making a Bookkeeping App with NSUserDefaults and Complex Objects

In my previous article, the basics of how to persist data using NSUserDefaults were covered. Now we'll see how to persist custom classes that we create. These classes will be contained in an array. We'll save the entire array to NSUserDefaults.
Making a Bookkeeping App with NSUserDefaults and Complex Objects

Swift Tips & Tricks: Using Functions as Parameters in Swift

Learn how to use functions such as Parameters and other practical things in Swift. Here are some quick tricks you can try.

Parse Tutorial: Customizing Your Twitter/Facebook Signup/Login Views

In this Parse tutorial, you'll learn how to add and customize a simple Log In and Sign Up flow, and adjust it to look like a professional polished app with minimal efforts.
Parse Tutorial: Customizing Your Twitter/Facebook Signup/Login Views

What's New in Swift 2

At WWDC15, Apple announced Swift 2. This article will go over some of the features you’re most likely to use. Swift 2 works with Xcode 7, which is also now available.

Enumerations and mappings to other enumerations

Swift enumerations are cool, and here is a neat use case and example of how to use Swift enumerations.
Enumerations and mappings to other enumerations

Core Data 101: Saving and Fetching

Today we will be focusing on a few important aspects of Core Data, namely, how to set up your model schema as well as fetching and saving data to your persistent store.
Core Data 101: Saving and Fetching

Learn Swift: Enums and Closures

Today we will be talking about Enums and Closures in the Swift programming language. We will touch on type-safety, different enum types, as well as a common type of closure, the completion handler. If you’re a beginner, this is a Swift tutorial you should pay close attention to.
Learn Swift: Enums and Closures

Adopting Cocoapods in your iOS app

In this tutorial, we will use Cocoapods to integrate SwiftyJSON to make it quick and easy to parse JSON inside your Swift app.
Adopting Cocoapods in your iOS app

How to use Alamofire and SwiftyJSON with Swift?

This blog will describe how to use Alamofire with SwiftyJSON. This blog related to iOS and Swift Language.
How to use Alamofire and SwiftyJSON with Swift?

The Musical UIButton

When should a musical note start playing? When should it stop? This is something I’m regularly asking myself and discussing with others as we construct new musical apps. In this article I cover the ...
The Musical UIButton

Swift 3 - Set Home Address for a New CNContact Instance

Adding contact address information via code using Swift 3.x
Swift 3 - Set Home Address for a New CNContact Instance

Swift Syntactic Sugar 偏方可恥但有用

Syntactic sugar is syntax within a programming language that is designed to make things easier to read or to express Swift在設計上,有許多的syntactic sugar,也就是簡化過方便使用的語法。syntactic sugar對於初學者來講,有時候是syntacti...
Swift Syntactic Sugar 偏方可恥但有用

歡迎來到真實世界 - Unit Test for Networking

在上班通勤的時候,最常做的事情就是打電動了。實在有點難在公車上面看書或做認真的事,請問除了高中生之外誰會在公車上認真做事的?那個奈米短的專注時間要思考任何事情都有困難。但是打Clash...
歡迎來到真實世界 - Unit Test for Networking

Bringing Behavior-Driven Development to XCode

As a former Ruby on Rails developer, anything I stumble upon that can give me a ride on the nostalgia train with what I’m currently working on will definitely grab my attention. All joking aside,...
Bringing Behavior-Driven Development to XCode

App Store Review Guideline 2017 更新

在工作之餘,去看了場台北物語,我想屬於台北人共同的記憶,終於在2017年珊珊來遲了。它是一部顛覆你對院線片的既定印象的電影,如果硬要分類,我會把它分在跨界電影:橫跨大學畢業短片跟軍教宣傳短片的新嘗試。 今年的WWDC在軟體方面也有各種跨界的創新嘗試,像是MusicKit或是Core ML,或多或少定義了接下來一年的開發方向,App...

Sequence in Swift – A 🍻 Story

Generator 跟 Sequence 是在許多語言之中常見的design pattern,有了這兩種patterns,你可以很清楚地把按需求取資料跟操作有順序的資料這兩件事情透過程式寫出來。 Swift在2.0時就已經提供了 generatorType 跟 sequenceType 兩種protocol來讓你實作,但在3.0之後,統一都改成了 IteratorProtocol 跟...

How and why I built MISSION MARS!

Mission Mars, is an endless scroller of action and adventure!
How and why I built MISSION MARS!

Exploring Swift Closures

If you've done anything with Swift beyond the basics of the language, you've most certainly worked with closures. If you've fetched data from a URL,you probably used the dataTask...
Exploring Swift Closures

iOS Swift: Implementing Photos App Image Scrolling with Scroll Views

Scroll View comes in handy when your content doesn't fit onto the screen perfectly — learn how to implement image scrolling with scroll views!
iOS Swift: Implementing Photos App Image Scrolling with Scroll Views

Get curated posts in your inbox

Read more posts to become a better developer

YOU MAY ALSO BE INTERESTED IN

Share ideas
with an editor
built for developers

LEARN MORE