[MacRuby-devel] Is Xcode4 broke on Lion?

2011-08-17 Thread [email protected]
Just upgraded Xcode for Lion, created a new app, added ':button' to the 
attr_accessor in AppDelegate but when I click on MainMenu.xib and App Delegate 
a connection for button doesn't appear in the connections tab. (I went into my 
old app too, added :tested to the attr_accessor but it doesn't appear in the 
connections tab either).

As a refresher I'm following this vid: http://youtu.be/JbGqKf38QUI (watch from 
2:45)

Am I doing something wrong or is Xcode broke on Lion? Anyone else having any 
similar problems? 

Cheers,

Ast
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Is Xcode4 broke on Lion?

2011-08-17 Thread Dominic Dagradi
There's an issue with Interface Builder detecting MacRuby outlets and actions.

As a workaround, I've been keeping a temporary obj-c header to define outlets 
and actions in, linking them in IB, and switch the class name back to my 
MacRuby class. Kinda sucks, but there's not currently a better option for Lion 
with Xcode 4.1 or 4.2.

Dominic 


On Wednesday, August 17, 2011 at 3:56 PM, [email protected] wrote:

> Just upgraded Xcode for Lion, created a new app, added ':button' to the 
> attr_accessor in AppDelegate but when I click on MainMenu.xib and App 
> Delegate a connection for button doesn't appear in the connections tab. (I 
> went into my old app too, added :tested to the attr_accessor but it doesn't 
> appear in the connections tab either).
> 
> As a refresher I'm following this vid: http://youtu.be/JbGqKf38QUI (watch 
> from 2:45)
> 
> Am I doing something wrong or is Xcode broke on Lion? Anyone else having any 
> similar problems? 
> 
> Cheers,
> 
> Ast
> ___
> MacRuby-devel mailing list
> [email protected] (mailto:[email protected])
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Is Xcode4 broke on Lion?

2011-08-17 Thread Daniel Westendorf
I currently just use an older 3.x version of IB. You have manually tell it
to read the files any time you want to add/modify an outlet.

dw

On Aug 17, 2011, at 1:58 PM, Dominic Dagradi  wrote:

There's an issue with Interface Builder detecting MacRuby outlets and
actions.

As a workaround, I've been keeping a temporary obj-c header to define
outlets and actions in, linking them in IB, and switch the class name back
to my MacRuby class. Kinda sucks, but there's not currently a better option
for Lion with Xcode 4.1 or 4.2.

Dominic

On Wednesday, August 17, 2011 at 3:56 PM, [email protected] wrote:

Just upgraded Xcode for Lion, created a new app, added ':button' to the
attr_accessor in AppDelegate but when I click on MainMenu.xib and App
Delegate a connection for button doesn't appear in the connections tab. (I
went into my old app too, added :tested to the attr_accessor but it doesn't
appear in the connections tab either).

As a refresher I'm following this vid: http://youtu.be/JbGqKf38QUI (watch
from 2:45)

Am I doing something wrong or is Xcode broke on Lion? Anyone else having any
similar problems?

Cheers,

Ast
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


 ___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Is Xcode4 broke on Lion?

2011-08-17 Thread [email protected]
Thanks Dominic. 

I know zero Obj-C so am just going to have to give up until they fix it :( (Do 
you know if it has been reported as a bug to them?)

I get the impression they don't really care about the MacRuby side of things 
tbh :/ Oh well, suppose my next app will be a Rails web app :D

Thanks for your help!

Ast


On 17 Aug 2011, at 20:58, Dominic Dagradi wrote:

> There's an issue with Interface Builder detecting MacRuby outlets and actions.
> 
> As a workaround, I've been keeping a temporary obj-c header to define outlets 
> and actions in, linking them in IB, and switch the class name back to my 
> MacRuby class. Kinda sucks, but there's not currently a better option for 
> Lion with Xcode 4.1 or 4.2.
> 
> Dominic
> On Wednesday, August 17, 2011 at 3:56 PM, [email protected] wrote:
> 
>> Just upgraded Xcode for Lion, created a new app, added ':button' to the 
>> attr_accessor in AppDelegate but when I click on MainMenu.xib and App 
>> Delegate a connection for button doesn't appear in the connections tab. (I 
>> went into my old app too, added :tested to the attr_accessor but it doesn't 
>> appear in the connections tab either).
>> 
>> As a refresher I'm following this vid: http://youtu.be/JbGqKf38QUI (watch 
>> from 2:45)
>> 
>> Am I doing something wrong or is Xcode broke on Lion? Anyone else having any 
>> similar problems? 
>> 
>> Cheers,
>> 
>> Ast
>> ___
>> MacRuby-devel mailing list
>> [email protected]
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Is Xcode4 broke on Lion?

2011-08-17 Thread Gregory Clarke
I also use 3.x with MacRuby. But I don't have to manually read the files to 
make changes. As long as the Xcode project matching the IB project is open then 
the new/changed outlets automatically appear for me.

Greg

> I currently just use an older 3.x version of IB. You have manually tell it to 
> read the files any time you want to add/modify an outlet.
> 
> dw
> 
> On Aug 17, 2011, at 1:58 PM, Dominic Dagradi  wrote:
> 
>> There's an issue with Interface Builder detecting MacRuby outlets and 
>> actions.
>> 
>> As a workaround, I've been keeping a temporary obj-c header to define 
>> outlets and actions in, linking them in IB, and switch the class name back 
>> to my MacRuby class. Kinda sucks, but there's not currently a better option 
>> for Lion with Xcode 4.1 or 4.2.
>> 
>> Dominic
>> On Wednesday, August 17, 2011 at 3:56 PM, [email protected] wrote:
>> 
>>> Just upgraded Xcode for Lion, created a new app, added ':button' to the 
>>> attr_accessor in AppDelegate but when I click on MainMenu.xib and App 
>>> Delegate a connection for button doesn't appear in the connections tab. (I 
>>> went into my old app too, added :tested to the attr_accessor but it doesn't 
>>> appear in the connections tab either).
>>> 
>>> As a refresher I'm following this vid: http://youtu.be/JbGqKf38QUI (watch 
>>> from 2:45)
>>> 
>>> Am I doing something wrong or is Xcode broke on Lion? Anyone else having 
>>> any similar problems? 
>>> 
>>> Cheers,
>>> 
>>> Ast
>>> ___
>>> MacRuby-devel mailing list
>>> [email protected]
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>> 
>> ___
>> MacRuby-devel mailing list
>> [email protected]
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Is Xcode4 broke on Lion?

2011-08-17 Thread Dominic Dagradi
They are aware. I opened an issue with Apple and they marked it as a duplicate 
of something they're already addressing (How soon? Not a clue…). Since 
duplicating bugs is the only way to say "I also have this problem", the more 
people that open a bug with Apple, the better. The tone of their response, for 
me at least, indicated that they care!

That said, the amount of Objective-C required for the workaround is *super* 
minimal, but I understand if it's overwhelming to manage two languages. 
Hopefully it'll be back to normal soon.

Dominic  


On Wednesday, August 17, 2011 at 4:04 PM, [email protected] wrote:

