注冊 | 登錄讀書好,好讀書,讀好書!
讀書網(wǎng)-DuShu.com
當(dāng)前位置: 首頁出版圖書科學(xué)技術(shù)計(jì)算機(jī)/網(wǎng)絡(luò)計(jì)算機(jī)組織與體系結(jié)構(gòu)Effective Objective-C 2.0:編寫高質(zhì)量iOS與OS X代碼的52個有效方法(英文版)

Effective Objective-C 2.0:編寫高質(zhì)量iOS與OS X代碼的52個有效方法(英文版)

Effective Objective-C 2.0:編寫高質(zhì)量iOS與OS X代碼的52個有效方法(英文版)

定 價(jià):¥75.00

作 者: (美)Matt Galloway(馬特·加洛韋)
出版社: 電子工業(yè)出版社
叢編項(xiàng):
標(biāo) 簽: 程序設(shè)計(jì) 計(jì)算機(jī)/網(wǎng)絡(luò)

ISBN: 9787121272639 出版時(shí)間: 2016-03-01 包裝: 平塑
開本: 頁數(shù): 304 字?jǐn)?shù):  

內(nèi)容簡介

  本書不是在講 Objective-C 語言的基礎(chǔ)知識,而是要講如何高效運(yùn)用這門語言。全書共分 7 章,從7 個方面總結(jié)和探討了 Objective-C 編程中 52 個鮮為人知又容易被忽視的特性。第 1 章從整體上講解Objective-C 的核心概念;第 2 章講述了與面向?qū)ο笳Z言的重要特征(對象、消息和運(yùn)行期)相關(guān)的行為;第 3 章介紹了如何編寫適合與 Objective-C 搭配的類;第 4 章講述協(xié)議與分類相關(guān)的技巧;第 5 章介紹內(nèi)存管理的注意事項(xiàng);第 6 章介紹塊與大中樞派發(fā)(Grand Central Dispatch)相關(guān)的技巧;第 7 章總覽了 Cocoa 和 Cocoa Touch 系統(tǒng)框架,并深入研究了其中的某些類。

作者簡介

 ?。溃㎝att Galloway(馬特·加洛韋)影印版,無譯者。

圖書目錄

前言致謝關(guān)于作者Chapter 1: Accustoming Yourself to Objective-CItem 1: Familiarize Yourself with Objective-C’s RootsItem 2: Minimize Importing Headers in HeadersItem 3: Prefer Literal Syntax over the Equivalent MethodsItem 4: Prefer Typed Constants to Preprocessor #defineItem 5: Use Enumerations for States, Options, and Status CodesChapter 2: Objects, Messaging, and the RuntimeItem 6: Understand PropertiesItem 7: Access Instance Variables Primarily Directly WhenAccessing Them InternallyItem 8: Understand Object EqualityItem 9: Use the Class Cluster Pattern to Hide Implementation DetailItem 10: Use Associated Objects to Attach Custom Data to Existing ClassesItem 11: Understand the Role of objc_msgSendItem 12: Understand Message ForwardingItem 13: Consider Method Swizzling to Debug Opaque MethodsItem 14: Understand What a Class Object IsChapter 3: Interface and API DesignItem 15: Use Prefix Names to Avoid Namespace ClashesItem 16: Have a Designated InitializerItem 17: Implement the description MethodItem 18: Prefer Immutable ObjectsItem 19: Use Clear and Consistent NamingItem 20: Prefix Private Method NamesItem 21: Understand the Objective-C Error ModelItem 22: Understand the NSCopying ProtocolChapter 4: Protocols and CategoriesItem 23: Use Delegate and Data Source Protocols for Interobject CommunicationItem 24: Use Categories to Break Class Implementations into Manageable SegmentsItem 25: Always Prefix Category Names on Third-Party ClassesItem 26: Avoid Properties in CategoriesItem 27: Use the Class-Continuation Category to Hide Implementation DetailItem 28: Use a Protocol to Provide Anonymous ObjectsChapter 5: Memory ManagementItem 29: Understand Reference CountingItem 30: Use ARC to Make Reference Counting EasierItem 31: Release References and Clean Up Observation State Only in deallocItem 32: Beware of Memory Management with Exception-Safe CodeItem 33: Use Weak References to Avoid Retain CyclesItem 34: Use Autorelease Pool Blocks to Reduce High-Memory WaterlineItem 35: Use Zombies to Help Debug Memory-Management ProblemsItem 36: Avoid Using retainCountChapter 6: Blocks and Grand Central DispatchItem 37: Understand BlocksItem 38: Create typedefs for Common Block TypesItem 39: Use Handler Blocks to Reduce Code SeparationItem 40: Avoid Retain Cycles Introduced by Blocks Referencing the Object Owning ThemItem 41: Prefer Dispatch Queues to Locks for SynchronizationItem 42: Prefer GCD to performSelector and FriendsItem 43: Know When to Use GCD and When to Use Operation QueuesItem 44: Use Dispatch Groups to Take Advantage of Platform ScalingItem 45: Use dispatch_once for Thread-Safe Single-Time Code ExecutionItem 46: Avoid dispatch_get_current_queueChapter 7: The System FrameworksItem 47: Familiarize Yourself with the System FrameworksItem 48: Prefer Block Enumeration to for LoopsItem 49: Use Toll-Free Bridging for Collections with Custom Memory-Management SemanticsItem 50: Use NSCache Instead of NSDictionary for CachesItem 51: Keep initialize and load Implementations LeanItem 52: Remember that NSTimer Retains Its TargetIndex

本目錄推薦

掃描二維碼
Copyright ? 讀書網(wǎng) ranfinancial.com 2005-2020, All Rights Reserved.
鄂ICP備15019699號 鄂公網(wǎng)安備 42010302001612號