Re: [MacRuby-devel] OS X10.9 & MacRuby's future...

2013-05-16 Thread Sean Mateus
@John Labovitz, you're able to run your ruby script in Rubymotion just like in Macruby, the only thing you'll need to do is to replace *#!/usr/local/bin/macruby *with* #!/Library/RubyMotion/bin/ruby *and you're ready to go. cheers, Mateus On Thursday, May 16, 2013 9:24:07 PM UTC+2, John Labo

Re: [MacRuby-devel] NSUserDefaults and registerDefaults

2012-03-16 Thread Sean Mateus
Hi Erik, here is an example app Matt wrote: save: https://github.com/mattetti/LiveTV/blob/master/TVFrancaise/AppDelegate.rb#L249-253 read: https://github.com/mattetti/LiveTV/blob/master/TVFrancaise/AppDelegate.rb#L41-42 I hope this will help you -- Sean Mateus On Friday, March 16

Re: [MacRuby-devel] Xcode 4.3 move template files -- Workaround found!!!

2012-02-20 Thread Sean Mateus
you can test this example! just create an example App delegate, you’ll not be able to connect the accessors nor actions! class AppDelegate attr_accessor :window, :more def applicationDidFinishLaunching(a_notification) # because of this, rb_nibtool will not work notif = -> na

Re: [MacRuby-devel] Xcode 4.3 move template files -- Workaround found!!!

2012-02-20 Thread Sean Mateus
Thanks Kevin, I just found out the rb_nibtool is having some issues with blocks syntax! I’ll open a ticket and will try to understand how the rb_nibtool work and hope to be able to fix it! Sean ___ MacRuby-devel mailing list MacRuby-devel@lists.macos

Re: [MacRuby-devel] Xcode 4.3 move template files -- Workaround found!!!

2012-02-20 Thread Sean Mateus
Hi Kevin, great work! it's almost working for me, all attr_accessors are shown but not the actions! can you try it out, just to check if with my setup or it's a bug! -Mateus ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://list

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread Sean Mateus
Hi Kevin, I believe that it’ll not be a problem to place the rb_nibtool into /usr/local/bin, unfortunately I doesn’t work for me! have you any hint? Sean ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mai

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread Sean Mateus
Hi Watson, can you give some/small input on how rb_nibtool is actived when a file changes? I tried to figure it out, but I didn’t succeed! why should we move the rb_nibtool? thx Sean Mateus ___ MacRuby-devel mailing list MacRuby-devel

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread Sean Mateus
templates in ~/Library/Application Support/Xcode/templates/ Sean Mateus ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Re: [MacRuby-devel] Show MacRuby? - a start...

2012-02-11 Thread Sean Mateus
I’ll be adding a cocoa Binding example as soon as possible, I have it here https://github.com/seanlilmateus/Temperature-Converter; it can also be useful on how to NSValueTransformer, NSUserDefaultsController and NSNumberFormatter! the Binding are made with IB and manually/programmatically. I'v

Re: [MacRuby-devel] Show MacRuby? - a start...

2012-02-11 Thread Sean Mateus
Hi Kevin, this is a great idea, I’ve some stuff I’d like to contribute! we should create a Macruby/Macruby_recipes repo; so we could fork and add nice stuff! Sean Mateus ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http

Re: [MacRuby-devel] Bug with #method.call and blocks

2012-01-25 Thread Sean Mateus
BIG UPS to Watson, he is coding like there is no tomorrow :-) great work dude! thanks the MacRuby team for the great work and Gabriel for the bug report! ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailma

[MacRuby-devel] Macruby+Core Animation Firework, happy new year

2011-12-30 Thread Sean Mateus
Core Animation Firework in #macruby with ca.120 LOC [based on Apple’s Core-Animation examples], happy new #MacRuby year https://gist.github.com/1536136 ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman

Re: [MacRuby-devel] A Future for MacRuby

2011-12-21 Thread Sean Mateus
> > This is a frustration of mind, that is Apples lack of buy in or official > support is frustrating. It is one of the reasons I don't invest a lot of > personal effort into following Mac Ruby. Going the Mac Ruby way means > spending a lot of effort to learn something that may never get the

Re: [MacRuby-devel] MacRuby challenge

2011-12-13 Thread Sean Mateus
On my gist account I have a lot AVFoundation examples, I have one on how to record the isight image! https://gist.github.com/1427886 by the way! Pavlos and me tried to make a live moustafication, but we still need some time! ;-) so maybe we can use yours as bases :-) look pretty cool! and from

Re: [MacRuby-devel] MacRuby challenge

2011-12-08 Thread Sean Mateus
Hi Pavlos, as we talked yesterday on twitter; I hope we can use this code https://gist.github.com/1427886 as basis for the video version your mustachification-script! you can ping me on twitter @seanlilmateus -- Sean Mateus ___ MacRuby-devel mailing

Re: [MacRuby-devel] MacRuby challenge

2011-12-08 Thread Sean Mateus
d a video with AVFoundation https://gist.github.com/1427886 as we did with the face detection; the code is out and lets make something wonderful out of this! Sean Mateus ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge

Re: [MacRuby-devel] Create new Core Data Instances

2011-11-14 Thread Sean Mateus
Hi Timo, I've found something more like ActiveRecord; it's a framework https://github.com/magicalpanda/MagicalRecord! everything is written in Objective-C, but you can use it with MacRuby! you get syntax like: person = Person...; MRCoreDataAction.saveDataInBackgroundWithBlock -> localContext do

Re: [MacRuby-devel] NSInvocationOperation usage Segmentation fault

2011-10-11 Thread Sean Mateus
Hi Alex, try to use: operation = NSInvocationOperation.alloc.initWithTarget Foo.new, selector: ':bar', object: nil the only change is that the selector is a Symbol now! I'm not on any OS X devices so I can't test this! but I hope it'll work! Grüßen aus Köln Sean Mateu

Re: [MacRuby-devel] NSTrackingArea

2011-04-27 Thread Sean Mateus
this worked for me! class TowerView < NSView def awakeFromNib tracking_area = NSTrackingArea.alloc.initWithRect self.bounds, options:(NSTrackingCursorUpdate | NSTrackingActiveInActiveApp), owner:self, userInfo:nil puts track