Here are a few examples of how to add a UINavigationBar item, wether it’s a “Done” button or an Action button, these can be done in 1 line of code as well (throughout your main source files of course). How to use: In the first example, @”Back” is used as the button title telling the […]
Quick and easy check to see if the iOS app is running on the iOS Simulator and display a message. You can also pre-define the message and remove (MSG). How to use: This example is similar to UIAlertView Shortcut Macro, only difference is there is 1 argument.
I just recently got heavily into using preprocessor macros. These macros cut down on code in your main source files. Here is an easy way to use a macro to show a UIAlertViewM in 1 line of code. When using a multiline macro like this example, you insert a \ at the end of each […]
This portion of the site is dedicated to source code snippets. Read more below to learn what languages are supported and how to properly place your snippet into a post. You can also include some information on what your code does, why it is significant, or any other info you think would be useful to […]