دانلود کتاب Head First iPhone Development: A Learner's Guide to Creating Objective-C Applications for the iPhone

عنوان فارسی :

دانلود کتاب سر اولین آیفون توسعه: راهنمای یادگیرنده برای ایجاد برنامه Objective-C برای آیفون

عنوان انگلیسی :

Head First iPhone Development: A Learner's Guide to Creating Objective-C Applications for the iPhone

زبان : English

موضوع : Computers->Programming: Programming Languages

نویسندگان : Dan Pilone Tracey Pilone

ناشر : O Reilly Media

ISBN (شابک) : 0596803540, 9780596803544

تعداد صفحات : 550\550

سال نشر : 2009     ویرایش : 1

حجم : 17 MB       فرمت : pdf

قیمت : 4000 تومان

خلاصه کتاب به فارسی (ترجمه خودکار و سیستمی) و خارجی:
بگذارید بگوییم ایده ای برای یک برنامه آیفون قاتل داریم. کجا شروع میکنی؟ سر اولین آیفون توسعه به شما کمک خواهد کرد که اولین برنامه خود را دریافت و در حال اجرا در هیچ زمان. شما به سرعت به استفاده از ابزار SDK آیفون، از جمله رابط ساز و Xcode، و اصول برنامه نویسی Objective-C یاد خواهید گرفت که باعث می شود تا برنامه شما بی نظیر باشد. این یک تجربه کامل یادگیری برای ایجاد چشم انداز، بالا فروش برنامه های آیفون است. مفاهیم هسته هدف هدف C برای کار، از جمله پیام عبور، پروتکل، خواص، و مدیریت حافظه استفاده از الگوهای آیفون مانند منابع datasources و نمایندگان پیش نمایش برنامه های خود را در آی فون شبیه ساز ایجاد تعاملات پیچیده است که استفاده از چندین دید، ورود داده ها / ویرایش و چرخش آیفون کار با دوربین آی فون، GPS و شتاب سنج بهینه سازی، تست و توزیع نرم افزار شما ما فکر می کنیم وقت خود را بیش از حد ارزشمند است برای هدر رفتن مبارزه با مفاهیم جدید . با استفاده از آخرین تحقیقات در زمینه شناخت شناختی و تئوری یادگیری برای ایجاد یک تجربه یادگیری چند حسی، اولین برنامه آیفون سران یک فرمت غنی بصری طراحی شده برای کارکرد مغز شما را ایجاد نمیکند، بلکه یک رویکرد متداول بافتی است که شما را به خواب میاندازد.

خلاصه کتاب به زبان اصلی :

Let's say you have an idea for a killer iPhone app. Where do you begin? Head First iPhone Development will help you get your first application up and running in no time. You'll quickly learn to use iPhone SDK tools, including Interface Builder and Xcode, and master Objective-C programming principles that will make your app stand out. It's a complete learning experience for creating eye-catching, top-selling iPhone applications.Put Objective-C core concepts to work, including message passing, protocols, properties, and memory management Take advantage of iPhone patterns such as datasources and delegates Preview your applications in the iPhone Simulator Build complicated interactions that utilize multiple views, data entry/editing, and iPhone rotation Work with iPhone's camera, GPS, and accelerometer Optimize, test, and distribute your application We think your time is too valuable to waste struggling with new concepts. Using the latest research in cognitive science and learning theory to craft a multi-sensory learning experience, Head First iPhone Development provides a visually-rich format designed for the way your brain works, not a text-heavy approach that puts you to sleep.

فهرست :



Table of contents :
Table of Contents......Page 10
1. getting started: Going mobile......Page 11
2. iPhone app patterns: Hello @twitter!......Page 12
3. objective-c for the iPhone: Twitter needs variety......Page 13
4. multiple views: A table with a view......Page 14
5. plists and modal views: Refining your app......Page 15
6. saving, editing, and sorting data: Everyone's an editor.........Page 16
7. tab bars and core data: Enterprise apps......Page 17
8. migrating and optimizing with core data: Things are changing......Page 18
9. camera, map kit, and core location: Proof in the real world......Page 19
appendix i, leftovers: The top 6 things (we didn't cover)......Page 20
appendix ii, preparing your app for distribution: Get ready for the App Store......Page 21
how to use this book: Intro......Page 22
Who should probably back away from this book?......Page 23
And we know what your brain is thinking.......Page 24
Metacognition: thinking about thinking......Page 26
Here’s what WE did:......Page 27
Here’s what YOU can do to bend your brain into submission......Page 28
Read me......Page 29
System requirements......Page 30
The technical review team......Page 31
Acknowledgments......Page 32
Safari® Books Online......Page 33
1. getting started: Going mobile......Page 34
There’s a lot of buzz and a lot of money tied up inthe App Store.........Page 35
Mobile applications aren’t just ported desktop apps......Page 36
iPhone apps are not small desktop apps......Page 37
...and any other resources, all packaged intoyour application.......Page 38
Mike can’t make a decision......Page 39
Make a good first impression......Page 40
It all starts with the iPhone SDK......Page 41
Xcode includes app templates to help you get started......Page 43
Xcode is the hub of your iPhone project.........Page 45
Build your interface using... Interface Builder......Page 47
Add the button to your view......Page 49
The iPhone Simulator lets you test your app on your Mac......Page 50
Unless the UI components are hooked up to the code, nothing is going to happen.......Page 55
Use Interface Builder to connect UI controls to code......Page 56
Elements dispatch events when things happen to them......Page 57
Connect your events to methods......Page 58
iPhonecross......Page 66
iPhonecross Solution......Page 67
Your iPhone Toolbox......Page 68
2. iPhone app patterns: Hello @twitter!......Page 70
First we need to figure out what Mike (really) wants......Page 72
Application types......Page 77
HIG guidelines for pickers and buttons......Page 80
Start with the view layout......Page 81
The life of a root view......Page 85
First, get the data from Mike......Page 88
When in doubt, check out Apple’s API documentation......Page 89
Fill the picker rows with Mike’s data......Page 90
...and tell their delegates when something happens.......Page 91
Controls have their own specific datasources and delegates......Page 92
Protocols tell you what methods (messages) you need to implement......Page 96
Next, add Mike’s activities and feelings to the implementation file......Page 97
The datasource protocol has two required methods......Page 99
Connect the datasource just like actions and outlets......Page 100
There’s just one method for the delegate protocol......Page 101
The button needs to be connected to an event......Page 105
Without an action, your button won’t work!......Page 106
Add the IBOutlet and property to our view controller......Page 109
Connect the picker to our outlet......Page 111
Use our picker reference to pull the selected values......Page 112
iPhonecross......Page 116
iPhonecross Solution......Page 118
Your iPhone Toolbox......Page 120
3. objective-c for the iPhone: Twitter needs variety......Page 122
Renee is catching on..........Page 123
Make room for custom input......Page 124
Header files describe the interface to your class......Page 126
Auto-generated accessors also handle memory management......Page 132
To keep your memory straight, you need to remember just two things......Page 134
But when Mike’s finished typing.........Page 144
Next change the label on the return key......Page 146
...by passing messages to other objects......Page 147
Ask the textField to give up focus......Page 148
Messages in Objective-C use named arguments......Page 150
Use message passing to tell our viewcontroller when the Done button is pressed......Page 151
Something’s still not right......Page 155
Build the tweet with strings......Page 157
Objective-Ccross......Page 161
Your Objective-C Toolbox......Page 162
Objective-Ccross Solution......Page 163
4. multiple views: A table with a view......Page 164
So, how do these views fit together?......Page 168
The navigation template pulls multiple views together......Page 169
The navigation template starts with a table view......Page 170
A table is a collection of cells......Page 173
Each drink gets its own cell... sorta......Page 176
Just a few more drinks......Page 181
Plists are an easy way to save and load data......Page 183
Built-in types can save and load from plists automatically......Page 184
Arrays (and more) have built-in support for plists......Page 186
Use a detail view to drill down into data......Page 189
A closer look at the detail view......Page 190
Use the navigation controller to switch between views......Page 200
We’ll use the tap notification in the table view delegate......Page 201
Instantiate a view controller like any other class......Page 202
Dictionaries store informationas key-value pairs......Page 205
Warnings can help find problems without debugging......Page 208
First stop on your debugging adventure: the console......Page 209
And when it’s about to stop running......Page 210
Xcode supports you after your app breaks, too......Page 211
The Xcode debugger shows you the state of your application......Page 212
What the heck is going on?......Page 214
MultipleViewscross......Page 215
Your iPhone Toolbox......Page 216
MultipleViewscross Solution......Page 217
5. plists and modal views: Refining your app......Page 218
It all started with Sam.........Page 219
Use the debugger to investigate the crash......Page 221
We’re trying to stuff a dictionary into a string......Page 223
Update your code to handle a plist of dictionaries......Page 224
The detail view needs data......Page 227
Each dictionary has all the information we need......Page 228
We have a usability problem......Page 234
Use a disclosure indicator if your cell leads to more information......Page 236
Sales were going strong.........Page 239
Use navigation controller buttons for editing......Page 244
The button should create a new view......Page 248
We need a view... but not necessarily a new view......Page 249
The view controller defines the behavior for the view......Page 250
...and information about the nib’s File’s Owner......Page 251
You can subclass and extend views like any other class......Page 252
Use Xcode to create a view controller without a nib......Page 254
...like adding or editing items......Page 257
Any view can present a modal view......Page 258
Our view doesn’t have a navigation bar......Page 263
Create the save and cancel buttons......Page 265
Write the save and cancel actions......Page 266
iPhoneDevcross......Page 269
Your iPhone Toolbox......Page 270
iPhoneDevcross Solution......Page 271
6. saving, editing, and sorting data: Everyone’s an editor.........Page 272
Sam is ready to add a Red-Headed School Girl.........Page 273
...but the keyboard is in the way......Page 274
We need to wrap our content in a scroll view......Page 276
The scroll view is the same size as the screen......Page 278
The keyboard changes the visible area......Page 281
iPhone notifies you about the keyboard......Page 283
Then unregister when you’re done......Page 284
Keyboard events tell you the keyboard state and size......Page 290
You need to ask the table view to reload its data......Page 309
We can sort our array using NSSortDescriptor......Page 313
Table views have built-in support for editing and deleting......Page 321
NavigationControllercross......Page 331
NavigationControllercross Solution......Page 333
Your iPhone Development Toolbox......Page 334
7. tab bars and core data: Enterprise apps......Page 336
HF bounty hunting......Page 337
Choose a template to start iBountyHunter......Page 341
Drawing how iBountyHunter works.........Page 343
Build the fugitive list view......Page 349
Next up: the captured view......Page 351
After a quick meeting with Bob.........Page 360
But wait, there’s more!......Page 362
We need to define our types.........Page 363
Core Data describes entities with a Managed Object Model......Page 366
Build your Fugitive entity......Page 367
Whip up a Fugitive class without writing a line......Page 374
NSManagedObject handles storage and memory for generated properties......Page 375
NSManagedObject also implements the properties......Page 376
Ask the Managed Object Context to fetch data using your NSFetchRequest......Page 377
Back to the Core Data stack......Page 387
The template sets things up for a SQLite DB......Page 388
iPhone Apps are read-only......Page 390
Use the Documents directory to store user data......Page 391
Copy the database to the correct place......Page 392
CoreDatacross......Page 407
Your Core Data Toolbox......Page 408
CoreDatacross Solution......Page 409
8. migrating and optimizing with core data: Things are changing......Page 410
Bob needs documentation......Page 411
Everything stems from our object model......Page 414
Core Data caught a mismatch between our DB and our model......Page 417
Data migration is a common problem......Page 418
Our two models need different versions......Page 419
Xcode makes it easy to version the data model......Page 420
Core Data can “lightly” migrate data......Page 422
Bob has some design input......Page 427
The Managed Object Context saves new or changed items......Page 437
A quick demo with Bob......Page 439
NSFetchRequest concepts are nearly identical to SQL......Page 441
We need to set a predicate on our NSFetchRequest......Page 442
Table views and NSFetchedResultsControllers are made for each other......Page 449
Time for some high-efficiency streamlining......Page 450
Refactor viewWillAppear to use the controller......Page 451
NSFetchedResultsController can check for changes......Page 456
DataMigrationcross......Page 460
DataMigrationcross Solution......Page 461
Your Data Toolbox......Page 462
9: camera, map kit, and core location: Proof in the real world......Page 464
For Bob, payment requires proof!......Page 465
Flip over for the detail view!......Page 467
The way to the camera.........Page 474
The iPhone isn’t the only device using apps......Page 481
There’s a method for checking......Page 484
We’ll use action sheets to let the user pick the image source......Page 485
Bob needs the where, in addition to the when......Page 491
Core Location relies on the LocationManager......Page 497
Then update the header file......Page 499
Just latitude and longitude won’t work for Bob......Page 505
Map Kit is new with iPhone 3.0......Page 506
A little custom setup for the map......Page 507
Annotations require a little more finesse......Page 512
AddingFunctionalitycross......Page 516
AddingFunctionalitycross Solution......Page 517
Your extras Toolbox......Page 518
It’s been great having you here!......Page 519
i. leftovers: The top 6 things (we didn’t cover)......Page 520
Localizing nibs......Page 521
Localizing string resources......Page 523
Generating your strings file......Page 524
Using UIWebView......Page 525
The UIWebView supports a delegate, too......Page 526
The view controller tells the iPhone OS what orientations it supports......Page 527
Handling view rotations......Page 528
Handling rotation with two different views......Page 529
Animating view and control changes......Page 530
All you need is the UIAccelerometer......Page 531
Understanding the device acceleration......Page 532
Multitouch......Page 533
Game Kit......Page 534
ii. preparing an app for distribution: Get ready for the App Store......Page 536
First get your Development Certificate......Page 537
The Provisioning Profile pulls it all together......Page 538
A few final tips.........Page 539
B......Page 540
C......Page 541
D......Page 542
I......Page 543
M......Page 545
N......Page 546
P......Page 547
T......Page 548
U......Page 549
X......Page 550




کتاب های پزشکی

دانلود کتاب Facilitated Stretching, 2nd Edition

دانلود کتاب Interpretation of canine and feline urinalysis

دانلود کتاب Pocket Atlas of Sectional Anatomy, Computed Tomography and Magnetic Resonance Imaging: Thorax, Heart, Abdomen, and Pelvis

دانلود کتاب llustrated Light on Yoga

دانلود کتاب Dynamic Joga

کتاب های کامپیوتر

دانلود کتاب Creative Visualization For Dummies (For Dummies (Psychology & Self Help))

دانلود کتاب HTML5: The Missing Manual (Missing Manuals)

دانلود کتاب An Introduction to Python and LaTeX (draft)

دانلود کتاب Programming Reactive Extensions and Linq

دانلود کتاب Build Your Own Web Site The Right Way Using HTML & CSS, 2nd Edition

کتاب های ریاضی

دانلود کتاب The Realism-Antirealism Debate in the Age of Alternative Logics

دانلود کتاب Contemporary Business Mathematics for Colleges, 15th edition

دانلود کتاب Prealgebra , Fourth Edition (Available 2011 Titles Enhanced Web Assign)

دانلود کتاب Diffusions, Markov Processes, and Martingales: Volume 1, Foundations

دانلود کتاب Signal Analysis: Wavelets, Filter Banks, Time-Frequency Transforms and Applications

کتاب های تکنولوژی

دانلود کتاب Lipid Nanocarriers in Cancer Diagnosis and Therapy

دانلود کتاب Microcontrollers in Practice

دانلود کتاب Popular Woodworking - Complete Book of Tips, Tricks & Techniques

دانلود کتاب Safety, Reliability and Risk Analysis: Theory, Methods and Applications, 3rd Edition (4 Volumes)

دانلود کتاب Restoring Antiques

کتاب های مذهبی

دانلود کتاب The World's Great Philosophers

دانلود کتاب Heart of Islam, The: Enduring Values for Humanity

دانلود کتاب He Chose the Nails: What God Did to Win Your Heart

دانلود کتاب Confucianism

دانلود کتاب Jesus and the Spirit: A Study of the Religious and Charismatic Experience of Jesus and the First Christians as Reflected in the New Testamen: A Study ... Christians as Reflected in the New Testament

کتاب های فیزیولوژی

دانلود کتاب Mathematics for Teachers: An Interactive Approach for Grade K-8 , Fourth Edition

دانلود کتاب Simulation and Gaming for Mathematical Education: Epistemology and Teaching Strategies

دانلود کتاب Therapielexikon Psychiatrie, Psychosomatik, Psychotherapie

دانلود کتاب The Ultimate Teaching Manual: A Route to Success for Beginning Teachers

دانلود کتاب The Body Myth: Adult Women and the Pressure to be Perfect

کتاب های تاریخی

دانلود کتاب Wars of National Liberation

دانلود کتاب ЕГЭ-2009. История. Тренировочный персональный комплект экзаменационных материалов

دانلود کتاب Wehrmacht auxiliary forces

دانلود کتاب Paras Versus the Reich: Canada's Paratroopers at War, 1942-45

دانلود کتاب History of Warfare: War In The Air 1914-45

کتاب های زیست شناسی

دانلود کتاب German Heavy Cruisers 1939-45

دانلود کتاب Life: The Science of Biology, 9th Edition

دانلود کتاب Tiny Yarn Animals: Amigurumi Friends to Make and Enjoy

دانلود کتاب Biological Petri Nets - Volume 162 Studies in Health Technology and Informatics

دانلود کتاب Botanical Medicine: From Bench to Bedside

کتاب های اقتصاد

دانلود کتاب Essentials of Strategic Management

دانلود کتاب Contemporary Marketing

دانلود کتاب Management Accounting

دانلود کتاب Analog Integrated Circuits-Power management Signal conditioning and ASSP

دانلود کتاب The Economist - 19 May 2001

کتاب های آموزشی

دانلود کتاب The Complete Idiot's Guide to Global Economics

دانلود کتاب Proceedings 10th international congress of world equine veterinary association /Сборник материалов 10-го всемирного конского конгресса

دانلود کتاب Modern naval combat

دانلود کتاب Modern Land Combat

دانلود کتاب Method of Discrete Vortices

کتاب های حقوق

دانلود کتاب British Government and the Constitution: Text and Materials (Law in Context)

دانلود کتاب The Right Not to be Criminalized (Applied Legal Philosophy)

دانلود کتاب Making People Illegal: What Globalization Means for Migration and Law (Law in Context)

دانلود کتاب From Nuremberg to The Hague: The Future of International Criminal Justice

دانلود کتاب Inside Gitmo: The True Story Behind the Myths of Guantanamo Bay

کتاب های علوم انسانی

دانلود کتاب Culture, Class, Distinction

دانلود کتاب In His Own Write

دانلود کتاب Political Communication Bundle: An Introduction to Political Communication (Communication and Society)

دانلود کتاب Analysing Muslim Traditions (Islamic History and Civilization)

دانلود کتاب The Democracy Deficit: Taming Globalization Through Law Reform