Skip to content

Commit

Permalink
updating to explicitly expose functions in objc
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeSilvis committed Sep 22, 2017
1 parent 05f028a commit 7096eae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Source/GTConstantsManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,11 @@ public class GTConstantsManager {

// To be used by objc only
public class GTConstantsBridger: NSObject {
public static func string(key: String) -> String {
@objc public static func string(key: String) -> String {
return GTConstantsManager.sharedInstance.string(key: key)
}

public static func number(key: String) -> NSNumber {
@objc public static func number(key: String) -> NSNumber {
return GTConstantsManager.sharedInstance.number(key: key)
}
}
Expand Down
2 changes: 1 addition & 1 deletion Source/GTStringsManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public class GTStringsManager {

// To be used by objc only
public class GTStringBridger: NSObject {
public static func string(key: String) -> String {
@objc public static func string(key: String) -> String {
return GTStringsManager.sharedInstance.string(key: key)
}
}

0 comments on commit 7096eae

Please sign in to comment.