While trying to learn Objective C from a book, I'd like to be able to run some code snippets like...
NSString *str = @"Hello, world!";
NSLog(@"Retain count is %d", [str retainCount]);
In Ruby I'd just put this in an snippet.rb file and run ruby snippet.rb from the terminal. JavaScript has jsfiddle.net. Is there an equally easy way to do this with objective c?
If you're on a Mac there's the handy CodeRunner. It's $9.99 on the App Store but to me it was worth every penny.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With