Mastering Objective-C : A Beginner's Guide
معرفی کتاب «Mastering Objective-C : A Beginner's Guide» نوشتهٔ Sufyan Bin Uzayr، منتشرشده توسط نشر CRC Press LLC در سال 2023. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است. «Mastering Objective-C : A Beginner's Guide» در دستهٔ بدون دستهبندی قرار دارد.
Mastering Objective C is a detailed guide for beginners that gives a modern programmer's viewpoint on Objective-C. It introduces the principles of Objective-C and current Apple programming skills and libraries allowing the reader to make the best use of the tools available. Concise and easy to understand, this book covers many topics including, introduction to key concepts of language, primary toolkits, as well as the Foundation and AppKit frameworks to help quickly advance with the necessary information. This book explains how to structure applications properly and organize code for optimum performance. The fundamental principles explained here are helpful for beginner and volunteer users interested in learning this highly technological and diverse language Cover 1 Half Title 2 Series Page 3 Title Page 4 Copyright Page 5 Dedication 6 Contents 8 About the Editor 14 Acknowledgments 15 Zeba Academy – Mastering Computer Science 16 Chapter 1: Objective-C Overview 18 WHY CHOOSE OBJECTIVE-C? 19 ADVANTAGES AND DISADVANTAGES 20 Advantages 20 Disadvantages 20 FACTORS TO CONSIDER 20 DIFFERENTIATING OBJECTIVE-C FROM C++ 21 DIFFERENTIATING OBJECTIVE-C VERSUS SWIFT 21 FRAMEWORK FOR THE FOUNDATION 22 LEARNING OBJECTIVE-C 22 USING OBJECTIVE-C 22 OBJECT-ORIENTED PROGRAMMING 22 INSTANCE, OBJECT, AND CLASS 23 RETURN TO THE CUSTOMIZE TABLE CELL 23 MAKING THE RECIPE CLASS 25 Set up the Array of Recipe Objects 26 A Recipes Array Is Replacing TableData 29 WHAT DOES A COMPILER DO? 30 PREPROCESSING 31 CUSTOM MACROS 32 TOKENIZATION (LEXING) 34 PARSING 35 STATIC ANALYSIS 37 TYPE CHECKING 37 OTHER ANALYSES 38 CREATING CODE 38 OPTIMIZATIONS 40 OBJECTIVE-C DEVELOPERS’ C# PRIMER 42 INTEROP OBJECTIVE-C 42 COMPARISON OF LANGUAGES 43 INTERFACES VS. PROTOCOLS 43 EXTENSION METHODS VS CATEGORIES 43 ASSEMBLIES VS. FRAMEWORKS 43 NAMED PARAMETERS VS. SELECTORS 44 NAMESPACES AND HEADERS 44 PROPERTIES 44 STATIC KEYWORD 44 LIST VS NSARRAY INITIALIZATION 45 LAMBDA EXPRESSIONS VS BLOCKS 45 NOTES 45 Chapter 2: Environment Setup and Program Structure 46 CONFIGURING THE OBJECTIVE-C ENVIRONMENT 46 CONFIGURATION OF THE LOCAL ENVIRONMENT 46 EDITOR OF TEXT 47 GCC COMPILER 47 UNIX/LINUX INSTALLATION 47 Mac OS INSTALLATION 49 LAUNCHING Xcode 49 WINDOWS INSTALLATION 50 STRUCTURE OF THE OBJECTIVE-C PROGRAM 51 Objective-C Example of Hello Everyone 51 USING Xcode TO CREATE AN OBJECTIVE-C APPLICATION 52 USING THE COMMAND LINE TO COMPILE OBJECTIVE-C 53 FILENAME EXTENTION 54 USING THE TERMINAL 57 FIRST PROGRAM’S EXPLANATION 59 DISPLAYING THE VALUES OF VARIABLES 63 CLASSES, OBJECTS, AND METHODS 66 WHAT EXACTLY IS AN OBJECT? 66 INSTANCES AND METHODS 66 AN OBJECTIVE-C CLASS FOR THE WORKING WITH FRACTIONS 69 @interface SECTION 71 CLASS AND INSTANCE METHODS 74 RETURN VALUES 74 METHOD ARGUMENTS 75 THE @implementation SECTION 76 PROGRAM SECTION 78 ACCESSING INSTANCE VARIABLES AND DATA ENCAPSULATION 83 NOTE 87 Chapter 3: Basic Syntax 88 OBJECTIVE-C TOKENS 88 SEMICOLONS; 89 COMMENTS 89 IDENTIFIERS 89 KEYWORDS 89 WHITESPACE IN OBJECTIVE-C 90 DATA TYPES 90 TYPES OF INTEGERS 91 TYPES OF FLOATING-POINT 92 VOID TYPE 92 VARIABLES IN OBJECTIVE-C 93 VARIABLE DEFINITION 93 VARIABLE DECLARATION 94 LVALUES AND RVALUES 96 CONSTANTS IN OBJECTIVE-C 96 INTEGER LITERALS 96 FLOATING-POINT LITERALS 97 CHARACTER CONSTANTS 97 STRING LITERALS 98 CONSTANT DEFINITION 98 #define Preprocessor 99 const Keyword 99 Chapter 4: Data Types 100 DATA TYPES AND CONSTANTS 100 TYPE int 101 TYPE float 101 TYPE char 102 QUALIFIERS: long, long long, short, unsigned, and signed 103 TYPE id 103 THE void TYPE 104 Chapter 5: Variables 105 OBJECTIVE-C VARIABLE DEFINITION 106 OBJECTIVE-C VARIABLE DECLARATION 107 OBJECTIVE-C LVALUES AND RVALUES 108 Chapter 6: Constants 109 CONSTANTS IN OBJECTIVE-C 109 INTEGER LITERALS 110 FLOATING-POINT LITERALS 110 CHARACTER CONSTANTS 111 STRING LITERALS 111 CONSTANT DEFINITION 112 #define Preprocessor 112 const Keyword 112 Chapter 7: Operators 114 ARITHMETIC OPERATORS IN OBJECTIVE-C 115 OPERATOR PRECEDENCE 115 UNARY MINUS OPERATOR AND INTEGER ARITHMETIC 117 THE MODULUS OPERATOR 119 INTEGER AND FLOATING-POINT CONVERSIONS 120 TYPE CAST OPERATOR 122 RELATIONAL OPERATORS 123 LOGICAL OPERATORS IN OBJECTIVE-C 123 BITWISE OPERATORS 124 ASSIGNMENT OPERATORS 125 MISC OPERATORS ↦ SIZEOF & TERNARY 126 OPERATORS’ PRECEDENCE IN THE OBJECTIVE-C 126 CALCULATOR CLASS 127 Chapter 8: Loops and Control Statement 130 THE for Statement 132 RELATIONAL OPERATORS 133 KEYBOARD INPUT 138 Nested for Loops 139 for Loop Variants 140 THE while Statement 142 THE do Statement 146 do-while Loop 147 THE break Statement 148 continue Statement 148 Chapter 9: Decision Making 149 THE if Statement 150 THE if-else CONSTRUCT 154 COMPOUND RELATIONAL TESTS 156 Nested if Statements 159 THE else if Construct 161 THE switch Statement 168 BOOLEAN VARIABLES 171 THE CONDITIONAL OPERATOR 176 Chapter 10: Functions 178 FUNCTIONS IN OBJECTIVE-C 178 CREATING A METHOD 179 DECLARATIONS OF METHOD 180 CALLING A METHOD 180 FUNCTION ARGUMENTS 182 APPRAISAL 183 BIBLIOGRAPHY 235 INDEX 240 Programming;,Coding,Language;,Objective,C;,Applications;,Coding Programming,Coding Language,Objective C,Applications,Coding Mastering Objective-C is a detailed guide for beginners that gives a modern programmer's viewpoint on Objective-C. It introduces the principles of Objective-C and current Apple programming skills and libraries allowing the reader to make the best use of the tools available. Concise and easy to understand, this book covers many topics including, an introduction to key concepts of language and primary toolkits, as well as the Foundation and AppKit frameworks to help quickly advance with the necessary information. This book explains how to structure applications properly and organize code for optimum performance. The fundamental principles explained here are helpful to beginner and intermediate users interested in learning this highly technological and diverse language.
دانلود کتاب Mastering Objective-C : A Beginner's Guide