Re: NSMenuItem <protocol>
Re: NSMenuItem <protocol>
- Subject: Re: NSMenuItem <protocol>
- From: j o a r <email@hidden>
- Date: Thu, 11 Mar 2004 08:42:43 +0100
On 2004-03-11, at 08.35, Marten van Gelderen wrote:
>
That used to work fine, but some months ago the compiler started to
>
warn me that I had a "return from incompatible pointer type". The
>
remedy was easy but, as said before, I sort of like the NSMenuItem *
>
better than the id <NSMenuItem>.
The problem with public frameworks is that even if you at a later time
change your mind about how things should work (like they seems to have
done, since the protocol is now deprecated), it's VERY difficult to
change the API to reflect this change.
>
I wrongly thought it was Apple who changed the return types. Now I
>
suppose it's the compiler who performs different (better?) type
>
checking?
I also think that this is the case.
j o a r
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.