In this video, I’ll demonstrate to you some of the baiscs of LLDB using the “expr” command to speed up your day to day development.
As you know, my recent book is now published, titled “iOS 7 Programming Cookbook”. You can purchase it here:
All the source codes written for this book are now available on Github at the following location:
If you have any questions, please let me know.
So you have written an Objective-C class and you would like to mark it as unavailable so that others won’t be able to instantiate it?
The solution is simple. In the header file of your class, place the following code:
__attribute__((unavailable("Your message to the developer goes here")))
So here is an example of a class header file that uses this LLVM extension:
__attribute__((unavailable(“This class is unavailable. Please use the YourClass class instead”)))
@interface MyClass : NSObject
Once a programmer attempts to use this class, they will see something similar to this in Xcode (Click to Enlarge the photo):
In this video, I will teach you a really cool way of filtering through an NSArray, using predicates.
Edit 1 (20th October 2014): Xcode 6.1 instructions can be found here: http://vandadnp.wordpress.com/2014/10/20/building-and-running-python-scripts-with-xcode-6-1/
In this video, I’ll demonstrate how you can use Xcode 5 to build and run Python scripts.