Objective-C port of refactoring exercise
Ruby Objective-C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
TriviaRefactoring.xcodeproj
TriviaRefactoring
.gitignore
README

README

Objective-C port of this lovely refactoring exercise:
https://gist.github.com/3139247

Setup:
git clone git@github.com:nvln/TriviaRefactoring.git
cd TriviaRefactoring/TriviaRefactoring
make (you'll get a ruby testing error here, don't worry)
ruby ruby_testing.rb -r

Usage:
You'll probably be using Xcode to refactor main.m.
But you will be compiling and testing from the command line.

Make will run ruby_testing.rb -t for you.
Whenever you're ready to commit just run make to compile and test.

Cleanup (if you must):
ruby ruby_testing.rb -c
make clean

Note:
NSLog is modified to not print program name and time (check nslog.h).
You'll want at least Xcode 4.4 (with installed Command Line Tools) to support Objective-C literals.

Thanks to Michal Taszycki (@mehowte)
Ported by Karol S. Mazur (@karolsmazur)
You're free to do whatever you want with this code.