From b8cb342724997ad8f2a68881f073ee5559ef58d8 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 28 Oct 2014 18:25:05 -0400 Subject: [PATCH] Wrote some notes on Mac OS X Spinbox. --- spinbox_darwin.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 spinbox_darwin.go diff --git a/spinbox_darwin.go b/spinbox_darwin.go new file mode 100644 index 0000000..cb46f3a --- /dev/null +++ b/spinbox_darwin.go @@ -0,0 +1,14 @@ +// 28 october 2014 + +package ui + +// #include "objc_darwin.h" +import "C" + +// interface builder notes +// - the tops of the alignment rects should be identical +// - spinner properties: auto repeat +// - http://stackoverflow.com/questions/702829/integrate-nsstepper-with-nstextfield we'll need to bind the int value :S +// - TODO experiment with a dummy project +// TODO +// - proper spacing between edit and spinner: Interface Builder isn't clear; NSDatePicker doesn't spill the beans