mirror of
https://github.com/exyte/Macaw.git
synced 2024-10-26 13:01:25 +03:00
Merge branch 'master' into tvos
This commit is contained in:
commit
048a368faf
@ -8,7 +8,7 @@
|
||||
|
||||
Pod::Spec.new do |s|
|
||||
s.name = "Macaw"
|
||||
s.version = "0.9.8"
|
||||
s.version = "0.9.9"
|
||||
s.summary = "Powerful and easy-to-use vector graphics library with SVG support written in Swift."
|
||||
|
||||
s.homepage = 'https://github.com/exyte/Macaw.git'
|
||||
|
@ -24,7 +24,7 @@ class MDisplayLink: MDisplayLinkProtocol {
|
||||
|
||||
displayLink = CADisplayLink(target: self, selector: #selector(updateHandler))
|
||||
if #available(iOS 10.0, tvOS 10.0, *) {
|
||||
displayLink?.preferredFramesPerSecond = 1
|
||||
displayLink?.preferredFramesPerSecond = 60
|
||||
} else {
|
||||
displayLink?.frameInterval = 1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user