Learn Swift by Building Applications : Explore Swift programming through iOS app development.
Swift Language is now more powerful than ever; it has introduced new ways to solve old problems and has gone on to become one of the fastest growing popular languages. It is now a de-facto choice for iOS developers and it powers most of the newly released and popular apps. This practical guide will...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing,
2018.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Title Page; Copyright and Credits; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Swift Basics
- Variables and Functions; Variables; Optional types; Enumeration types; Basic flow statements; The if statements
- how to control the code flow; Loops; The while loops; The switch statement; Functions; What is a tuple?; What is the guard statement?; How to tackle huge problems
- bottom-up versus top-down; Summary; Chapter 2: Getting Familiar with Xcode and Playgrounds; Installing Xcode; Exploring Xcode; What do we see on the screen?; Toolbar; Menu.
- The Navigator panel (located to the left)The Debug panel (located at the bottom); The Utilities panel (located to the right); Xcode preferences window; Playground; What is a playground?; Let's add some code; How to add auxiliary code to a playground; How to add resource to a playground; Converting a playground to a workspace; Markup in playgrounds; Different items in the markup language; Basic markup items; Summary; Chapter 3: Creating a Minimal Mobile App; Your first iOS application; Project structure; AppDelegate; Application states; ViewController; Git; Summary.
- Chapter 4: Structures, Classes, and InheritanceStructures and classes; Extensions; The deinit method; Type properties and functions; Adding custom data types to a playground; Inheritance; Base class; Class properties; Model-View-Controller (MVC); Summary; Chapter 5: Adding Interactivity to Your First App; Storyboards; Visual components; Adding items to the storyboard; Linking the UI with the code; General discussion; Summary; Chapter 6: How to Use Data Structures, OOP, and Protocols; Primary collection types; Generics; Array; Set; Dictionary; How to choose the best collection type.
- List of items in a playgroundUICollectionView; UICollectionViewCell; Reusing cells; Layouts; Table view in iOS app; Model list of cities; Displaying all cities; Adding search; Protocols; Protocols and inheritance; Summary; Chapter 7: Developing a Simple Weather App; Defining the app screens; The home screen; Favorite locations; Constraints; Picking a location; Model; Locations; Controllers and segues; The first segue; How to pass data; Passing information in the reverse direction; Defining a custom segue; Further improvements; Summary; Chapter 8: Introducing CocoaPods and Project Dependencies.
- Software
- the modern wayRuby and CocoaPods; How to use it; CocoaPods useful commands; Carthage; Swift Package Manager ; Useful commands; Popular third-party libraries; Alamofire; Texture; RxSwift; Summary; Chapter 9: Improving a Version of a Weather App; Weather forecast API; What's an API?; List of requests; Creating new models; Pure network requests; Alamofire implementation; Improvements using third-party libraries; Better error handling; About the screen; Summary; Chapter 10: Building an Instagram-Like App; Tabbed app project; Firebase; Login; The different screens.