SwiftString icon indicating copy to clipboard operation
SwiftString copied to clipboard

Import

Open ghost opened this issue 10 years ago • 6 comments

Hi, Happy New Year! I had to insert a line in String+Numbers for Linux: 'import Foundation' together with Glibc. Regards, Bernhard

ghost avatar Jan 01 '16 13:01 ghost

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.

erica avatar Jan 01 '16 16:01 erica

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.

ghost avatar Jan 01 '16 16:01 ghost

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.

erica avatar Jan 01 '16 18:01 erica

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.

erica avatar Jan 04 '16 15:01 erica

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 bildschirmfoto_2016-01-04_18-23-20

ghost avatar Jan 04 '16 17:01 ghost

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.

erica avatar Jan 04 '16 18:01 erica