Skip to content

Commit

Permalink
Fix swift < 4.2 compilation issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdrone committed Jun 11, 2018
1 parent ad63790 commit f0732ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion RenderNeutrino.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "RenderNeutrino"
s.version = "5.5.1"
s.version = "5.5.2"
s.summary = "Render is a declarative library for building efficient UIs on iOS inspired by React."
s.description = <<-DESC
s.platform = :ios
Expand Down
2 changes: 2 additions & 0 deletions render/mods/stylesheet/src/Stylesheet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ import UIKit

// MARK: - UIStylesheet

#if swift(>=4.2)
/// Shorthand to access the default global stylesheet.
public let S = UIStylesheet().style
#endif

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

0 comments on commit f0732ed

Please sign in to comment.