Skip to content

Commit

Permalink
v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Berdikhan committed Jan 8, 2019
1 parent b1fa9fd commit f4e54fa
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
9 changes: 6 additions & 3 deletions Example/FPageControl/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,17 @@
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<pageControl opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" numberOfPages="6" translatesAutoresizingMaskIntoConstraints="NO" id="kWf-5O-NGc" customClass="FPageControl">
<rect key="frame" x="130" y="137" width="102" height="37"/>
<pageControl opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" numberOfPages="6" currentPage="1" translatesAutoresizingMaskIntoConstraints="NO" id="kWf-5O-NGc" customClass="FPageControl">
<rect key="frame" x="130" y="137" width="133" height="37"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="pageIndicatorTintColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<color key="currentPageIndicatorTintColor" red="0.87058823529999996" green="0.12549019610000001" blue="0.1215686275" alpha="1" colorSpace="calibratedRGB"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="dotSpacing">
<real key="value" value="4"/>
<real key="value" value="13"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="number" keyPath="dotSize">
<real key="value" value="9"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</pageControl>
Expand Down
2 changes: 1 addition & 1 deletion Example/Pods/Target Support Files/FPageControl/Info.plist

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion FPageControl.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'FPageControl'
s.version = '0.2.0'
s.version = '0.3.0'
s.summary = 'Custom Page Control for Fave'

s.description = <<-DESC
Expand Down
5 changes: 0 additions & 5 deletions FPageControl/FPageControl.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ - (instancetype)initWithFrame:(CGRect)frame {
return self;
}

- (void)awakeFromNib {
[super awakeFromNib];
[self customInit];
}

-(void)customInit {
self.dotSize = 5;
self.dotSpacing = 3;
Expand Down

0 comments on commit f4e54fa

Please sign in to comment.