NSHipster_ Obscure Topics in Cocoa & Obj.epub - (EPUB全文下载)

文件大小:3.26 mb。
文件格式:epub 格式。
书籍内容:

Mattt Thompson
NSHipster: Obscure Topics In Cocoa & Objective-C

Copyright © 2013 Mattt Thompson
All rights reserved
Illustrated by Conor Heelan
ISBN 978-0-9912182-0-2
NSHipster
Portland, Oregon
http://nshipster.com
Table of Contents
Objective-C
#pragma
nil / Nil /
NULL / NSNull
BOOL / bool /
Boolean / NSCFBoolean
Equality
Type Encodings
C Storage Classes
@
__attribute__
instancetype
NS_ENUM &
NS_OPTIONS
Foundation & CoreFoundation
Key-Value Coding
Collection Operators
Key-Value Observing
NSError
NSOperation
NSSortDescriptor
NSPredicate
NSExpression
NSFileManager
NSValue
NSValueTransformer
NSDataDetector
CFBag
NSCache
NSIndexSet
NSOrderedSet
NSHashTable &
NSMapTable
UIKit
UIMenuController
UILocalizedIndexedCollation
UIAppearance
Localization, Internationalization & Accessibility
NSLocale
NSLocalizedString
UIAccessibility
NSFormatter
CFStringTransform
NSLinguisticTagger
API Design
The Law of Demeter
The Principle of
Least Surprise
Naming
Community
Stewardship
Empathy
Introduction
To be an NSHipster is to care deeply about the craft of writing code. In cultivating a deep understanding and appreciation of Objective-C, its frameworks and ecosystem, one is able to create apps that delight and inspire users.
This book takes a structured approach to learning Objective-C development, starting from the language and system frameworks, and moving onto high-level concerns, like internationalization, design, and community. It is as much a technical manual as it is a meditation on the practice of coding.
I hope that by reading this, you will share in the excitement of discovering new insights, and taking pride in your work.
Objective-C
#pragma declarations are a mark of craftsmanship in Objective-C. Although originally used to make source code portable across different compilers, the Xcode-savvy coder uses #pragma declarations to very different ends.
In this modern context, #pragma skirts the line between comment and code. As a preprocessor directive, #pragma evaluates at compile-time, but unlike other macros, #pragma is not used to change the runtime behavior of an application. Instead, #pragma declarations are used by Xcode to accomplish two primary tasks: organizing code and inhibiting compiler warnings.
Organizing Your Code
Code organization is a matter of hygiene. How you structure your code is a reflection on you and your work. A lack of convention and internal consistency indicates either carelessness or incompetence—and worse, makes a project difficult t ............

书籍插图:
书籍《NSHipster_ Obscure Topics in Cocoa & Obj.epub》 - 插图1
书籍《NSHipster_ Obscure Topics in Cocoa & Obj.epub》 - 插图2

以上为书籍内容预览,如需阅读全文内容请下载EPUB源文件,祝您阅读愉快。

版权声明:书云(openelib.org)是世界上最大的在线非盈利图书馆之一,致力于让每个人都能便捷地了解我们的文明。我们尊重著作者的知识产权,如您认为书云侵犯了您的合法权益,请参考版权保护声明,通过邮件openelib@outlook.com联系我们,我们将及时处理您的合理请求。 数研咨询 流芳阁 研报之家 AI应用导航 研报之家
书云 Open E-Library » NSHipster_ Obscure Topics in Cocoa & Obj.epub - (EPUB全文下载)