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
|
|
|
|
|
2021-04-10 03:58:50 +07:00
|
|
|
5. IOS icon download :
|
2021-04-10 03:16:44 +07:00
|
|
|
|
|
|
|
|
|
|
|
|
2021-04-10 03:47:49 +07:00
|
|
|
|
2021-04-10 03:25:46 +07:00
|
|
|
|
|
|
|
|
2021-04-10 04:07:21 +07:00
|
|
|
### Coding convention
|
2021-04-10 04:12:26 +07:00
|
|
|
|
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
|
2021-04-10 03:47:49 +07:00
|
|
|
|
2021-04-10 04:07:21 +07:00
|
|
|
### UIDesign
|
2021-04-10 03:58:50 +07:00
|
|
|
|
2021-04-10 04:07:57 +07:00
|
|
|
## iOS icon
|
2021-04-10 04:12:26 +07:00
|
|
|
|
2021-04-10 03:58:50 +07:00
|
|
|
-https://icons8.com/icon/set/food/ios
|
|
|
|
|
2021-04-10 04:07:57 +07:00
|
|
|
## UIdesign inspiration
|
2021-04-10 03:58:50 +07:00
|
|
|
|
2021-04-10 04:01:21 +07:00
|
|
|
- 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:58:50 +07:00
|
|
|
|
2021-04-10 04:07:21 +07:00
|
|
|
### API
|
2021-04-10 04:12:26 +07:00
|
|
|
|
2021-04-10 04:01:21 +07:00
|
|
|
- www.rapidapi.com
|