Re: Thoughts on Cocoa source code
Re: Thoughts on Cocoa source code
- Subject: Re: Thoughts on Cocoa source code
- From: Jean-Daniel via Cocoa-dev <email@hidden>
- Date: Sat, 12 Oct 2019 00:14:21 +0200
> Le 11 oct. 2019 à 16:59, Turtle Creek Software via Cocoa-dev
> <email@hidden> a écrit :
>
> I checked the GNUstep project, and it does seem decently clear and
> well-commented. If Apple made it possible to see and step through some of
> the basic Cocoa classes, that would be a good starting point. The hard
> parts for us were NSView and its subclasses (especially NSTableView &
> associates, NSTabView and NSComboBox in that order). The whole constraint
> system. ARC. Getting nibs to work properly when one little setting was
> wrong.
At least for ARC, it is fully open source.
The runtime part can be found in the objc4 project, and the compiler part come
from clang, and is open source as well.
And knowing that, you will see that for such complex features, having them open
source does not bring you many benefit to use them, as it is barely impossible
to infer what the compiler optimiser pass will output by simply reading the
source.
_______________________________________________
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