万本电子书0元读

万本电子书0元读

顶部广告

Application Development with Swift电子书

售       价:¥

0人正在读 | 0人评论 9.8

作       者:Hossam Ghareeb

出  版  社:Packt Publishing

出版时间:2015-08-28

字       数:68.9万

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

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

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
If you are an iOS developer with experience in Objective-C, and wish to develop applications with Swift, then this book is ideal for you. Familiarity with the fundamentals of Swift is an added advantage but not a necessity.
目录展开

Application Development with Swift

Table of Contents

Application Development with Swift

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

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Hello Swift

Introduction to Swift

Playgrounds

The code structure

Arrays

Initializing an array

Iterating over arrays

Appending items

Removing and updating items

Dictionaries

Initializing a dictionary

Appending or updating values

Removing items from the dictionary

Enum

Using enumerations with the switch statement

Enumerations with associated values

Functions

Closures

Summary

2. Advanced Swift

Type casting and type checking

Downcasting

Using Any and AnyObject

Protocols

Properties

Methods

Class-only protocols

Protocol compositions

The protocol conformance

The optional requirements

Delegation

Extensions

Adding computed properties

Adding new initializers

Adding methods

Generics

Operator functions

Memory management

Using Objective-C and Swift in a single project

Importing Objective-C in the Swift project

Importing Swift in the Objective-C project

Limitations

Summary

3. Touch ID

What is Touch ID?

The LocalAuthentication framework

Summary

4. Introduction to HealthKit

What is HealthKit?

HealthKit limitations

HealthKit privacy

Getting started with HealthKit

Configuring the Xcode project

Getting your hands dirty with HealthKit

The HealthKit store

Asking for permissions

Updating the UI

Sharing data in the Health app

Summary

5. Introduction to Metal

What is Metal?

Features

3D rendering

Pipeline

Transformations

Projection

Other options to work with 3D rendering in iOS

Getting started with Metal

Devices and CAMetalLayers

The command queue

Vertex and color buffers

Vertex and fragment shaders

The render pipeline

The game loop and rendering

The display link

The render pass

The command buffer

Summary

6. Introduction to WatchKit

Apple watch

WatchKit

The WatchKit app

Glances

Actionable notifications

Working with WatchKit

Xcode targets

Interface controllers

Interface elements

Groups

Navigating interfaces

Presenting modally

Animation

Working with glances

Summary

7. Swift App Extensions

App extensions

Today

Share

Photo Editing

Document Provider

Understanding the Document Provider's lifecycle

The custom keyboard

Keyboard security

Keyboard settings

Working with the custom keyboard

Demo

Summary

Index

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

发表评论

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

买过这本书的人还买过

读了这本书的人还在读

回顶部