Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
Objective-C port of this lovely refactoring exercise: https://gist.github.com/3139247 Setup: git clone firstname.lastname@example.org: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.