图书介绍
深入浅出iPhone和iPad开发 英文PDF|Epub|txt|kindle电子书版本网盘下载
![深入浅出iPhone和iPad开发 英文](https://www.shukui.net/cover/16/30387591.jpg)
- (美)皮隆等著 著
- 出版社: 南京:东南大学出版社
- ISBN:7564129422
- 出版时间:2011
- 标注页数:636页
- 文件大小:123MB
- 文件页数:671页
- 主题词:
PDF下载
下载说明
深入浅出iPhone和iPad开发 英文PDF格式电子书版下载
下载的文件为RAR压缩包。需要使用解压软件进行解压得到PDF格式图书。建议使用BT下载工具Free Download Manager进行下载,简称FDM(免费,没有广告,支持多平台)。本站资源全部打包为BT种子。所以需要使用专业的BT下载软件进行下载。如BitComet qBittorrent uTorrent等BT下载工具。迅雷目前由于本站不是热门资源。不推荐使用!后期资源热门了。安装了迅雷也可以迅雷进行下载!
(文件页数 要大于 标注页数,上中下等多册电子书除外)
注意:本站所有压缩包均有解压码: 点击下载压缩包解压工具
图书目录
1 Going Mobile with iOS2
So,you want to build an iOS app2
'cause everyone wants one!3
Apps live in an iTunes universe4
Time to make a decision5
It all starts with the iPhone SDK6
Take alook around7
Xcode includes app templates to help you get started8
Xcode is a full-featured IDE9
Xcode is the hub of your iOS project10
Build your interface within Xcode14
Add the button to your view15
The iOS simulator lets you test your app on your Mac17
iDecide's logic18
Changing the button text19
You're using the Model View Controller pattern23
iDecide is actually a little simpler24
What happened?26
Use the GUI editor to connect UI controls to code27
A component can trigger certain events28
Connect your events to methods29
You've built your first iPhone app!31
Your iOS Toolbox39
2 Hello,Renee!43
First we need to figure out what Mike(really)wants43
App design rules—the iOS HIG48
HIG guidelines for pickers and buttons51
Create a new View-based project for InstaEmail52
The life of a root view54
We need data60
Use pickers when you want controlled input61
Pickers get their data from a datasource62
That pattern is back63
First,declare that the controller conforms to both protocols68
The datasource protocol has two required methods70
Connect the datasource just like actions and outlets71
There's just one method for the delegate protocol72
Actions,outlets,and events77
Connect the event to the action81
Next,synthesize the property85
Connect the picker to our outlet86
Use your picker reference to pull the selected values87
Your iOS Toolbox96
3 Email needs variety100
Renee is catching on100
Make room for custom input101
Header files describe the interface to your class103
Auto-generated accessors also handle memory management109
To keep your memory straight,you need to remember just two things111
But when Mike's finished typing121
Customize your UITextField123
Components that use the keyboard ask it to appear124
Ask the UITextField to give up focus125
Messages in Objective-C use named arguments127
Use message passing to tell our View Controller when the Done button is pressed128
Where's the custom note?132
Your Objective-C Toolbox139
4 A table with a view145
So,how do these views fit together?145
The navigation template pulls multiple views together146
The table view is built in147
A table is a collection of cells152
Just a few more drinks160
Plists are an easy way to save and load data162
Arrays(and more)have built-in support for plists165
Use a detail view to drill down into data168
A closer look at the detail view169
Use the Navigation Controller to switch between views179
Navigation Controllers maintain a stack of View Controllers180
Dictionaries store information as key-value pairs184
Debugging—the dark side of iOS development187
First stop on your debugging adventure:the console188
Interact with your application while it's running189
Xcode supports you after your app breaks,too190
The Xcode debugger shows you the state of your application191
Your iOS Toolbox195
5 Refining your app198
It all started with Sam198
Use the debugger to investigate the crash200
Update your code to handle a plist of dictionaries203
The Detail View needs data206
The other keys are key207
We have a usabilitv problem213
Use a disclosure button to show there are more details available215
Sales were going strong218
Use Navigation Controller buttons to add drinks223
The button should create a new view227
We need a view&but not necessarily a new view228
The View Controller defines the behavior for the view229
A nib file contains the UI components and connections230
You can subclass and extend View controllers like any other class231
Modal views focus the user on the task at hand236
Any view can present a modal view237
Our modal view doesn't have a navigation bar242
Create the Save and Cancel buttons244
Write the Save and Cancel actions245
Your iOS Toolbox249
6 Everyone's an editor...252
Sam is ready to add a Red-Headed School Girl252
but the keyboard is in the way253
Wrap your content in a scroll view255
The scroll view is the same size as the screen257
The keyboard changes the visible area260
iOS notifies you about the keyboard262
Register with the default notification center for events263
Keyboard events tell you the keyboard state and size269
The table view doesn't know its data has changed288
The array is out of order,too292
Table views have built-in support for editing and deleting300
Your iOS Development Toolbox313
Sam has another project in mind314
7 We need more room316
DrinkMixer on the iPad316
The iPad simulator318
The HIG covers iPads,too319
Use Xcode to build your Universal app326
Check your devices334
Rotation is key with iPad337
A persistent view problem345
Don't forget the tableview346
Your iOS Development Toolbox359
8 Enterprise apps362
HF bounty hunting362
A new iPhone control368
Choose a template to start iBountyHunter372
There's a different structure for universal apps374
Drawing how iBountyHunter iPhone works376
and how it fits with the universal app377
Build the fugitive list view382
Next up:the Captured view384
A view's contents are actually subviews392
After a quick meeting with Bob394
Core Data lets you focus on your app396
Core Data needs to know what to load397
Core Data describes entities with a Managed Object Model398
Build your Fugitive entity399
Use an NSFetchRequest to describe your search410
Bob's database is a resource417
Back to the Core Data stack418
The template sets things up for a SQLite DB419
iOS Apps are read-only421
The iPhone's application structure defines where you can read and write422
Copy the database to the Documents directory423
Your Core Data Toolbox444
9 Things are changing446
Bob needs documentation446
Everything stems from our object model449
The data hasn't been updated452
Data migration is a common problem453
Migrate the old data into the new model454
Xcode makes it easy to version your data model455
Core Data can“lightly”migrate data457
Here's what you've done so far461
Bob has some design input462
Your app has a lifecycle all its own472
Multitasking rules of engagement473
A quick demo with Bob476
Use predicates for filtering data478
We need to set a predicate on our NSFetchRequest479
Core Data controller classes provide efficient results handling486
Time for some high-efficiency streamlining487
Create the new FetchedResultsController getter method488
We need to refresh the data493
Your Data Toolbox499
10 Proof in the real world502
For Bob,payment requires proof502
The way to the camera511
There's a method for checking521
Prompt the user with action sheets522
Bob needs the where,in addition to the when528
Core Location can find you in a few ways534
Add a new framework536
Just latitude and longitude won't work for Bob544
Map Kit comes with iOS545
A little custom setup for the map546
Annotations require a little more work553
Fully implement the annotation protocol554
Your Location Toolbox561
11 Natural interfaces564
Bob needs that iPad app,too564
iOS HIG user experience guidelines567
Iterate your interface,too568
BountyHunterHD is based on a split-view controller570
Unifying the custom stuff580
It seems we have a problem585
UIWebview has lots of options586
HTML,CSS and Objective-C588
Using UIWebView588
Your NUI Toolbox599
i The top 4 things(we didn't cover)602
#1.Internationalization and Localization602
Localizing string resources604
#2.View animations606
#3.Accelerometer607
Understanding device acceleration608
#4.A word or two about gaming609
Quartz and OpenGL610
ii Get ready for the App Store612
Apple has rules612
The Provisioning Profile pulls it all together613
Keep track in the Organizer614