Skip to content

Commit

Permalink
Add required property to an element.
Browse files Browse the repository at this point in the history
  • Loading branch information
francisvm committed Aug 29, 2014
1 parent 3c5df97 commit 395e1d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions quickdialog/QElement.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@

@property(nonatomic) BOOL shallowBind;

@property(nonatomic) BOOL required;

- (QElement *)initWithKey:(NSString *)key;

- (NSIndexPath*) getIndexPath;
Expand Down
2 changes: 2 additions & 0 deletions quickdialog/QElement.m
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ - (QElement *)init {
if (self) {
self.enabled = YES;
self.shallowBind = YES;
self.required = YES;
}
return self;
}
Expand All @@ -53,6 +54,7 @@ - (QElement *)initWithKey:(NSString *)key {
self.key = key;
self.enabled = YES;
self.shallowBind = YES;
self.required = YES;
}
return self;
}
Expand Down

0 comments on commit 395e1d7

Please sign in to comment.