Leanpub Header

Skip to main content

Swift 起步走 - 從 Swift 基礎入門到實戰 iPhone App

本書內容包含:

- Swift 語法的詳細介紹

- UIKit 常用元件的詳細介紹

- 35 個範例 App

- 3 個完整實戰 App

使用 Swift 5.1 版本,對應 iOS 13 。

Minimum price

$11.99

$19.99

You pay

$19.99

Author earns

$15.99
$

...Or Buy With Credits!

You can get credits monthly with a Reader Membership
PDF
EPUB
About

About

About the Book

無論你是:

√ 零程式語言設計基礎的初心者

√ 想要加大守備範圍的 Objective-C 老手

√ 想要增進更多技能的其他程式語言高手

這本書都可以帶領你進入認識 Swift 的第一道門

本書會從 Swift 最基礎的內容開始講起,熟悉後會進入物件導向及屬於 Swift 特性的部份。接著為了編寫 iPhone 應用程式所需,會介紹常用的 UIKit 元件。最後綜合所有學習到的知識,從規劃到實作完整建立三個 iPhone 應用程式。以下為所有可以學習到的章節內容:

Swift 基礎

    基本知識

    基本型別

    基本運算子

    字串及字元

    集合型別

    控制流程

    函式

    閉包

Swift 進階

    列舉

    類別及結構

    屬性

    方法

    下標

    繼承

    建構過程及解構過程

    自動參考計數

    可選鏈

    錯誤處理

    型別轉換

    巢狀型別

    擴展

    協定

    泛型

    存取控制

UIKit

    UIKit 初探

    文字標籤 UILabel

    文字輸入 UITextField

    輸入多行文字 UITextView

    按鈕 UIButton

    提示框 UIAlertController

    圖片 UIImageView

    選取日期時間 UIDatePicker

    選擇器 UIPickerView

    開關 UISwitch

    分段控制 UISegmentedControl

    進度條 UIProgressView

    滑桿 UISlider

    步進器 UIStepper

    網頁 UIWebView

    表格 UITableView

    網格 UICollectionView

    搜尋 UISearchController

    滑動視圖 UIScrollView

    多頁面

    導覽控制器 UINavigationController

    標籤列控制器 UITabBarController

    手勢 UIGestureRecognizer

    簡單動畫 Animations

    儲存資訊 UserDefaults

資料庫

    SQLite

    Core Data

iPhone Apps

    待辦事項

        規劃與實作

        程式之外的設定

        播放音效

        UITableView 的編輯模式

    遊玩臺北

        規劃與實作

        取得遠端 API 資料並儲存

        地圖與定位

    記帳

        規劃與實作

本書範例程式碼放在 https://github.com/itisjoe/swiftgo_files

Share this book

Categories

Author

About the Author

Feng Hsin Chiao

I am a web and mobile program designer. Mainly use PHP for web design and Objective-C, Swift for mobile design. Devote to build interesting, simple and useful stuff for people.

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub