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

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

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

Sequence in Swift – A 🍻 Story

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

How to Create Delegates in Swift

What are delegates? Let's explain the concept in simple terms with basic examples to get you started with delegations in Swift.
How to Create Delegates in Swift

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.

Swift Tips & Tricks: Protocol Extensions in Swift

Need a quick tip to add protocol extensions in Swift? Find your answer here!

Can I Be A Programmer?

P
Can I Be A Programmer?

App Store Review Guideline 2017 更新

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

Create a Facebook Share Button and Twitter Tweet Button for Your iOS Swift App

This IOS tutorial will cover tips on how to create a Facebook Share Button and Twitter Tweet Button on your IOS Swift App
Create a Facebook Share Button and Twitter Tweet Button for Your iOS Swift App

Build a Sample iPhone App that Saves a User's Session Data with NSUserDefaults

##Introduction: Create a Great User Experience If your app requires any kind of workflow or data entry, it is best to save app state periodically upon shutdown. Otherwise, users can lose all of their work. This would not only be a loss of data but also of time. One of your main goals is to create a great user experience. In regards to...
Build a Sample iPhone App that Saves a User's Session Data with NSUserDefaults

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

Two Basic Ways To Populate Your UITableView

There are two main base ways to populate a tableview. The more popular is through Interface Building, using a prototype cell UI object. The other is strictly through code when you don't need a prototype cell from Interface Builder. Let's understand how these two are used and when should one be used over the other.

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.

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

Parse Tutorial: Adding a Twitter/Facebook Signup/Login to Your iOS App

Kiss those long hours spent on setting up the login screen goodbye thanks to Parse, which offers a great platform to handle signups and integration with Facebook and Twitter for free. In this tutorial, we’ll look at how to setup a custom Login and Signup view, so you can get users signed up with minimal effort.
Parse Tutorial: Adding a Twitter/Facebook Signup/Login to Your iOS App

iOS9 3DTouch Tutorial: Introduction

With iPhone 6s+ & iOS9, you can now develop apps with 3DTouch, an interesting new way for users to interact with your apps. This article will serve as an intro to what you can do with 3DTouch.
iOS9 3DTouch Tutorial: Introduction

Swift Quick Tip: Using Apple MapKit's MKLocalSearch

Have you ever wondered which restaurants were nearby? Apple’s MapKit framework provides an easy way to lookup places via natural language search - here's how.
Swift Quick Tip: Using Apple MapKit's MKLocalSearch

Swift Beginner's Guide to View Animations

Want to make your app more interesting and attractive? In this tutorial you are going to learn how to use View animation and how to convert a simple view into an awesome view.
Swift Beginner's Guide to View Animations

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

iOS Interview Questions For Senior Developers

For hiring senior IOS developers, what are some interview Q&As you should look for? Check out this article and get a clearer picture.
iOS Interview Questions For Senior Developers

Getting Started with Swift

With this crash course of sorts, you will know enough to be dangerous in Swift.
Getting Started with Swift

Get curated posts in your inbox

Learn programming by reading more posts like this

YOU MAY ALSO BE INTERESTED IN

Share ideas
with an editor
built for developers

LEARN MORE