App tutorial from Devslopes - integrating REST , JSON, alamofire, SwiftyJSON and socket.io
I made this whilst following the Devslopes "Smack" app tutorial to learn how to correctly work with: 1)alamofire 2)sockets.io 3)swiftyJSON
This is what I have learnt as a result of writing this app:
- Using Cocoapods to import things like SWRevealView
- Using @IBDesignable to allow IB to show custom classes
- Using Alamofire
- Using SwiftyJSON to parse JSON is much quicker than native Swift
- How to set up a spinner
- The importance of using constants in a separate file
- public private(set) as a shortcut to encapsulate data
- How to use collection views
- Using PostMan to see how to send and properly parse web requests 10)Practical uses for singletons