Replies: 3 comments 1 reply
-
The Cocoa framework actually includes AppKit. "The most important Cocoa class libraries come packaged in two core frameworks for each platform: Foundation and AppKit for OS X, and Foundation and UIKit for iOS" (src). Therefore, all appkit methods would go into the cocoa framework. Perhaps we should create a subpackage inside of Cocoa for Appkit things? |
Beta Was this translation helpful? Give feedback.
-
PR is open: #25 |
Beta Was this translation helpful? Give feedback.
-
my 2 cents: fewer packages the better. also shallow over deep. since in objective-c there is no namespace at all, just having rough categories for organizational purposes is an improvement. until it makes sense otherwise, appkit and uikit can live in cocoa. |
Beta Was this translation helpful? Give feedback.
-
I was investigating NSPasteboard and got some api covered now
Its based on this https://developer.apple.com/documentation/appkit/nspasteboard?language=objc so appkit.
Shoud this be in a package
AppKit
then?Also does anyone know how to handle globals as
core.NSString_FromString("public.utf8-plain-text")
is not nice.I needed to write a objc program to get that value 👎
I am not that familiar with either objc or c-go so any help would be nice.
I also wrote some wrappers to make the api work with readers and writers but i am not sure yet if they provide any value
Let me know how we wanna proceed I saw there is some appkit stuff in the cocoa package so maybe we just put it there for now?
Beta Was this translation helpful? Give feedback.
All reactions