[MacRuby-devel] xcode question

2012-10-24 Thread david kramf
ry of my app , it does not have the structure of my regular applications located in /Applications folder. I tried to find an answer in MAC Developer library but got lost (??) so I apologize if this is too simple a question Many Thanks, David

Re: [MacRuby-devel] xcode question

2012-10-24 Thread david kramf
it will create a package that will install itself into > Applications, this also seems to serve as the update mechanism. > > Make sure, if you use any gems, under Deployment that you use --gem > with macruby_deploy > > On Wed, Oct 24, 2012 at 10:15 AM, david kramf wrote: >

[MacRuby-devel] Fwd: xcode question

2012-10-25 Thread david kramf
I finally discovered how to export . Thank you for your help. David Begin forwarded message: > From: david kramf > Subject: Re: [MacRuby-devel] xcode question > Date: October 24, 2012 9:02:35 PM GMT+02:00 > To: "MacRuby development discussions." > > How d

Re: [MacRuby-devel] Using Virtus or SmartProperty as outlets?

2012-11-21 Thread david kramf
"Basically, I need to make sure that when I ask for an integer, I get an integer. And when I want a string - I can reject anything but strings." Can't you use Ruby services like is_a? to force it ? Thanks, David Kramf On Nov 21, 2012, at 10:04 PM, Carolyn Ann Grant wrote: > Ba

[MacRuby-devel] windows contrôler issue

2012-11-29 Thread david kramf
Hi, In MyController (copied below) the awakeFromNib is called but the other methods are not . Can someone explain me what the problem is ? Thanks, David class MyController < NSWindowController attr_accessor :window def awakeFromNib @window.delegate = self puts " at en

[MacRuby-devel] Problem with a window controller

2012-11-29 Thread david kramf
Hi, In the copied below code only the awakeFromNib is executed . Can someone explain me what do I do wrong ? Window is displayed and I expected all other methods to be called. Thanks, David class MyController < NSWindowController attr_accessor :window def awakeFromNib @w

Re: [MacRuby-devel] Problem with a window controller

2012-12-02 Thread david kramf
> like your window's delegate is not set to the controller at the time the > events are occurring. > > Check if you need to set this - try tracing the window's delegate at > different points of the controller's lifecycle. > > On 30 Nov 2012, at

Re: [MacRuby-devel] Problem with a window controller

2012-12-02 Thread david kramf
't redefine it with the Ruby attr_accessor method. Note: similarly > NSViewController defines accessor methods for "view". > > You can configure IB to link the window delegate when the Nib is expanded so > that you don't need to set it in awakeFromNib. > > Bob Rice >

Re: [MacRuby-devel] Problem with a window controller

2012-12-03 Thread david kramf
ze static Popup and > comboBox option lists in IB. However, don't hookup dataSource in IB for > NSTableView or NSOutlineView because it will attempt to load table data > before you get awakeFromNib. > > Bob Rice > > On Dec 3, 2012, at 1:35 AM, david kramf wrote: >

Re: [MacRuby-devel] Problem with a window controller

2012-12-04 Thread david kramf
gt; AppDelegate and your NSWindowController subclass if you connect both your > AppDelegate and your NSWindowController subclass to the same window in IB. > > Bob Rice > > > On Dec 4, 2012, at 1:25 AM, david kramf wrote: > >> Hi Bob >> I never programmed in Obj

Re: [MacRuby-devel] Problem with a window controller

2012-12-07 Thread david kramf
Hi Bob, "As you become more familiar with IB, you will probably do more initialization of objects in IB and less in MacRuby. Nib file expansion instantiates objects and then makes calls to initialize the objects using the same methods that you are using to initialize objects in MacRuby. Actually

Re: [MacRuby-devel] Problem with a window controller

2012-12-09 Thread david kramf
iles when I open the IB connections view. But it only needs to > refresh the MacRuby class object that I currently have selected in IB and its > MacRuby superclasses. Since filenames don't have to match class names, it > would still have to scan files to find my class definition (or definiti

[MacRuby-devel] NSPoint and CGPoint issue

2012-12-09 Thread david kramf
Hello, I am trying to create an NSPoint object so I can call setFrameOrigin but I get in response a CGPoint object . When I pass the CGPoint to setFrameOrigin , it crashes. How do I make NSMakePoint making an NSPoint object and not a CGPoint object. Thank you for your help, David Kramf def

Re: [MacRuby-devel] NSPoint and CGPoint issue

2012-12-09 Thread david kramf
In your error message it says >> undefined method `￯﾿ᄐ￯﾿ᄐ' > > Why are you getting `￯﾿ᄐ￯﾿ᄐ' instead of 'setFrameOrigin'? > Do you have some foreign encoded text somewhere? > > Min Soo Kim > > > On Dec 10, 2012, at 1:41

