3 options
Learn Swift by building applications : explore Swift programming through iOS app development / Emil Atanasov.
- Format:
- Book
- Author/Creator:
- Atanasov, Emil, author.
- Language:
- English
- Subjects (All):
- iOS (Electronic resource).
- Swift (Computer program language).
- Application software--Development.
- Application software.
- Physical Description:
- 1 online resource (1 volume) : illustrations
- Edition:
- 1st edition
- Place of Publication:
- Birmingham ; Mumbai : Packt, 2018.
- System Details:
- text file
- Biography/History:
- Scalzo Giordano: Giordano Scalzo is a developer with 20 years of programming experience, since the days of ZX Spectrum. He has worked in Swift, Objective-C, C/C++, Java, .Net, Ruby, Python, and in a ton of other languages that he has forgotten the names of. After years of backend development, over the past 10 years, Giordano has developed extensively for iOS, releasing more than 20 appsapps that he wrote for clients, enterprise applications, or on his own. He is currently a Tech Lead Consultant in London, where he leads mobile digital transformations through his company, Effective Code Ltd. Atanasov Emil: Emil Atanasov is an IT consultant who has extensive experience with mobile technologies. He started working in the field of mobile development in 2006. He runs his own contracting and consulting company, serving clients from around the worldAppose Studio Inc. He is an MSc graduate from RWTH Aachen University, Germany, and Sofia University "St. Kliment Ohridski", Bulgaria. He has been a contractor for several large companies in the US and UK, serving variously as team leader, project manager, iOS developer, and Android developer.
- Summary:
- Start building your very own mobile apps with this comprehensive introduction to Swift and object-oriented programming About This Book A complete beginner's guide to Swift programming language Understand core Swift programming concepts and techniques for creating popular iOS apps Start your journey toward building mobile app development with this practical guide Who This Book Is For This book is for beginners who are new to Swift or may have some preliminary knowledge of Objective-C. If you are interested in learning and mastering Swift in Apple's ecosystem, namely mobile development, then this book is for you. What You Will Learn Become a pro at iOS development by creating simple-to-complex iOS mobile applications Master Playgrounds, a unique and intuitive approach to teaching Xcode Tackle the basics, including variables, if clauses, functions, loops and structures, classes, and inheritance Model real-world objects in Swift and have an in-depth understanding of the data structures used, along with OOP concepts and protocols Use CocoaPods, an open source Swift package manager to ease your everyday developer requirements Develop a wide range of apps, from a simple weather app to an Instagram-like social app Get ahead in the industry by learning how to use third-party libraries efficiently in your apps In Detail 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 help you to begin your journey with Swift programming through learning how to build iOS apps. You will learn all about basic variables, if clauses, functions, loops, and other core concepts; then structures, classes, and inheritance will be discussed. Next, you'll dive into developing a weather app that consumes data from the internet and presents information to the user. The final project is more complex, involving creating an Instagram like app that integrates different external libraries. The app also uses CocoaPods as its package dependency manager, to give you a cutting-edge tool to add to your skillset. By the end of the book, you will have learned how to model real-world apps in Swift. Style and approach This book has a very practical and hands-on approach towards teaching the user the new and advanced features of Swift. Downloading the...
- Contents:
- 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
- Chapter 3: Creating a Minimal Mobile App
- Your first iOS application
- Project structure
- AppDelegate
- Application states
- ViewController
- Git
- Chapter 4: Structures, Classes, and Inheritance
- Structures 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)
- Chapter 5: Adding Interactivity to Your First App
- Storyboards
- Visual components
- Adding items to the storyboard
- Linking the UI with the code
- General discussion
- 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 playground
- UICollectionView
- UICollectionViewCell
- Reusing cells
- Layouts
- Table view in iOS app
- Model list of cities
- Displaying all cities
- Adding search
- Protocols
- Protocols and inheritance
- 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
- Chapter 8: Introducing CocoaPods and Project Dependencies
- Software - the modern way
- Ruby and CocoaPods
- How to use it
- CocoaPods useful commands
- Carthage
- Swift Package Manager
- Useful commands
- Popular third-party libraries
- Alamofire
- Texture
- RxSwift
- 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
- Chapter 10: Building an Instagram-Like App
- Tabbed app project
- Firebase
- Login
- The different screens
- Custom buttons on the tab bar
- Creating a post
- Models
- Filters
- Chapter 11: Instagram-Like App Continued
- Home screen
- Profile screen
- Search screen
- Favorites screen
- Polishing the home screen
- Chapter 12: Contributing to an Open Source Project
- Your account at GitHub
- Forking a repository
- Let's contribute
- Pull request
- Other Books You May Enjoy
- Index.
- Notes:
- Description based on print version record.
- ISBN:
- 9781786466013
- 1786466015
- OCLC:
- 1040599427
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.