https://github.com/trainingbypackt/professional-swift
Develop practical, cutting-edge applications using the full power of Swift 4
https://github.com/trainingbypackt/professional-swift
objective-c ruby swift swift4
Last synced: about 2 months ago
JSON representation
Develop practical, cutting-edge applications using the full power of Swift 4
- Host: GitHub
- URL: https://github.com/trainingbypackt/professional-swift
- Owner: TrainingByPackt
- License: mit
- Created: 2018-08-29T07:17:05.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-18T08:58:52.000Z (almost 8 years ago)
- Last Synced: 2025-01-13T20:14:28.426Z (over 1 year ago)
- Topics: objective-c, ruby, swift, swift4
- Language: Swift
- Homepage:
- Size: 69.9 MB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/TrainingByPackt/Professional-Swift/issues)
[](https://github.com/TrainingByPackt/Professional-Swift/network)
[](https://github.com/TrainingByPackt/Professional-Swift/stargazers)
[](https://github.com/TrainingByPackt/Professional-Swift/pulls)
# Professional Swift
We begin the course by learning about value types (structs and enums), and when they are preferable over classes. We also learn about the copy-on-write technique and how to implement it ourselves. Then we learn how to load JSON from web APIs into our custom types, and how to export that content out again. Finally we learn how to create frameworks, and import other frameworks using CocoaPods or Carthage.
We move on to learn advanced uses of Swift protocols and how protocol-oriented development improves efficiency and leads to more maintainable and reusable code. Then we learn about generics, and how they enable us to support multiple types without duplication. Later in the course, we discover different ways to structure a complete iOS app from scratch. We begin the discussion with the well-known MVC pattern and cover every other trending architecture in the iOS world.
## What you will learn
* Load content from web APIs into structs
* Explore methods to store structs to files
* Implement the copy-on-write technique
* Study protocols and protocol-oriented programming in depth
* Write code with less duplication using generics
* Compare different architectural patterns for iOS apps
* Create an IoS app using Redux
## Hardware Requirements
For an optimal experience with the hands-on labs and other practical activities, we recommend the following hardware confiuration:
A Mac computer capable of running macOS Sierra 10.12, such as:
* MacBook (Late 2009 or newer)
* MacBook Pro (Mid 2010 or newer)
* MacBook Air (Late 2010 or newer)
* Mac mini (Mid 2010 or newer)
* iMac (Late 2009 or newer)
* Mac Pro (Mid 2010 or newer)
## Software Requirements
You must also install the following softare in advance:
* Safari browser
* macOS 10.12.6+
* Xcode 9
## Installation and Setup
Before beginning the course, ensure that you complete the following steps:
1. If not already installed, install Xcode 9 from the Mac App Store.
2. Launch Xcode, agree to the license agreement, and answer Yes to installing additional required components if asked.
3. Go to the terminal and install Homebrew, CocoaPods, and Carthage using these commands:
```
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install CocoaPods
brew install Carthage
```