tech
- networking - Alamofire
- database - Realm
- html parse - HTMLDocument
tech 1 setup alamofire
embedded framework
- add alamofire as a
submodule- open
terminal cdto top-level project dirgit submodule add https://github.com/Alamofire/Alamofire.git
- open
- open
Alamofirefolder dragAlamofire.xcodeprojintofile navigator - ensure
Deployment TargetofAlamofire.frameworkmatches application target - open
Build phases- select
Target Dependenciesgroup - add
Alamofire.framework
- select
- click
+- select
New Copy File Phases - rename this new phases to
Copy Frameworks - set the
DestinationtoFrameworks - add
Alamofire.framework
- select
tech 2 setup Realm
- download the latest release
- drag
ios/Realm.framework- into
file navigator - checking
Copy items if needs
- into
- in
Build Phasedtab underLink Binary with Libraries- add
libc++.dylib
- add
- drag
Swift/RLMSupport.swift- into
file navigator - checking
Copy items if needs
- into
tech 3 setup HTMLDocument
- add class files and the (option) category/extension to your project
- in
Build Phasedtab underLink Binary with Libraries- add
libxml2.dylib
- add
- in
Build SettingsunderHeader Search Pathes- add
$SDKROOT/usr/include/libxml2
- add
- in
Build Settingsunderother linker flags- add
-lxml2
- add
- add
Bridging-Header.h - in
Build SettingsunderObjective-C Bridging Header- enter
Bridging-Header.h
- enter