Skip to content

Commit f0732ed

Browse files
committed
Fix swift < 4.2 compilation issues.
1 parent ad63790 commit f0732ed

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

RenderNeutrino.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "RenderNeutrino"
3-
s.version = "5.5.1"
3+
s.version = "5.5.2"
44
s.summary = "Render is a declarative library for building efficient UIs on iOS inspired by React."
55
s.description = <<-DESC
66
s.platform = :ios

render/mods/stylesheet/src/Stylesheet.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ import UIKit
33

44
// MARK: - UIStylesheet
55

6+
#if swift(>=4.2)
67
/// Shorthand to access the default global stylesheet.
78
public let S = UIStylesheet().style
9+
#endif
810

911
public struct UIStylesheet {
1012
/// Returns the stylesheet rule for the given path (e.g. Palette.black).

0 commit comments

Comments
 (0)