>From what I can read in the archives, this was raised about 18 months
ago. Loosely following Matt's book, I've written the following code:
def showOpenPanel( sender)
openPanel = NSOpenPanel.openPanel
openPanel.setCanChooseDirectories( false)
openPanel.setShowsHiddenFiles( NSUserDefaults.
I would have loved to come to the WWDC, but unfortunately can't make it...
Sorry for the useless answer, just wanted to share my pain ;)
On 28 mrt. 2011, at 22:25, Nick Ludlam wrote:
> Hey all,
> I was just wondering if Laurent or any of the other people involved with
> MacRuby are planning to
Hah, well it turns out that I wasn't quick enough either, and I didn't get
tickets. Selling out in under 12 hours is almost like some rock concert.
On 30 Mar 2011, at 16:19, Eloy Duran wrote:
> I would have loved to come to the WWDC, but unfortunately can't make it...
> Sorry for the useless an
I'll be there as well!
-Robert
On Mar 31, 2011, at 4:32 AM, Nick Ludlam wrote:
> Hah, well it turns out that I wasn't quick enough either, and I didn't get
> tickets. Selling out in under 12 hours is almost like some rock concert.
>
> On 30 Mar 2011, at 16:19, Eloy Duran wrote:
>
>> I would ha
I think you want "break" instead of "return". You can't return from a block
(Proc).
-Gabriel
On Wed, Mar 30, 2011 at 7:53 AM, Martin Hawkins wrote:
> From what I can read in the archives, this was raised about 18 months
> ago. Loosely following Matt's book, I've written the following code:
> de
On 30 Mar 2011, at 18:23, Gabriel Gilder wrote:
> I think you want "break" instead of "return". You can't return from a block
> (Proc).
>
> -Gabriel
That's not strictly true, you can if the Proc.new { } object was initialized
within a method (like it is here).
However calling return explicitl
I was able to grab a ticket in time too.
Are there any MacRuby-related events planned yet? If not, we should coordinate
an informal meetup.
On Mar 30, 2011, at 10:12 AM, Robert Payne wrote:
> I'll be there as well!
>
> -Robert
> On Mar 31, 2011, at 4:32 AM, Nick Ludlam wrote:
>
>> Hah, well i
Enzo,
It might be a translation issue, but I wouldn't call that a virus (it
doesn't replicate, it is just something that freezes your computer). I
wouldn't call it "Virus" in the gist either, if I were you.
If it is a bug in HotCocoa, than it may be a bug (or at least undesired
functionality
Gary,
"Virus" was joke of course, however I changed the name on gist.
I doubt it is a hotcocoa issue, but as soon as I have some time will try to
replicate it with an IB version.
What do you mean by "where you got it" ? The code is mine, I was trying to
do something along the lines of this
http:/
At 12:36 PM -0700 3/30/11, Christian Niles wrote:
> Are there any MacRuby-related events planned yet?
> If not, we should coordinate an informal meetup.
Works for me, particularly if it's in a venue that's
open to the general public. We can list it on SFRuby
and let folks meet each other...
-r
-
> At 12:36 PM -0700 3/30/11, Christian Niles wrote:
> > Are there any MacRuby-related events planned yet?
> > If not, we should coordinate an informal meetup.
>
Good idea, it would be cool to meet up with some other MacRubyists.
___
MacRuby-devel mailing
On Mar 30, 2011, at 19:09 , Andre Lewis wrote:
>
> At 12:36 PM -0700 3/30/11, Christian Niles wrote:
> > Are there any MacRuby-related events planned yet?
> > If not, we should coordinate an informal meetup.
>
> Good idea, it would be cool to meet up with some other MacRubyists.
I'd be interes
Looking at http://www.sfruby.info/#upcoming, I don't
see anything scheduled during WWDC (June 6-10). If
the WWDC attendees in the crowd can settle on a date
(ideally, one that works for Jordan and Laurent :-),
I'll be happy to put in the schedule.
I can probably also find a venue for the event; l
I've decided to use an upcoming sabbatical to teach myself OS X and iOS
programming. My background includes OS X systems administration and web
development, mostly using the Apache/MySQL/PHP model. I'm familiar with OOP
concepts and have trifled with any number of languages from C to AppleScri
Just a suggestion but I think having a goal will determine what you use.
MacRuby will still expose you to the Cocoa libraries so you will be able to
interchange with OBJC easily.
The MacRuby style tho gets my vote... e.g.
(OBJC) NSMutableDictionary* myDict = [[NSMutableDictionary alloc]init];
On Mar 30, 2011, at 9:56 PM, Terry Moore wrote:
> it may just be a verbosity thing but once you get used to the Macruby style
> OBJC becomes tedious.
Hell, I spend most of my time in C++, and I find the ojbc verbosity to be
tedious ;-)
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elev
I'm not a MacRuby or ObjC expert, but here is my
understanding.
> What are the advantages of MacRuby over Objective-C?
MacRuby is a variant of Ruby, so it's an interpreted,
concise, dynamic language. Objective-C is a compiled
language based on C (with a lot of run-time support).
So, a MacRuby
Greetings,
Hell, I spend most of my time in Java, and I find the objc verbosity to
be...uhhh...pretty familiar. ;)
Joking aside, I'll often take common ObjC patterns and 're-do' them the Ruby
way so they're more efficient to the way my brain works.
As an example from a recent bit of code, you hav
On further digging, it seems like the exception raised when you return from
a block (/Proc/lambda) is MacRuby specific. Seems like this should have been
fixed a while ago:
http://www.macruby.org/trac/ticket/412
I wonder if this bug should be re-opened? I actually encountered a similar
problem rece
Greetings,
On Wed, Mar 30, 2011 at 2:32 PM, Vincenzo Piombo wrote:
> By the way, do you know where can I find a working drag&drop macruby
> example ?
>
> Enzo
>
Well...crud. My email on this got eaten because I used syntax highlighted
code which bulked the email beyond the 40k limit on the mai
On Mar 30, 2011, at 8:43 PM, Bryan Harrison wrote:
> So… I understand that Cocoa is a given, but today's million dollar question
> is Objective-C or MacRuby? I'm a blank slate with regard to both and so
> could use some good advice. For example…
>
> What are the advantages of MacRuby over Ob
21 matches
Mail list logo