万本电子书0元读

万本电子书0元读

顶部广告

Swift Cookbook电子书

售       价:¥

6人正在读 | 0人评论 9.8

作       者:Cecil Costa

出  版  社:Packt Publishing

出版时间:2015-04-30

字       数:183.0万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
If you are an experienced Objective-C programmer and are looking for quick solutions to many different coding tasks in Swift, then this book is for you. You are expected to have development experience, though not necessarily with Swift.
目录展开

Swift Cookbook

Table of Contents

Swift Cookbook

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Sections

Getting ready

How to do it…

How it works…

There's more…

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Getting Started with Xcode and Swift

Introduction

Installing Xcode from the App Store

Getting ready

How to do it...

How it works...

There's more...

Downloading the Xcode image

Getting ready

How to do it...

How it works...

There's more...

Starting a Swift project

Getting ready

How to do it...

How it works...

There's more...

Using Swift project options

Getting ready

How to do it...

How it works...

There's more...

Creating conditional code

Getting ready

How to do it...

How it works...

There's more...

Adding a developer account

Getting ready

How to do it...

How it works...

There's more...

Compiling from the command line

Getting ready

How to do it...

How it works...

There's more...

Using Swift as an interpreter

Getting ready

How to do it...

How it works...

There's more...

Adding a control version system to an existing project

Getting ready

How to do it...

How it works...

There's more...

2. Standard Library and Collections

Introduction

Creating HTML manually

Getting ready

How to do it...

How it works...

There's more...

Printing your object description

How to do it...

How it works...

There's more...

Quizzing the user

Getting ready

How to do it...

How it works...

There's more...

Searching for perfect numbers

Getting ready

How to do it...

How it works...

There's more...

Sorting an array of products

Getting ready

How to do it...

How it works...

There's more...

Finding the way out

Getting ready

How to do it...

How it works...

There's more...

Working with sets

Getting ready

How to do it...

How it works...

There's more...

Creating your own set

Getting ready

How to do it...

How it works...

There's more...

Organizing a dinner room

Getting ready

How to do it...

How it works...

There's more...

3. Using Structs and Generics

Introduction

Creating an exam app

Getting ready

How to do it...

How it works...

There's more...

Checking the right answer

Getting ready

How to do it...

How it works...

There's more...

Avoiding copying of structs

Getting ready

How to do it...

How it works...

Creating a generic array initializer

Getting ready

How to do it...

How it works...

There's more...

Creating a priority list

Getting ready

How to do it...

How it works...

There's more...

Creating a protocol for the priority queue

Getting ready

How to do it...

How it works...

There's more...

4. Design Patterns with Swift

Introduction

Writing into a log file

Getting ready

How to do it...

How it works...

There's more...

Creating a factory of musical notes

Getting ready

How to do it...

How it works

There's more...

Simulating a home automation

Getting ready

How to do it...

How it works...

There's more...

Delivering some pizzas

Getting ready

How to do it...

How it works...

There's more...

5. Multitasking

Introduction

Working of a device while you navigate

Getting ready

How to do it…

How it works...

There's more...

Creating an SEO app

Getting ready

How to do it...

How it works...

There's more...

Being aware of cyclones

Getting ready

How to do it...

How it works...

There's more

Links on our website

Getting ready

How to do it…

How it works...

There's more

6. Playground

Introduction

Creating the first playground

Getting ready...

How to do it...

How it works...

There's more...

Watching some graphics

Getting ready

How to do it...

How it works...

There's more...

Watching the temperature

Getting ready

How to do it...

How it works...

There's more...

Stretching an image

Getting ready

How to do it...

How it works...

There's more...

Beautifying your text

Getting ready

How to do it...

How it works...

There's more...

Receiving JSONs

Getting ready

How to do it...

How it works...

There's more...

Dangerous moves

Getting ready

How to do it...

How it works...

There's more...

7. Swift Debugging with Xcode

Introduction

The Tax income simulator

Getting ready

How to do it...

How it works...

There's more…

The best checker movement

Getting ready

How to do it...

How it works...

There's more…

Debugging with LLDB

Getting ready

How to do it...

How it works...

There's more...

Profiling an app

Getting ready

How to do it...

How it works...

There's more...

8. Integrating with Objective-C

Introduction

Calling a cab

Getting ready

How to do it...

How it works...

There's more...

Hiring a van

Getting ready

How to do it...

How it works...

Porting from one language to another

Getting ready

How to do it...

How it works...

There's more...

Replacing the UI classes

Getting ready

How to do it...

How it works...

There's more...

Upgrading the app delegate

Getting ready

How to do it...

How it works...

There's more...

Creating a framework

Getting ready

How to do it...

How it works...

There's more...

9. Dealing with Other Languages

Introduction

Using your old address book

Getting ready

How to do it...

How it works...

Compressing a message

Getting ready

How to do it...

How it works...

There's more...

Using assembly code with Swift

Getting ready

How to do it...

How it works...

There's more...

Sharing C++ code with Swift

Getting ready

How to do it...

How it works...

10. Data Access

Introduction

Creating an SQLite database

Getting ready

How to do it...

How it works...

There's more...

Checking where your IP is from

Getting ready

How to do it...

How it works...

There's more...

Tracking your phone activity

Getting ready

How to do it...

How it works...

There's more...

Controlling your stock

Getting ready

How to do it...

How it works...

There's more...

Voting devices

Getting ready

How to do it...

How it works...

There's more...

11. Miscellaneous

Introduction

The geekest keyboard

Getting ready

How to do it...

How it works...

There's more...

Time to take your pill

Getting ready

How to do it...

How it works...

There's more...

Adding effects to your photos

Getting ready

How to do it...

How it works...

There's more...

Being a film critic

Getting ready

How to do it...

How it works...

There's more...

Leaving breadcrumbs

Getting ready

How to do it...

How it works...

There's more...

Exchanging money

Getting ready

How to do it...

How it works...

There's more…

Index

累计评论(0条) 2个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部