iOS learning - fanglinliu/fanglinliu.github.io GitHub Wiki

# MVC vs MVP vs MMVM

https://medium.com/ios-os-x-development/ios-architecture-patterns-ecba4c38de52#.9cj7d6gn8 https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93viewmodel

# NAT traversal ICE/STUN/TURN

# OAuth2, authorization code grant type.

# HTTP 2.0 HPAK

# WebSocket message/ stream

Logs and crash reports for Apps run in iOS simulator can be found in OSX App Console and "~/Library/Logs/DiagnosticReports/"

To see a list of available simulators, use the instruments command:

$ xcrun instruments -s devices

Where to find the logs that is printed using NSLog in iOS simulator.

iOS Simulator > Menu Bar > Debug > Open System Log

"Develop menu in desktop safari that lets you see the iOS simulator console: Develop -> iPhone Simulator -> site name"