From cc74fda9501b867860e9f09cdc86a2fef21adaea Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 16 May 2014 23:12:40 -0400 Subject: [PATCH] Started working on a blog post of NSTableView creation in code, so removed the respective personal TODO in listbox_darwin.go. --- listbox_darwin.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/listbox_darwin.go b/listbox_darwin.go index 4236a51..05eeaa9 100644 --- a/listbox_darwin.go +++ b/listbox_darwin.go @@ -12,8 +12,6 @@ The Cocoa API was not designed to be used directly in code; you were intended to Under normal circumstances we would have to build our own data source class, as Cocoa doesn't provide premade data sources. Thankfully, Mac OS X 10.3 introduced the bindings system, which avoids all that. It's just not documented too well (again, because you're supposed to use Interface Builder). Bear with me here. After switching from using the Objective-C runtime to using Objective-C directly, you will now need to look both here and in listbox_darwin.m to get what's going on. - -PERSONAL TODO - make a post somewhere that does all this in Objective-C itself, for the benefit of the programming community. */ // #cgo LDFLAGS: -lobjc -framework Foundation -framework AppKit