Import
Hi, Happy New Year! I had to insert a line in String+Numbers for Linux: 'import Foundation' together with Glibc. Regards, Bernhard
Were you able to figure out which parts were Foundation-dependent?
Thanks! -- Erica
On Jan 1, 2016, at 6:16 AM, bsbhro [email protected] wrote:
Hi, Happy New Year! I had to insert a line in String+Numbers for Linux: 'import Foundation' together with Glibc Regards, Bernhard
— Reply to this email directly or view it on GitHub https://github.com/erica/SwiftString/issues/3.
Hi, after cloning and 'swift build' I got the "error: value of type 'String' has no member 'hasPrefix'". In the last days I played with some examples and had errors of this kind. I inserted the line and the SwiftString.a was built. I'm using the snapshot from yesterday. Yes, I guessed it.
Roger that. Will try to engineer around that (although by the time this ever gets used, the Foundation bit will probably be filled in so avoiding it won't be a primary goal)
On Jan 1, 2016, at 9:38 AM, bsbhro [email protected] wrote:
Hi, after cloning and 'swift build' I got the "error: value of type 'String' has no member 'hasPrefix'". In the last days I played with some examples and had errors of this kind. I inserted the line and the SwiftString.a was built. I'm using the snapshot from yesterday. Yes, I guessed it.
— Reply to this email directly or view it on GitHub https://github.com/erica/SwiftString/issues/3#issuecomment-168315558.
Please test today's commit. Thanks. -- E
On Jan 1, 2016, at 9:38 AM, bsbhro [email protected] wrote:
Hi, after cloning and 'swift build' I got the "error: value of type 'String' has no member 'hasPrefix'". In the last days I played with some examples and had errors of this kind. I inserted the line and the SwiftString.a was built. I'm using the snapshot from yesterday. Yes, I guessed it.
— Reply to this email directly or view it on GitHub https://github.com/erica/SwiftString/issues/3#issuecomment-168315558.
Without any error message. Do you have a reason to change the import lines? Do you know the dependencies? Asks a newbie. Regards, B.S

Your feedback is really the only basis but if it is working for you, I'm pleased. I think you represent about 20% of my entire user base!
-- E
On Jan 4, 2016, at 10:37 AM, bsbhro [email protected] wrote:
Without any error message. Do you have a reason to change the import lines? Do you know the dependencies? Asks a newbie. Regards, B.S https://cloud.githubusercontent.com/assets/2652120/12095794/646827f6-b311-11e5-9352-a4f98bb728f4.png — Reply to this email directly or view it on GitHub https://github.com/erica/SwiftString/issues/3#issuecomment-168747308.