Re: Resizable borderless windows in Lion
Re: Resizable borderless windows in Lion
- Subject: Re: Resizable borderless windows in Lion
- From: Nicholas Francis <email@hidden>
- Date: Fri, 18 Nov 2011 10:59:04 +0100
Problem with Xcode >4 is that this is the same build farm that compiles out standalone executable which has compatibility down to Tiger, so we're stuck on Xcode 3.x versions (at least for the next 8 months or so). Superannoying, but that's what we get for making a dev tool that will target ancient systems.
Essentially, Unity is an Editor (that requires >Leopard, Intel only) which we ship with a bunch of runtimes (OSX, iOS, Win, Android (ARM/Intel, etc), PS3, XBox, Flash binary, etc.). People use the Unity editor to build a data file that these binaries know how to run. The Editor could be compiled with a later compiler, but we need our runtimes to target ancient systems as well (when to up the requirements of any version is a long debate; we're just now dropping PPC). The editor also has an embedded Runtime (so people can test their games).
However, getting all these dependencies right means we've ended up with a very complex build system - so it's hard for us to "just" upgrade a single piece of the chain.
Anyone have any idea how Lion checks the compiler version so I maybe can fool it?
(Failing that, I'll re-implement windows resizing myself :)
Thanks,
Nicholas
On Nov 17, 2011, at 8:04 PM, Seth Willits wrote:
> On Nov 17, 2011, at 10:48 AM, Mike Abdullah wrote:
>
>>>> Reading the Lion release notes, it says I should create my window with NSBorderlessWindowMask | NSResizableWindowMask. It also says that my app needs to be compiled with Lion as a backwards-compatibility measure.
>>>
>>> I’m pretty sure that just means that it needs to be compiled with the Lion *SDK*, i.e. by Xcode 4.2. That’s available for 10.6.
>>
>> Seriously? SDKs are never usually backported. Would be great if they were somehow.
>
>
> I did some testing last week. Building with the 10.7 SDK with 4.2 on SL vs Lion, I ended up with byte-identical binaries. The only thing that was different were the compiled nibs, and I think one other thing. Not sure exactly what the differences were though, but they varied quite a bit. I didn't compare the 10.7-SDK-built-on-SL nibs to 10.6-SDK-built-on-SL nibs to see if they were the same.
>
>
> --
> Seth Willits
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden