Tag: Snippets
-
Snippets: NSLog and Macros Tips and Tricks
Tricks Some NSLog tricks I’m using on my escapade. These snippets are preprocessor macros that will help your debugging moments easier if not a lot. ALog This snippet will log everything every time you use it in a line. It will display the method name, the line number and the argument you gave. DLog This…
-
Snippets: Set Network Activity Indicator On and Off
This little snippet will let you show the network activity indicator using ShowActivityIndicator(); and hide it with HideActivityIndicator();. If you work with network in your app, then this little code will be an invaluable asset. This will save you a lot of retyping. Just put this in a header file that will be imported in…