This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(void)showSignatureBoxFromButton:(UIButton*)fromButton { | |
UIStoryboard *sb = [UIStoryboard storyboardWithName:@"Main" bundle:nil]; | |
PESignatureViewController *vc = [sb instantiateViewControllerWithIdentifier:@"signatureCapture"]; | |
vc.delegate = self; | |
UIPopoverController* aPopover = [[UIPopoverController alloc] | |
initWithContentViewController:vc]; | |
// Store the popover in a custom property for later use. | |
self.myPopoverController = aPopover; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Serialization in parent component: | |
"pagePanel": { | |
"prototype": "montage/ui/repetition.reel", | |
"properties": { | |
"element": { | |
"#": "pagePanel" | |
}, | |
"isSelectionEnabled": false, | |
"contentController": {"@": "panelItems"}, | |
"axis": "vertical" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"editField": { | |
"prototype": "ui/edit-field.reel", | |
"properties": { | |
"element": {"#": "repeatedEditField"} | |
}, | |
"bindings": { | |
"data": {"<-": "@dataFieldRepetition.objectAtCurrentIteration"}, | |
"outgoingData": {"->": "@owner.modifiedRowData"} | |
} | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fires the setter: | |
"sampleComponent": { | |
"prototype": "ui/sample-component.reel", | |
"properties": { | |
"element": {"#": "sampleComponent"} | |
}, | |
"bindings": { | |
"contentController": {"<-": "@randomItems.content"} | |
} | |
}, |