Re: [MacRuby-devel] NSPoint and CGPoint issue

2012-12-10 Thread david kramf
>> I got the following output. >> >> class of label is NSTextField >> width is 100.0 heght is 200.0 >> class of origin is CGPoint >> #class of origin is CGPoint >> # >> >> It seem be to working for me. I think NSPoint and CGPoint can be mix used. &

Re: [MacRuby-devel] Problem with a window controller

2012-12-10 Thread david kramf
, David On Dec 10, 2012, at 11:27 AM, Jean-Denis MUYS wrote: > > On 7 déc. 2012, at 19:48:39, david kramf > wrote: >> >> Message: 1 >> Date: Fri, 7 Dec 2012 19:48:39 +0200 >> From: david kramf >> To: "MacRuby development discussions." >>

Re: [MacRuby-devel] NSPoint and CGPoint issue

2012-12-13 Thread david kramf
> end > > initLabel("Hello") > > > I got the following output. > > class of label is NSTextField > width is 100.0 heght is 200.0 > class of origin is CGPoint > #class of origin is CGPoint > # > > It seem be to working for me. I think NSPoi

Re: [MacRuby-devel] NSPoint and CGPoint issue

2012-12-13 Thread david kramf
>> >> initLabel("Hello") >> >> >> I got the following output. >> >> class of label is NSTextField >> width is 100.0 heght is 200.0 >> class of origin is CGPoint >> #class of origin is CGPoint >> # >> >> It

[MacRuby-devel] Another Cocoa issue

2012-12-14 Thread david kramf
me what I do wrong? Thanks, David Kramf def textView(textView,doCommandBySelector:sel) puts "#{sel.to_s}" return false if sel.to_s != "insertNewline:" puts " in doCommandBySelector selector is #{sel}" @newline = true enum = @t

[MacRuby-devel] Mac App Store Submission question

2013-04-03 Thread david kramf
ource into .rbo files (instead of .rb files, don't let anyone steal your code!)" What are those .rbo files ? My application is heavily dependent on metaprogramming. Will it work as a compiled .rbo file? Thanks, David Kramf ___ MacRuby-devel m

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

2013-05-17 Thread david kramf
Is RubyMotion a full Ruby. Does it support reflection and metaprograming? Thanks, David Kramf Begin forwarded message: > From: Francis Chong > Subject: Re: [MacRuby-devel] OS X10.9 & MacRuby's future... > Date: May 17, 2013 2:15:40 PM GMT+03:00 > To: "MacRu

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

2013-05-18 Thread david kramf
de evaluation in iOS, rather than a limit of Rubymotion), but it doesn't. > > fb > >> >> david kramf 17/05/2013 13:19 >> >> Is RubyMotion a full Ruby. Does it support reflection and metaprograming? >> Thanks, David Kramf >> >> &g

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

2013-05-19 Thread david kramf
ation. BTW, do RubyMotion > even run ruby spec? > — > Sent from Mailbox for iPhone > > > On Sun, May 19, 2013 at 5:04 AM, david kramf wrote: > > Francis, > Ruby is very well defined language with a well defined standard. > David > > On May 17, 2013, at 3:3

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

2013-05-19 Thread david kramf
Hi Ben, I am writing an OS X project that relies on Metaprogramming and Reflection. Does not seem like RubMotion is an option for me. All the best, David On May 16, 2013, at 10:05 PM, Carolyn Ann Grant wrote: > Thanks, Mark! > > Yeah, I know the price is more than reasonable, Mark, it's just

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

2013-05-21 Thread david kramf
Thank you. I will definitely look into Objective -C and RubyMotion metaprogramming and reflection abilities. David On May 19, 2013, at 5:18 PM, Colin Thomas Arnold Gray wrote: > Just because RubyMotion is compiled doesn't mean it can't have > metaprogramming and reflection abilities. These fea

Re: [MacRuby-devel] Screen Saver Preferences

2013-10-11 Thread david kramf
Craig, MacRuby ceased to be supported. They switched to a fee based product called RubyMotion which have the additional advantage of being able to run on an iPhone. I don't think it is a good idea to start using MacRuby now . All the Best, David Kramf On Oct 11, 2013, at 1:21 AM, Craig

Re: [MacRuby-devel] MacRuby on Mavericks

2013-11-07 Thread david kramf
you have a better easier idea ? Is it doable ?? Thnks, David Kramf On Nov 7, 2013, at 4:00 AM, Robert Carl Rice wrote: > Hi Rob, > > Thanks for looking into this. > > The iTunes Store has notified me that my current binaries will be removed > from the store for not being c