Re: Xcode-users Digest, Vol 8, Issue 172
Re: Xcode-users Digest, Vol 8, Issue 172
- Subject: Re: Xcode-users Digest, Vol 8, Issue 172
- From: julius <email@hidden>
- Date: Wed, 25 May 2011 11:36:10 +0100
On Wed, 25 May 2011 01:56:55 +0200
>
> From: Christiaan Hofman <email@hidden>
> Subject: Re: Sub-classing NSWindow (i.e. creating a custom title bar)
> To: Diana Kirtley <email@hidden>
> Cc: "email@hidden" <email@hidden>
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="windows-1252"
>
> My point is that before you ask a question on a mailing list you should know the basics related to this mailing list. In this case, you should have read the basic docs on Cocoa programming. You don't seem to know the difference between Apple and GnuStep, which means you did not learn yourself enough yet to be able to understand many answers you would get on these mailing lists.
>
also
>>
>> Also not (yet) cocoa-dev. You should first know what you;re talking about, i.e. read the docs. It seems you don't know yet what Apple's AppKit is (hint: NSWindow.m is not public).
>>
>> Christiaan
>
I've been going through the documentation for a few years and because I find these responses a bit cryptic I must assume the OP will find them even more so. So in the interests of clarity here is what I think they mean.
I assume the GnuStep reference is referring to Gnu documentation e.g.
http://www.gnustep.org/resources/documentation/Developer/Gui/Reference/NSWindow.html
vs
http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSWindow_Class/Reference/Reference.html
Is it correct to imply that GnuStep documentation is never to be used in connection with cocoa?
I don't use it because I would feel nervous about it.
On the other hand, the GnuStep home page http://www.gnustep.org/ says:
"GNUstep provides a robust implementation of the AppKit and Foundation libraries as well as the development tools available on Cocoa....". Thus one might reasonably assume that information discovered here might provide clues to elements in the cocoa environment?
However, why this reference to GnuStep? Does the code referenced by the OP come from a Gnu page?
Re the AppKit and (hint: NSWindow.m is not public) I guess you are saying that we should't concern ourselves with the innards of Cocoa's methods
i. it took me a while to work out that this is what you meant - was I correct?
ii. my understanding of the OP is that she is referring to that code as the only reference she had found in the docs to her problem area and I suppose wondering whether she needs to subclass/modify it in some way. If I knew anything about changing the colour of title bars I would direct her to the relevant documentation. Unfortunately I don't. But just googled and found
http://stackoverflow.com/questions/3044303/changing-color-of-the-nswindow-titlebar
and
http://stackoverflow.com/questions/397572/how-to-give-nswindow-a-particular-background-color
which might provide a start.
Julius
http://juliuspaintings.co.uk
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden