More than 16 tiny projects to help you quickly learn how to build a simple iPhone app.
👉🏼 中文传送门 / Chinese Version 👈🏼
Similar with samvlu's 100-days-of-swift, but write by Swift 5. Some resource comes from Edison Hsu.
Code environment:
- Swift 5
- Xcode 11.3.1
- Simulator iPhone 11
- IOS 13.2
These projects does not include an explanation of the basics of Swift. If you do not understand how the code works, please learn the following tutorial first:
Happy programming!
Tips: It may cause compilation errors if the swift project folder contains spaces. so don't to do that. (I found it after Day 22 😭)
The code is different from the samvlu's version because I write it myself. Obsolete projects have been deleted and similar projects have been merged together.
What I Learned:
- How to use UIButton & UILabel
- IBOutlet & IBAction
- Custom Navigation item
What I Learned:
- UILongGestureRecognizer
What I Learned:
- UISlider
- Text Field
- UITapGestureRecognizer
- How to make code clean with Extension
What I Learned:
- Build Custom Table View Controller
- Work with Nav Bar Buttons
- Populate Table Rows with local data
What I Learned:
- Work with Date()
- Hot to use DateFormatter with build in dateStyle and timeStyle
What I Learned:
- Send data through segue
What I Learned:
- How to use UISwipeGestureRecognizer
- Auto-launch the Keyboard when the View loads
What I Learned:
- UIImagePickerController
- Scale image and append it to TextField
What I Learned:
- Hot to refresh data
What I Learned:
- How to show keyboard when view appear
- How to pass data back to view controller by closure
What I Learned:
- Build sticky section tableview
- Use Array to index Dictionary
What I Learned:
- How to config dataSource
- Learn Create an Indexed Table View
What I Learned:
- Comprehensive application for UITableViewController
- Create/Update/Delete/Review Data in tableView
- Read/Write json data to file
- MVC design concept
- Transmit information by segue/closure
- How to use CocoaPod to install frameworks
What I Learned:
- Get current location
What I Learned:
- How to format date from DatePicker
What I Learned:
- Create an Accessory Input View
- Use icons for UIButtons
- Pass data back to rootView
What I Learned:
- Baic using of UICollectionViewController
- Drag and Drop in collection view
- Change the layout of collection view
- Basic animation
What I Learned:
- Pass data from collection to another view by drag and drop
What I Learned:
- Basic Drawing with CAShapeLayer and UIBezierPath
What I Learned:
- Basic animation with CAAnimation && Transition && UIView.animate
- Store local variables through closures
What I Learned:
- Basic use of Alert & ActionSheet & Popover
- Pass data between tab with SceneDelegate
What I Learned:
- Data Persistence by CoreData
- CURD in CoreData
- Popover in ios
What I Learned:
- Change Interface style by code
- Use Semantic Colors
- Custom dynamic Colors
What I Learned:
- Basic use of Local notification
- Local notification with actions