@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
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
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
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
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
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
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
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
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
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
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
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
>
> 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
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
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
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
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
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
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
19 matches
Mail list logo