mirror of
https://github.com/jphong1111/awesome-ios-developer.git
synced 2025-07-24 23:00:28 +07:00
8461bb70cb2251cd3b105555207e0563ec9d8f68
Useful Swift Things
Content
Coding convention
set of guidelines for a specific programming language that recommend programming style
Swift Style Guide
Swift Lint
The way of force you to adapt coding convention
otherwise project build will FAILED
- Swift Lint apply for all project👍
if which swiftlint >/dev/null; then
swiftlint
else
echo "error: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
exit 1
fi
put .yml file into root folder and apply following code in Build Phases
Design Pattern
Design pattern is
Check this website for design pattern in Swift
Delegate Pattern
weak var delegate: SomeProtocol?
Singleton Pattern
class SingletonPattern {
static let manager = SingletonPattern()
private init() {}
}
Observer Pattern
Code Structuring
MVC

MVVM
MVC vs MVVM

Viper
UIDesign
HIG(Human Interface Guidelines)
iOS icon
- icon8 you can download icons for your APP
UIdesign inspiration
API
Various API Site
JSON
JSON is a language-independent data format
Which is relative with KEY - VALUE pair
{
"main": [
{
"title": "example1",
"body": "body1"
},
{
"title": "example2",
"body: "body2"
},
]
}
JSON parser extension for Chrome
This extension makes JSON more structable JSON parser pro FREE 👍
JSON Decoding
JSONSerialization
Third Party Library
This github contains all the popular libraries in Swift👍
Description
List of awesome iOS & Swift stuff!!
appleawesomeawesome-listawesome-readmeiosios-appios-swiftswiftswift5useful-knowledgeusefullusefull-materials
Readme
MIT
9.9 MiB
Languages
Swift
98.1%
Shell
1.9%