Compare commits
3 Commits
newPodVers
...
master
| Author | SHA1 | Date |
|---|---|---|
|
|
9a5fa71807 | |
|
|
104cb0b7fa | |
|
|
d72ebca307 |
|
|
@ -1,6 +1,6 @@
|
||||||
Pod::Spec.new do |s|
|
Pod::Spec.new do |s|
|
||||||
s.name = 'NTMonthYearPicker'
|
s.name = 'NTMonthYearPicker'
|
||||||
s.version = '1.0.0'
|
s.version = '1.0.1'
|
||||||
|
|
||||||
s.summary = 'A simple month / year picker component for iOS.'
|
s.summary = 'A simple month / year picker component for iOS.'
|
||||||
s.description = 'NTMonthYearPicker is a simple month / year picker component for use in iOS applications.'
|
s.description = 'NTMonthYearPicker is a simple month / year picker component for use in iOS applications.'
|
||||||
|
|
@ -10,7 +10,7 @@ Pod::Spec.new do |s|
|
||||||
s.author = { 'Arun Nair' => 'nairteashop@gmail.com' }
|
s.author = { 'Arun Nair' => 'nairteashop@gmail.com' }
|
||||||
|
|
||||||
s.platform = :ios
|
s.platform = :ios
|
||||||
s.source = { :git => 'https://github.com/nairteashop/NTMonthYearPicker.git', :tag => s.version.to_s }
|
s.source = { :git => 'https://github.com/TouchInstinct/NTMonthYearPicker.git', :tag => s.version.to_s }
|
||||||
s.source_files = 'NTMonthYearPicker/*.{h,m}'
|
s.source_files = 'NTMonthYearPicker/*.{h,m}'
|
||||||
s.requires_arc = true
|
s.requires_arc = true
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -407,6 +407,12 @@ numberOfRowsInComponent:(NSInteger)component {
|
||||||
[self sendActionsForControlEvents:UIControlEventValueChanged];
|
[self sendActionsForControlEvents:UIControlEventValueChanged];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)layoutSubviews {
|
||||||
|
[super layoutSubviews];
|
||||||
|
|
||||||
|
_pickerView.frame = self.bounds;
|
||||||
|
}
|
||||||
|
|
||||||
#pragma mark - NTMonthYearPicker API
|
#pragma mark - NTMonthYearPicker API
|
||||||
|
|
||||||
- (NTMonthYearPickerMode)datePickerMode {
|
- (NTMonthYearPickerMode)datePickerMode {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue