Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add a method to reload the whole picker view from delegate, fixes #3

…thanks!
  • Loading branch information...
commit f322bcca57091fb0750c951f1ae32737d64f1c5f 1 parent 73e190c
Alex Leutgöb authored
Showing with 11 additions and 0 deletions.
  1. +3 −0  Classes/ALPickerView.h
  2. +8 −0 Classes/ALPickerView.m
3  Classes/ALPickerView.h
View
@@ -43,6 +43,9 @@
// If set to nil the all option row is hidden at all, default is 'All'
@property (nonatomic, copy) NSString *allOptionTitle;
+// Reload whole pickerview from delegate
+- (void)reloadAllComponents;
+
@end
8 Classes/ALPickerView.m
View
@@ -94,6 +94,14 @@ - (void)dealloc {
}
+#pragma mark - Custom methods
+
+////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+- (void)reloadAllComponents {
+ [internalTableView_ reloadData];
+}
+
+
#pragma mark - UITableView
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Please sign in to comment.
Something went wrong with that request. Please try again.