summaryrefslogtreecommitdiff
path: root/MLKBinding.h
diff options
context:
space:
mode:
Diffstat (limited to 'MLKBinding.h')
-rw-r--r--MLKBinding.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/MLKBinding.h b/MLKBinding.h
index 0206bdc..725037f 100644
--- a/MLKBinding.h
+++ b/MLKBinding.h
@@ -26,16 +26,52 @@
+(void) initialize;
+/* Function: -init
+
+ Initalise unbound binding cell.
+*/
-(MLKBinding *) init;
+
+/* Function: -initWithValue:
+
+ Initialise binding cell with a value to bind.
+*/
-(MLKBinding *) initWithValue:(id)something;
+/* Function: +binding
+
+ Construct an unbound binding cell.
+*/
+(MLKBinding *) binding;
+
+/* Function: +bindingWithValue:
+
+ Construct a bound binding cell with a value to bind.
+*/
+(MLKBinding *) bindingWithValue:(id)something;
+/* Function: -setValue:
+
+ Change the binding's bound value.
+*/
-(void) setValue:(id)something;
+
+/* Function: -value
+
+ Access the binding's bound value.
+*/
-(id) value;
+/* Function: -boundp
+
+ Determine whether the binding cell is non-empty.
+*/
-(BOOL) boundp;
+
+/* Function: -makunbound
+
+ Empty the binding.
+*/
-(void) makunbound;
-(void) dealloc;