> Thanks Dominic.  
>  
> I know zero Obj-C so am just going to have to give up until they fix it :( 
> (Do you know if it has been reported as a bug to them?)
>  
> I get the impression they don't really care about the MacRuby side of things 
> tbh :/ Oh well, suppose my next app will be a Rails web app :D
>  
> Thanks for your help!
>  
> Ast
>  
>  
> On 17 Aug 2011, at 20:58, Dominic Dagradi wrote:
> > There's an issue with Interface Builder detecting MacRuby outlets and 
> > actions.
> >  
> > As a workaround, I've been keeping a temporary obj-c header to define 
> > outlets and actions in, linking them in IB, and switch the class name back 
> > to my MacRuby class. Kinda sucks, but there's not currently a better option 
> > for Lion with Xcode 4.1 or 4.2.
> >  
> > Dominic  
> >  
> > On Wednesday, August 17, 2011 at 3:56 PM, [email protected] 
> > (mailto:[email protected]) wrote:
> >  
> > > Just upgraded Xcode for Lion, created a new app, added ':button' to the 
> > > attr_accessor in AppDelegate but when I click on MainMenu.xib and App 
> > > Delegate a connection for button doesn't appear in the connections tab. 
> > > (I went into my old app too, added :tested to the attr_accessor but it 
> > > doesn't appear in the connections tab either).
> > >  
> > > As a refresher I'm following this vid: http://youtu.be/JbGqKf38QUI (watch 
> > > from 2:45)
> > >  
> > > Am I doing something wrong or is Xcode broke on Lion? Anyone else having 
> > > any similar problems?  
> > >  
> > > Cheers,
> > >  
> > > Ast
> > > ___
> > > MacRuby-devel mailing list
> > > [email protected] 
> > > (mailto:[email protected])
> > > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> >  
> >  ___
> > MacRuby-devel mailing list
> > [email protected] 
> > (mailto:[email protected])
> > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>  
> ___
> MacRuby-devel mailing list
> [email protected] (mailto:[email protected])
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Is Xcode4 broke on Lion?

2011-08-17 Thread [email protected]
Thanks All - I've never used 3.x so it will be a bit of a learning curve which 
I don't have time for - I was only doing this as a quick project while waiting 
for Ryan Bigg to get an update of his book to me. 

I might come back to it later when they've sorted it - hopefully it won't be 
too long... but I won't hold my breath lol.

Thanks again for the replies,

Ast


On 17 Aug 2011, at 21:06, Gregory Clarke wrote:

> I also use 3.x with MacRuby. But I don't have to manually read the files to 
> make changes. As long as the Xcode project matching the IB project is open 
> then the new/changed outlets automatically appear for me.
> 
> Greg
> 
>> I currently just use an older 3.x version of IB. You have manually tell it 
>> to read the files any time you want to add/modify an outlet.
>> 
>> dw
>> 
>> On Aug 17, 2011, at 1:58 PM, Dominic Dagradi  wrote:
>> 
>>> There's an issue with Interface Builder detecting MacRuby outlets and 
>>> actions.
>>> 
>>> As a workaround, I've been keeping a temporary obj-c header to define 
>>> outlets and actions in, linking them in IB, and switch the class name back 
>>> to my MacRuby class. Kinda sucks, but there's not currently a better option 
>>> for Lion with Xcode 4.1 or 4.2.
>>> 
>>> Dominic
>>> On Wednesday, August 17, 2011 at 3:56 PM, [email protected] wrote:
>>> 
 Just upgraded Xcode for Lion, created a new app, added ':button' to the 
 attr_accessor in AppDelegate but when I click on MainMenu.xib and App 
 Delegate a connection for button doesn't appear in the connections tab. (I 
 went into my old app too, added :tested to the attr_accessor but it 
 doesn't appear in the connections tab either).
 
 As a refresher I'm following this vid: http://youtu.be/JbGqKf38QUI (watch 
 from 2:45)
 
 Am I doing something wrong or is Xcode broke on Lion? Anyone else having 
 any similar problems? 
 
 Cheers,
 
 Ast
 ___
 MacRuby-devel mailing list
 [email protected]
 http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>> 
>>> ___
>>> MacRuby-devel mailing list
>>> [email protected]
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>> ___
>> MacRuby-devel mailing list
>> [email protected]
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Is Xcode4 broke on Lion?

2011-08-17 Thread [email protected]
I'll open a ticket as well then :)

Re MR, I hope they go the whole hog and convert everything to macruby - so we 
don't have to bother with Obj-c at all, even when working with their libraries. 
After learning Ruby all other languages irritate me *shrugs* lol

Ast

On 17 Aug 2011, at 21:07, Dominic Dagradi wrote:

