Skip to content

Commit a8780e7

Browse files
Merge pull request #23 from ChiliLabs/fix/issue-22
Fixes #22
2 parents 6e56737 + da378a6 commit a8780e7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CHIPageControl.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'CHIPageControl'
3-
s.version = '0.1.1'
3+
s.version = '0.1.2'
44
s.summary = 'CHIPageControl is a set of cool animated page controls written in Swift to replace boring UIPageControl.'
55

66
s.ios.deployment_target = '8.0'

CHIPageControl/Core/CHIBasePageControl.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ import UIKit
106106

107107
internal func setupDisplayLink() {
108108
self.displayLink = CADisplayLink(target: self, selector: #selector(updateFrame))
109-
self.displayLink?.add(to: .current, forMode: .defaultRunLoopMode)
109+
self.displayLink?.add(to: .current, forMode: .commonModes)
110110
}
111111

112112
internal func updateFrame() {

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Just add the `CHIPageControl` folder to your project.
2525

2626
use [CocoaPods](https://cocoapods.org) with Podfile:
2727
``` ruby
28-
pod 'CHIPageControl', '~> 0.1.1'
28+
pod 'CHIPageControl', '~> 0.1.2'
2929

3030
# individual page control
3131
pod 'CHIPageControl/Aji'
@@ -41,7 +41,7 @@ pod 'CHIPageControl/Puya'
4141

4242
use [Carthage](https://github.com/Carthage/Carthage) with Cartfile
4343
```ogdl
44-
github "ChiliLabs/CHIPageControl" ~> 0.1.1
44+
github "ChiliLabs/CHIPageControl" ~> 0.1.2
4545
```
4646

4747

0 commit comments

Comments
 (0)