Compare commits

...

3 Commits

Author SHA1 Message Date
Grigory 9a5fa71807 Update NTMonthYearPicker.podspec 2017-04-05 17:43:35 +03:00
Grigory 104cb0b7fa Update NTMonthYearPicker.podspec 2017-04-05 17:43:03 +03:00
Grigory d72ebca307 frame fix 2017-03-06 20:56:33 +03:00
2 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'NTMonthYearPicker'
s.version = '1.0.0'
s.version = '1.0.1'
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.'
@ -10,7 +10,7 @@ Pod::Spec.new do |s|
s.author = { 'Arun Nair' => 'nairteashop@gmail.com' }
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.requires_arc = true
end

View File

@ -407,6 +407,12 @@ numberOfRowsInComponent:(NSInteger)component {
[self sendActionsForControlEvents:UIControlEventValueChanged];
}
- (void)layoutSubviews {
[super layoutSubviews];
_pickerView.frame = self.bounds;
}
#pragma mark - NTMonthYearPicker API
- (NTMonthYearPickerMode)datePickerMode {