2021-04-10 03:25:46 +07:00
|
|
|
# Useful iOS
|
2021-04-10 03:16:44 +07:00
|
|
|
Useful Swift Things
|
|
|
|
|
2021-04-10 03:25:46 +07:00
|
|
|
### Content
|
|
|
|
- [Coding convention](#Coding convention)
|
2021-04-10 03:16:44 +07:00
|
|
|
1. Coding convention
|
2021-04-10 03:46:16 +07:00
|
|
|
|
2021-04-10 03:16:44 +07:00
|
|
|
2. HIG(Human Interface Guidelines(UIKit 애플사이트)
|
|
|
|
https://developer.apple.com/documentation/uikit/views_and_controls
|
2021-04-10 03:25:46 +07:00
|
|
|
3. Drawable menu in swift
|
2021-04-10 03:16:44 +07:00
|
|
|
https://github.com/instamobile/drawer-menu-swift
|
|
|
|
|
|
|
|
4. Table View:
|
|
|
|
Good to know the following:
|
|
|
|
|
|
|
|
Protocol: TableViewDataSource
|
|
|
|
numberOfRows
|
|
|
|
numberOfSections
|
|
|
|
cellForRow
|
|
|
|
canMoveRow
|
|
|
|
moveRow
|
|
|
|
commitForRow
|
|
|
|
canEditRow
|
|
|
|
|
|
|
|
Protocol: TableViewDelegate
|
|
|
|
didSelectRow
|
|
|
|
willDisplay
|
|
|
|
estimatedHeightForRow
|
|
|
|
heightForRow
|
|
|
|
swipeActions
|
|
|
|
automaticDimension
|
|
|
|
|
|
|
|
5. IOS icon download : https://icons8.com/icon/set/food/ios
|
|
|
|
|
|
|
|
6. API site - 1. www.rapidapi.com
|
|
|
|
|
|
|
|
|
|
|
|
7. UIDesign inspiration
|
|
|
|
https://www.behance.net/
|
|
|
|
https://dribbble.com/
|
|
|
|
https://www.awwwards.com/
|
|
|
|
http://www.flickr.com/
|
|
|
|
https://mobbin.design/
|
|
|
|
https://pttrns.com/
|
|
|
|
https://pinterest.com/
|
2021-04-10 03:25:46 +07:00
|
|
|
|
|
|
|
|
|
|
|
## Coding convention
|
2021-04-10 03:46:16 +07:00
|
|
|
https://github.com/linkedin/swift-style-guide
|
|
|
|
Swift Lint -> https://github.com/realm/SwiftLint - apply for all project
|
|
|
|
- put .yml file into root folder and apply following code in Build Phases
|