Transitioning to Swift /
Developing apps for Apple?s broadening platform of devices is an exciting topic these days. Apple created the Swift programming language to build state-of-the-art apps using the latest Apple technologies. In this 200-page book, author Scott Gardner articulates the similarities and differences betwee...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Berkeley, CA :
Apress,
2014.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- At a Glance; Contents; About the Author; About the Technical Reviewer; Acknowledgments; Who This Book Is For; Chapter 1: Getting Started; Installing Xcode; Creating a Playground; Running a REPL; Logging to the Console; Adding Comments; Using Dot Notation; Summary; Chapter 2: Declaring Variables and Constants; Value Types and Reference Types; Named Types and Compound Types; Naming; Mutability; Declaring Type; Defining Type; Declaration Attributes; @, *, and ; ; Declaring Values; Writing Numeric Literals; Access Control; Protocol Adoption; nil and Optionals; Syntax Reference; Summary.
- Chapter 3: Working with Strings and CollectionsWorking with Strings; Creating Tuples and Collections; Creating Tuples; Creating Arrays; Creating Dictionaries; Mutability; Multidimensional Tuples and Collections; Working with Tuples and Collections; Working with Tuples; Working with Arrays; Working with Dictionaries; Syntax Reference; Summary; Chapter 4: Performing Operations; Basic Operators; Logical Operators; Bitwise Operators; Advanced Operators; Operator Precedence and Associativity; Summary; Chapter 5: Controlling Program Flow; Range Operators; stride() Functions.
- Control Transfer StatementsConditional Statements; Iteration and Enumeration; Labels; Summary; Chapter 6: Creating Functions; Methods & Functions; Currying; Overloading; Custom Operators; Blocks and Closure Expressions; Declaration and Type Attributes; Summary; Chapter 7: Constructing Classes, Structures, and Enumerations; Naming Conventions; Classes and Structures; Classes; Structures; Enumerations; Initialization; Class Initialization; Structure Initialization; Enumeration Initilialization; Failable Initializers; Properties; Enumeration Associated Values; Subscripts; Methods.
- Declaration and Type AttributesClass Deinitialization; Avoiding Strong Reference Cycles; Singletons; Selection Guidelines; Summary; Chapter 8: Defining and Adopting Protocols; Use Cases; Naming; Defining; Adopting; Type Checking and Casting; Summary; Chapter 9: Subclassing and Extending; Subclassing; Initializer Inheritance; Overriding; Deinitializer Inheritance; Extending; Protocol Adoption Via An Extension; Summary; Chapter 10: Controlling Access; Access Control Compared; Assigning Access Levels; Summary; Chapter 11: Generic Programming; Specific versus Generic; Syntax; Functions and Types.
- Where Clauses and Protocol Associated TypesUsage Examples; Summary; Index.