Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

# Loading the Cocoa framework. MacRuby - When objective-c and Ruby meet

31,723 views

Published on

# Loading the Cocoa framework. If you need to load more
frameworks, you can
# do that here too.
framework 'Cocoa'

# Loading all the Ruby project files.
dir_path =
NSBundle.mainBundle.resourcePath.fileSystemRepresentation
Dir.entries(dir_path).each do |path|
if path != File.basename(__FILE__) and path[-3..-1] == '.rb'
require(path)
end
end

# Starting the Cocoa main loop.
NSApplicationMain(0, nil)




Friday, February 6, 2009

Published in: Technology
  • Objective-C Programming: The Big Nerd Ranch Guide (2nd Edition) (Big Nerd Ranch Guides) --- http://amzn.to/1R982Rx
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Objective C: Crash Course - The Ultimate Beginner's Course to Learning Objective C Programming in Under 12 Hours --- http://amzn.to/1T2JKuO
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Programming in Objective-C (6th Edition) (Developer's Library) --- http://amzn.to/21Bvido
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • good one
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Video available there: http://sdruby.com/podcast/58
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

×