Today's Menu
Portugal
journal and plan nutrition
|
#import <Z6ParamValueEditView.h>
Instance Methods | |
(instancetype) | - initWithDelegate: |
(void) | - specializePickerView: |
(NSDictionary *) | - originateParameter |
(void) | - initializeSelection |
(void) | - showPickerViewNot: |
(HKQuantityType *) | - pickQuantityType [implementation] |
(HKUnit *) | - pickQuantityUnit [implementation] |
(void) | - originate [implementation] |
(HKQuantity *) | - produceQuantityValue [implementation] |
(float) | - heightRequirement [implementation] |
(void) | - appear: [implementation] |
(CGFloat) | - pickerView:rowHeightForComponent: [implementation] |
(CGFloat) | - pickerView:widthForComponent: [implementation] |
(NSAttributedString *) | - pickerView:attributedTitleForRow:forComponent: [implementation] |
(UIView *) | - pickerView:viewForRow:forComponent:reusingView: [implementation] |
(NSInteger) | - isListedAlready: [implementation] |
(void) | - setupDimensionWheel [implementation] |
(HKUnit *) | - unitForQuantityType: [implementation] |
(void) | - establishPick: [implementation] |
(void) | - pickerView:didSelectRow:inComponent: [implementation] |
(NSInteger) | - numberOfComponentsInPickerView: [implementation] |
(NSInteger) | - pickerView:numberOfRowsInComponent: [implementation] |
(void) | - setPickerType:scalar:andUnit: [implementation] |
(NSString *) | - stringForPickerRow: [implementation] |
Definition at line 13 of file Z6ParamValueEditView.h.
|
implementation |
Definition at line 237 of file Z6ParamValueEditView.m.
|
implementation |
this method takes the name of the selected nutrition parameter and uses it as a key to get the component amount specification. With the specification, its sets the current value in the picker, and informs the delegate tht it should show options to use the picker settting, or cancel the picker operation.
Definition at line 468 of file Z6ParamValueEditView.m.
|
implementation |
Definition at line 230 of file Z6ParamValueEditView.m.
- (void) initializeSelection |
After the value-editor has been used, it returns to what it was editting when it specializes for the next entry, this is an attempt to initiaizes the thing after it has been used.
Definition at line 103 of file Z6ParamValueEditView.m.
- (instancetype) initWithDelegate: | (id<Z6ParamValueEditDelegate>) | dele |
This method sets the delegate and fills the object with method 'originate', which creates the frame for the picker, and adds the picker to the view.
Definition at line 44 of file Z6ParamValueEditView.m.
|
implementation |
Definition at line 395 of file Z6ParamValueEditView.m.
|
implementation |
Definition at line 538 of file Z6ParamValueEditView.m.
|
implementation |
Definition at line 52 of file Z6ParamValueEditView.m.
- (NSDictionary *) originateParameter |
Definition at line 204 of file Z6ParamValueEditView.m.
|
implementation |
Definition at line 319 of file Z6ParamValueEditView.m.
|
implementation |
Definition at line 489 of file Z6ParamValueEditView.m.
|
implementation |
Definition at line 548 of file Z6ParamValueEditView.m.
|
implementation |
the picker view is an
Definition at line 276 of file Z6ParamValueEditView.m.
|
implementation |
Definition at line 355 of file Z6ParamValueEditView.m.
|
implementation |
Definition at line 286 of file Z6ParamValueEditView.m.
|
implementation |
Definition at line 29 of file Z6ParamValueEditView.m.
|
implementation |
Definition at line 30 of file Z6ParamValueEditView.m.
|
implementation |
Definition at line 164 of file Z6ParamValueEditView.m.
|
implementation |
Definition at line 601 of file Z6ParamValueEditView.m.
|
implementation |
this will set up the wheel to provide a choice of metric measures, eg. kilogram, gram, milligram, microgram would be choices for a weight. picker will fetch the strings at 'titleForRow:forComponent', during a refresh, we set them up here
Definition at line 430 of file Z6ParamValueEditView.m.
- (void) showPickerViewNot: | (Boolean) | flag |
From the working version: set the picker in global-USDAscreen coordinates to be 20% of the screen height. Other bounds set typically. Lazy instantiation - if the class var is nil, a picker is created with the frame, the delegate data source, and backgound color are set, and the view is added to the screen view. Adaption to factored views: picker frame is (sideMargin, topMargin, featureWid, 160.0)
Definition at line 87 of file Z6ParamValueEditView.m.
- (void) specializePickerView: | (NSDictionary *) | editSource |
Definition at line 110 of file Z6ParamValueEditView.m.
|
implementation |
Definition at line 624 of file Z6ParamValueEditView.m.
|
implementation |
Definition at line 446 of file Z6ParamValueEditView.m.