> They are aware. I opened an issue with Apple and they marked it as a 
> duplicate of something they're already addressing (How soon? Not a clue…). 
> Since duplicating bugs is the only way to say "I also have this problem", the 
> more people that open a bug with Apple, the better. The tone of their 
> response, for me at least, indicated that they care!
> 
> That said, the amount of Objective-C required for the workaround is *super* 
> minimal, but I understand if it's overwhelming to manage two languages. 
> Hopefully it'll be back to normal soon.
> 
> Dominic
> On Wednesday, August 17, 2011 at 4:04 PM, [email protected] wrote:
> 
>> Thanks Dominic. 
>> 
>> I know zero Obj-C so am just going to have to give up until they fix it :( 
>> (Do you know if it has been reported as a bug to them?)
>> 
>> I get the impression they don't really care about the MacRuby side of things 
>> tbh :/ Oh well, suppose my next app will be a Rails web app :D
>> 
>> Thanks for your help!
>> 
>> Ast
>> 
>> 
>> On 17 Aug 2011, at 20:58, Dominic Dagradi wrote:
>> 
>>> There's an issue with Interface Builder detecting MacRuby outlets and 
>>> actions.
>>> 
>>> As a workaround, I've been keeping a temporary obj-c header to define 
>>> outlets and actions in, linking them in IB, and switch the class name back 
>>> to my MacRuby class. Kinda sucks, but there's not currently a better option 
>>> for Lion with Xcode 4.1 or 4.2.
>>> 
>>> Dominic
>>> On Wednesday, August 17, 2011 at 3:56 PM, [email protected] wrote:
>>> 
 Just upgraded Xcode for Lion, created a new app, added ':button' to the 
 attr_accessor in AppDelegate but when I click on MainMenu.xib and App 
 Delegate a connection for button doesn't appear in the connections tab. (I 
 went into my old app too, added :tested to the attr_accessor but it 
 doesn't appear in the connections tab either).
 
 As a refresher I'm following this vid: http://youtu.be/JbGqKf38QUI (watch 
 from 2:45)
 
 Am I doing something wrong or is Xcode broke on Lion? Anyone else having 
 any similar problems? 
 
 Cheers,
 
 Ast
 ___
 MacRuby-devel mailing list
 [email protected]
 http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>> 
>>> ___
>>> MacRuby-devel mailing list
>>> [email protected]
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>> 
>> ___
>> MacRuby-devel mailing list
>> [email protected]
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Is Xcode4 broke on Lion?

2011-08-17 Thread Daniel Westendorf
Interface Builder 3.X isn't too different from what you'll see in
Xcode4, the main difference being that you have to add your class
files via File > Read Class Files

dw

On Wed, Aug 17, 2011 at 2:14 PM, [email protected]  wrote:
> Thanks All - I've never used 3.x so it will be a bit of a learning curve
> which I don't have time for - I was only doing this as a quick project while
> waiting for Ryan Bigg to get an update of his book to me.
> I might come back to it later when they've sorted it - hopefully it won't be
> too long... but I won't hold my breath lol.
> Thanks again for the replies,
> Ast
>
>
> On 17 Aug 2011, at 21:06, Gregory Clarke wrote:
>
> I also use 3.x with MacRuby. But I don't have to manually read the files to
> make changes. As long as the Xcode project matching the IB project is open
> then the new/changed outlets automatically appear for me.
> Greg
>
> I currently just use an older 3.x version of IB. You have manually tell it
> to read the files any time you want to add/modify an outlet.
>
> dw
> On Aug 17, 2011, at 1:58 PM, Dominic Dagradi  wrote:
>
> There's an issue with Interface Builder detecting MacRuby outlets and
> actions.
> As a workaround, I've been keeping a temporary obj-c header to define
> outlets and actions in, linking them in IB, and switch the class name back
> to my MacRuby class. Kinda sucks, but there's not currently a better option
> for Lion with Xcode 4.1 or 4.2.
> Dominic
>
> On Wednesday, August 17, 2011 at 3:56 PM, [email protected] wrote:
>
> Just upgraded Xcode for Lion, created a new app, added ':button' to the
> attr_accessor in AppDelegate but when I click on MainMenu.xib and App
> Delegate a connection for button doesn't appear in the connections tab. (I
> went into my old app too, added :tested to the attr_accessor but it doesn't
> appear in the connections tab either).
>
> As a refresher I'm following this vid: http://youtu.be/JbGqKf38QUI (watch
> from 2:45)
>
> Am I doing something wrong or is Xcode broke on Lion? Anyone else having any
> similar problems?
>
> Cheers,
>
> Ast
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel