Skip to content

Commit

Permalink
Fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
wordlessj committed Aug 1, 2017
1 parent bea4816 commit 3fd10f3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion Panda.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@
3B2B8FFF1DC70A3E00B4E92F /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0810;
LastUpgradeCheck = 0830;
ORGANIZATIONNAME = Javier;
TargetAttributes = {
3B2B90071DC70A3E00B4E92F = {
Expand Down Expand Up @@ -888,6 +888,7 @@
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_SUSPICIOUS_MOVES = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
Expand Down Expand Up @@ -941,6 +942,7 @@
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_SUSPICIOUS_MOVES = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
Expand Down
2 changes: 1 addition & 1 deletion Panda.xcodeproj/xcshareddata/xcschemes/Panda.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0810"
LastUpgradeVersion = "0830"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion Sources/Basics/Actions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ private class ActionBox {
}
}

private protocol ActionBoxContainer: class {}
public protocol ActionBoxContainer: class {}

private var actionBoxKey: UInt8 = 0

Expand Down
4 changes: 2 additions & 2 deletions Sources/Basics/Font.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ extension PandaChain where Object: FontContainer {

@available(iOS 8.2, *)
@discardableResult
public func font(size: CGFloat, weight: UIFontWeight) -> PandaChain {
public func font(size: CGFloat, weight: CGFloat) -> PandaChain {
return font(.systemFont(ofSize: size, weight: weight))
}

Expand All @@ -70,7 +70,7 @@ extension PandaChain where Object: FontContainer {

@available(iOS 9.0, *)
@discardableResult
public func font(monospacedDigitSize size: CGFloat, weight: UIFontWeight) -> PandaChain {
public func font(monospacedDigitSize size: CGFloat, weight: CGFloat) -> PandaChain {
return font(.monospacedDigitSystemFont(ofSize: size, weight: weight))
}
}
Expand Down

0 comments on commit 3fd10f3

Please sign in to comment.