This is a review / summary of the Galloway book (52 ways to improve iOS program)

1. Basics

  1. Message
  2. Import
  3. Literal
  4. Constants
  5. Enum

2. Runtime

  1. Properties
  2. iVars
  3. Equal
  4. Cluster
  5. Associated
  6. msgSend
  7. Forwarding
  8. Swizzling
  9. Class

3. Design

  1. Prefix
  2. Init
  3. description
  4. Immutable
  5. Naming
  6. Method
  7. Error
  8. NSCopying

4. Categories

  1. DataSource
  2. Segments
  3. Third-party
  4. No-properties
  5. Class-Continuation
  6. Anonymous

5. Memory

  1. Reference Counting
  2. ARC
  3. Release
  4. Exception-safe
  5. Weak
  6. Autorelease
  7. Zombies
  8. retainCount

6. Blocks + GCD

  1. Blocks
  2. Common Block Types
  3. Handler Blocks
  4. Avoid Retain Cycle
  5. Dispatch Queues
  6. GCD (!performSelector)
  7. OperationQueues
  8. Dispatch Groups
  9. dispatch_once
  10. dispatch_get_current_queue

7. System Frameworks

  1. System
  2. Block Enumeration
  3. Toll-Free Bridging
  4. NSCache (!NSDictionary)
  5. Lean init
  6. NSTimer retains

 6.1 Understand Block

Advertisements