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
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:
>
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
"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
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
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
> 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
'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
>
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:
>
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
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
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
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
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
>> 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.
&
, 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."
>>
> 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
>>
>> 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
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
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
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
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
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
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
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
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
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
27 matches
Mail list logo