Home > Computing and Information Technology > Computer hardware > Personal computers > Macintosh > Effective Objective-C 2.0: 52 Specific Ways to Improve Your iOS and OS X Programs
26%
Effective Objective-C 2.0: 52 Specific Ways to Improve Your iOS and OS X Programs

Effective Objective-C 2.0: 52 Specific Ways to Improve Your iOS and OS X Programs

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

Write Truly Great iOS and OS X Code with Objective-C 2.0!   Effective Objective-C 2.0 will help you harness all of Objective-C’s expressive power to write OS X or iOS code that works superbly well in production environments. Using the concise, scenario-driven style pioneered in Scott Meyers’ best-selling Effective C++, Matt Galloway brings together 52 Objective-C best practices, tips, shortcuts, and realistic code examples that are available nowhere else.   Through real-world examples, Galloway uncovers little-known Objective-C quirks, pitfalls, and intricacies that powerfully impact code behavior and performance. You’ll learn how to choose the most efficient and effective way to accomplish key tasks when multiple options exist, and how to write code that’s easier to understand, maintain, and improve. Galloway goes far beyond the core language, helping you integrate and leverage key Foundation framework classes and modern system libraries, such as Grand Central Dispatch.   Coverage includes Optimizing interactions and relationships between Objective-C objects Mastering interface and API design: writing classes that feel “right at home” Using protocols and categories to write maintainable, bug-resistant code Avoiding memory leaks that can still occur even with Automatic Reference Counting (ARC) Writing modular, powerful code with Blocks and Grand Central Dispatch Leveraging differences between Objective-C protocols and multiple inheritance in other languages Improving code by more effectively using arrays, dictionaries, and sets Uncovering surprising power in the Cocoa and Cocoa Touch frameworks

Table of Contents:
Preface    xi Acknowledgments    xv About the Author    xvii   Chapter 1: Accustoming Yourself to Objective-C 1 Item 1: Familiarize Yourself with Objective-C’s Roots  1 Item 2: Minimize Importing Headers in Headers  4 Item 3: Prefer Literal Syntax over the Equivalent Methods  8 Item 4: Prefer Typed Constants to Preprocessor #define  12 Item 5: Use Enumerations for States, Options, and Status Codes  17   Chapter 2: Objects, Messaging, and the Runtime    25 Item 6: Understand Properties  25 Item 7: Access Instance Variables Primarily Directly When Accessing Them Internally  33 Item 8: Understand Object Equality  36 Item 9: Use the Class Cluster Pattern to Hide Implementation Detail  42 Item 10: Use Associated Objects to Attach Custom Data to Existing Classes  47 Item 11: Understand the Role of objc_msgSend  50 Item 12: Understand Message Forwarding  54 Item 13: Consider Method Swizzling to Debug Opaque Methods  62 Item 14: Understand What a Class Object Is  66   Chapter 3: Interface and API Design    73 Item 15: Use Prefix Names to Avoid Namespace Clashes  73 Item 16: Have a Designated Initializer  78 Item 17: Implement the description Method  84 Item 18: Prefer Immutable Objects  89 Item 19: Use Clear and Consistent Naming  95 Item 20: Prefix Private Method Names  102 Item 21: Understand the Objective-C Error Model  104 Item 22: Understand the NSCopying Protocol  109   Chapter 4: Protocols and Categories    115 Item 23: Use Delegate and Data Source Protocols for Interobject Communication  115 Item 24: Use Categories to Break Class Implementations into Manageable Segments  123 Item 25: Always Prefix Category Names on Third-Party Classes  127 Item 26: Avoid Properties in Categories  130 Item 27: Use the Class-Continuation Category to Hide Implementation Detail  133 Item 28: Use a Protocol to Provide Anonymous Objects  140   Chapter 5: Memory Management    145 Item 29: Understand Reference Counting  145 Item 30: Use ARC to Make Reference Counting Easier  153 Item 31: Release References and Clean Up Observation State Only in dealloc  162 Item 32: Beware of Memory Management with Exception-Safe Code  165 Item 33: Use Weak References to Avoid Retain Cycles  168 Item 34: Use Autorelease Pool Blocks to Reduce High-Memory Waterline  173 Item 35: Use Zombies to Help Debug Memory-Management Problems  177 Item 36: Avoid Using retainCount  183   Chapter 6: Blocks and Grand Central Dispatch 187 Item 37: Understand Blocks  188 Item 38: Create typedefs for Common Block Types  194 Item 39: Use Handler Blocks to Reduce Code Separation  197 Item 40: Avoid Retain Cycles Introduced by Blocks Referencing the Object Owning Them  203 Item 41: Prefer Dispatch Queues to Locks for Synchronization  208 Item 42: Prefer GCD to performSelector and Friends  213 Item 43: Know When to Use GCD and When to Use Operation Queues  217 Item 44: Use Dispatch Groups to Take Advantage of Platform Scaling  220 Item 45: Use dispatch_once for Thread-Safe Single-Time Code Execution  225 Item 46: Avoid dispatch_get_current_queue  226   Chapter 7: The System Frameworks    233 Item 47: Familiarize Yourself with the System Frameworks  233 Item 48: Prefer Block Enumeration to for Loops  236 Item 49: Use Toll-Free Bridging for Collections with Custom Memory-Management Semantics  243 Item 50: Use NSCache Instead of NSDictionary for Caches  248 Item 51: Keep initialize and load Implementations Lean  252 Item 52: Remember that NSTimer Retains Its Target  258   Index 265  


Best Sellers


Product Details
  • ISBN-13: 9780321917010
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison-Wesley Educational Publishers Inc
  • Depth: 13
  • Language: English
  • Returnable: N
  • Spine Width: 16 mm
  • Weight: 604 gr
  • ISBN-10: 0321917014
  • Publisher Date: 30 May 2013
  • Binding: Paperback
  • Height: 230 mm
  • No of Pages: 320
  • Series Title: Effective Software Development Series
  • Sub Title: 52 Specific Ways to Improve Your iOS and OS X Programs
  • Width: 178 mm


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
Effective Objective-C 2.0: 52 Specific Ways to Improve Your iOS and OS X Programs
Pearson Education (US) -
Effective Objective-C 2.0: 52 Specific Ways to Improve Your iOS and OS X Programs
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Effective Objective-C 2.0: 52 Specific Ways to Improve Your iOS and OS X Programs

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA