El mié, 04-01-2017 a las 22:24 -0800, Eric Wing escribió:
[...]
> Awesome!
> 
> https://github.com/ewmailing/IupCocoa
> (Switch to the Cocoa branch)
> 
> I actually took an implementation somebody else started with, so I
> haven’t audited/fixed all the code yet and am using it to bootstrap.
> There is some stuff that touches old Mac Carbon headers which will be
> the first obstacle for GNUStep. This stuff probably needs to be
> rewritten anyway for modern Mac, though unfortunately, I suspect
> GNUStep would have a different implementation too.

No idea about this.

> 
> I put in some stuff for CALayer (Core Animation) for some more
> advanced long term ideas I had. This will definitely not work on
> GNUStep (unless they surprised me and actually kept up with Apple
> circa 2007). I’m thinking maybe the best way to handle this is
> implement a dummy CALayer class that basically does nothing just to
> get things to compile. On the GNUStep path, there will never be any
> actual CALayers created, so the CALayer paths should never trigger.
> (I
> think all my CALayer uses are behind a class check of isKindOf.)

There is a QuartzCore framework at GNUstep repository with a class
CALayer. But I have not used it, and I suppose this is incomplete. I
will ask.

> 
> After some discussions with other experienced Cocoa devs I trust, we
> concluded that using ARC would be a bad idea for this project so I
> disabled it. I imagine that should be a really good thing for
> GNUStep.
> I do have some left over unsafe_unretained markers around, but we can
> remove those if they are a problem for GNUStep.

Clang+GNUstep can support several new features at Objective-C. But I
have not used GNUstep with clang. 
> 
> I haven't done any real GNUStep. (Briefly looked at it when I was
> learning Cocoa back in 2003-ish.) I know Apple has evolved Objective
> -C
> and Cocoa quite a bit since then, so I don't know how hard it will
> actually be to get GNUStep to work. So let me know if there is
> anything I can do to help you along.

There are some apps ported to Linux/Windows using GNUstep with small
changes. So I guess this should not be so hard. With limitations, of
course, since GNUstep don't implement all Cocoa frameworks.

I will try at weekend and I'll let you know how it goes. 

Germán

> 
> 
> Thanks,
> Eric

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to