What people are saying about Notes for Professionals books
Great resource for a wide array of topics!
Really nice and condensed collection, thanks to all co-authors
I just download PDF from GoalKicker.com and i look documentation so good and simple.
Very good reference to learn new programming languages. There are books for almost everything
Great collection. Thanks for making them available to the community.
This is really cool! Thanks a lot!
The Objective-C® Notes for Professionals book is compiled from Stack Overflow Documentation, the content is written by the beautiful people at Stack Overflow. Text content is released under Creative Commons BY-SA. See credits at the end of this book whom contributed to the various chapters. Images may be copyright of their respective owners unless otherwise specified
Book created for educational purposes and is not affiliated with Objective-C® group(s), company(s) nor Stack Overflow. All trademarks belong to their respective company owners
129 pages, published on May 2018
Author(s): GoalKicker Books
Series: Programming Notes for Professionals
Publisher: GoalKicker Books
Year: 2018
Language: English
Pages: 129
Tags: Programming, Notes, Objective-C, Professionals
Content list
About
Chapter 1: Getting started with Objective-C Language
Section 1.1: Hello World
Chapter 2: Basic Data Types
Section 2.1: SEL
Section 2.2: BOOL
Section 2.3: id
Section 2.4: IMP (implementation pointer)
Section 2.5: NSInteger and NSUInteger
Chapter 3: Enums
Section 3.1: typedef enum declaration in Objective-C
Section 3.2: Converting C++ std::vector to an Objective-C Array
Section 3.3: Defining an enum
Chapter 4: Structs
Section 4.1: Defining a Structure and Accessing Structure Members
Section 4.2: CGPoint
Chapter 5: Classes and Objects
Section 5.1: Dierence between allocation and initialization
Section 5.2: Creating classes with initialization values
Section 5.3: Specifying Generics
Section 5.4: Singleton Class
Section 5.5: The "instancetype" return type
Chapter 6: Inheritance
Section 6.1: Car is inherited from Vehicle
Chapter 7: Methods
Section 7.1: Class methods
Section 7.2: Pass by value parameter passing
Section 7.3: Pass by reference parameter passing
Section 7.4: Method parameters
Section 7.5: Create a basic method
Section 7.6: Return values
Section 7.7: Calling methods
Section 7.8: Instance methods
Chapter 8: Properties
Section 8.1: Custom getters and setters
Section 8.2: Properties that cause updates
Section 8.3: What are properties?
Chapter 9: Random Integer
Section 9.1: Basic Random Integer
Section 9.2: Random Integer within a Range
Chapter 10: BOOL / bool / Boolean / NSCFBoolean
Section 10.1: BOOL/Boolean/bool/NSCFBoolean
Section 10.2: BOOL VS Boolean
Chapter 11: Continue and Break!
Section 11.1: Continue and Break Statement
Chapter 12: Key Value Coding / Key Value Observing
Section 12.1: Most Common Real Life Key Value Coding Example
Section 12.2: Querying KVC Data
Section 12.3: Collection Operators
Section 12.4: Key Value Observing
Chapter 13: NSString
Section 13.1: Encoding and Decoding
Section 13.2: String Length
Section 13.3: Comparing Strings
Section 13.4: Splitting
Section 13.5: Searching for a Substring
Section 13.6: Creation
Section 13.7: Changing Case
Section 13.8: Removing Leading and Trailing Whitespace
Section 13.9: Joining an Array of Strings
Section 13.10: Formatting
Section 13.11: Working with C Strings
Section 13.12: Reversing a NSString Objective-C
Chapter 14: NSArray
Section 14.1: Creating Arrays
Section 14.2: Accessing elements
Section 14.3: Using Generics
Section 14.4: Reverse an Array
Section 14.5: Converting between Sets and Arrays
Section 14.6: Converting NSArray to NSMutableArray to allow modification
Section 14.7: Looping through
Section 14.8: Enumerating using blocks
Section 14.9: Comparing arrays
Section 14.10: Filtering Arrays With Predicates
Section 14.11: Sorting array with custom objects
Section 14.12: Sorting Arrays
Section 14.13: Filter NSArray and NSMutableArray
Section 14.14: Add objects to NSArray
Section 14.15: Finding out the Number of Elements in an Array
Section 14.16: Creating NSArray instances
Chapter 15: NSMutableArray
Section 15.1: Sorting Arrays
Section 15.2: Creating an NSMutableArray
Section 15.3: Adding elements
Section 15.4: Insert Elements
Section 15.5: Deleting Elements
Section 15.6: Move object to another index
Section 15.7: Filtering Array content with Predicate
Chapter 16: NSDictionary
Section 16.1: Create
Section 16.2: Fast Enumeration
Section 16.3: Creating using literals
Section 16.4: Creating using dictionaryWithObjectsAndKeys:
Section 16.5: NSDictionary to NSArray
Section 16.6: NSDictionary to NSData
Section 16.7: NSDictionary to JSON
Section 16.8: Creating using plists
Section 16.9: Setting a Value in NSDictionary
Section 16.10: Getting a Value from NSDictionary
Section 16.11: Check if NSDictionary already has a key or not
Section 16.12: Block Based Enumeration
Chapter 17: NSMutableDictionary
Section 17.1: NSMutableDictionary Example
Section 17.2: Removing Entries From a Mutable Dictionary
Chapter 18: NSDate
Section 18.1: Convert NSDate that is composed from hour and minute (only) to a full NSDate
Section 18.2: Converting NSDate to NSString
Section 18.3: Creating an NSDate
Section 18.4: Date Comparison
Chapter 19: NSURL
Section 19.1: Create
Section 19.2: Compare NSURL
Section 19.3: Modifying and Converting a File URL with removing and appending path
Chapter 20: NSUrl send a post request
Section 20.1: Simple POST request
Section 20.2: Simple Post Request With Timeout
Chapter 21: NSData
Section 21.1: Create
Section 21.2: NSData and Hexadecimal String
Section 21.3: Get NSData length
Section 21.4: Encoding and decoding a string using NSData Base64
Chapter 22: NSPredicate
Section 22.1: Filter By Name
Section 22.2: Find movies except given ids
Section 22.3: Find all the objects which is of type movie
Section 22.4: Find Distinct object ids of array
Section 22.5: Find movies with specific ids
Section 22.6: Case Insensitive comparison with exact title match
Section 22.7: Case sensitive with exact title match
Section 22.8: Case Insensitive comparison with matching subset
Chapter 23: NSRegularExpression
Section 23.1: Check whether a string matches a pattern
Section 23.2: Find all the numbers in a string
Chapter 24: NSJSONSerialization
Section 24.1: JSON Parsing using NSJSONSerialization Objective-C
Chapter 25: NSCalendar
Section 25.1: System Locale Information
Section 25.2: Initializing a Calendar
Section 25.3: Calendrical Calculations
Chapter 26: NSAttributedString
Section 26.1: Using Enumerating over Attributes in a String and underline part of string
Section 26.2: Creating a string that has custom kerning (letter spacing) editshare
Section 26.3: Create a string with text struck through
Section 26.4: How you create a tri-color attributed string
Chapter 27: NSTimer
Section 27.1: Storing information in the Timer
Section 27.2: Creating a Timer
Section 27.3: Invalidating a timer
Section 27.4: Manually firing a timer
Chapter 28: NSObject
Section 28.1: NSObject
Chapter 29: NSSortDescriptor
Section 29.1: Sorted by combinations of NSSortDescriptor
Chapter 30: NSTextAttachment
Section 30.1: NSTextAttachment Example
Chapter 31: NSCache
Section 31.1: NSCache
Chapter 32: NSUserDefaults
Section 32.1: Simple example
Section 32.2: Clear NSUserDefaults
Chapter 33: Subscripting
Section 33.1: Subscripts with NSArray
Section 33.2: Custom Subscripting
Section 33.3: Subscripts with NSDictionary
Chapter 34: Low-level Runtime Environment
Section 34.1: Augmenting methods using Method Swizzling
Section 34.2: Attach object to another existing object (association)
Section 34.3: Calling methods directly
Chapter 35: Fast Enumeration
Section 35.1: Fast enumeration of an NSArray with index
Section 35.2: Fast enumeration of an NSArray
Chapter 36: Categories
Section 36.1: Conforming to protocol
Section 36.2: Simple Category
Section 36.3: Declaring a class method
Section 36.4: Adding a property with a category
Section 36.5: Create a Category on XCode
Chapter 37: Protocols
Section 37.1: Optional and required methods
Section 37.2: Checking existence of optional method implementations
Section 37.3: Forward Declarations
Section 37.4: Conforming to Protocols
Section 37.5: Basic Protocol Definition
Section 37.6: Check conforms Protocol
Chapter 38: Protocols and Delegates
Section 38.1: Implementation of Protocols and Delegation mechanism
Chapter 39: Blocks
Section 39.1: Block Typedefs
Section 39.2: Blocks as Properties
Section 39.3: Blocks as local variables
Section 39.4: Blocks as Method Parameters
Section 39.5: Defining and Assigning
Chapter 40: XML parsing
Section 40.1: XML Parsing
Chapter 41: Declare class method and instance method
Section 41.1: How to declare class method and instance method
Chapter 42: Predefined Macros
Section 42.1: Predefined Macros
Chapter 43: Grand Central Dispatch
Section 43.1: What is Grand central dispatch
Chapter 44: Format-Specifiers
Section 44.1: Integer Example - %i
Chapter 45: Logging
Section 45.1: Logging
Section 45.2: NSLog Output Format
Section 45.3: Removing Log Statements from Release Builds
Section 45.4: Logging Variable Values
Section 45.5: Empty message is not printed
Section 45.6: Using __FUNCTION __
Section 45.7: NSLog vs printf
Section 45.8: Logging NSLog meta data
Section 45.9: NSLog and BOOL type
Section 45.10: Logging by Appending to a File
Chapter 46: Error Handling
Section 46.1: Error & Exception handling with try catch block
Section 46.2: Asserting
Chapter 47: Modern Objective-C
Section 47.1: Literals
Section 47.2: Container subscripting
Chapter 48: Singletons
Section 48.1: Using Grand Central Dispatch (GCD)
Section 48.2: Creating Singleton and also preventing it from having multiple instance using alloc/init, new
Section 48.3: Creating Singleton class and also preventing it from having multiple instances using alloc/init
Chapter 49: Multi-Threading
Section 49.1: Creating a simple thread
Section 49.2: Create more complex thread
Section 49.3: Thread-local storage
Chapter 50: Unit testing using Xcode
Section 50.1: Note:
Section 50.2: Testing a block of code or some method:
Section 50.3: Testing asynchronous block of code:
Section 50.4: Measuring Performance of a block of code:
Section 50.5: Running Test Suits:
Chapter 51: Memory Management
Section 51.1: Memory management rules when using manual reference counting
Section 51.2: Automatic Reference Counting
Section 51.3: Strong and weak references
Section 51.4: Manual Memory Management
Credits
You may also like