hyperoslo / Sugar

:coffee: Something sweet that goes great with your Cocoa
https://github.com/hyperoslo
Other
1.07k stars 69 forks source link

compile failure on Xcode 8.1 (the project compiles, but the spots examples don't). #92

Closed navisingh closed 7 years ago

navisingh commented 7 years ago

I need to comment out this method to make sugar work with the Spots examples. // //public func localizedString( key: String, bundleClass: AnyClass? = nil, comment: String? = nil, arguments: CVarArg...) -> String { // return withVaList(arguments) { // (NSString(format: localizedString(key, bundleClass, comment: comment), locale: Locale.current, arguments: $0) as String) // } as String //}

onmyway133 commented 7 years ago

@navisingh Hi, this maybe the same as https://github.com/hyperoslo/Sugar/issues/91, https://github.com/hyperoslo/Sugar/issues/89. Update to 3.0.0 should fix the problem