> Am 11.07.2024 um 14:51 schrieb Riccardo Mottola <[email protected]>:
>
> After many years, I still don't know what exactly is Cocoa. Is it only
> Foundation+AppKit? and what are the other Kits part of? Core* libraries?
Well, lets have a look:
MBP15:Headers lars$ pwd
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/Cocoa.framework/Headers
MBP15:Headers lars$ less Cocoa.h
/*
Cocoa.h
Cocoa Framework
Copyright (c) 2000-2015, Apple Inc.
All rights reserved.
This file should be included by all Cocoa application source files for
easy building. Using this file is preferred over importing individual files
because it will use a precompiled version.
Tools with no UI and no AppKit dependencies may prefer to include just
<Foundation/Foundation.h>.
*/
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>
#import <CoreData/CoreData.h>
Cocoa.h (END)
MBP15:Headers lars$ uname -a
Darwin MBP15.local 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:09:52 PDT
2024; root:xnu-10063.121.3~5/RELEASE_X86_64 x86_64
MBP15:Headers lars$
Hth and clears things up.
Kind regards,
Lars