davedelong / DDMathParser

String → Number
MIT License
854 stars 153 forks source link

DDMathParser with Xcode 9.3 and IOS #153

Open tomvolek opened 6 years ago

tomvolek commented 6 years ago

HI Dave:

I have an old Object C code which I tried to resurrect from death. I am using xcode 9.3 and building for IOS 11.2 On the file DDCurrencyUnitConverter.m I see warning on line bellow : NSURLConnection *imfConnection = [[NSURLConnection alloc] initWithRequest:imfRequest delegate:tmpDelegate];

The warning is 'initWithRequest:delegate:' is deprecated: first deprecated in iOS 9.0 - Use NSURLSession (see NSURLSession.h)

Is there a newer build of DDmathParser for Objective C ? Or am I out of luck ?

Thanks Tom

tomvolek commented 6 years ago

In case someone is stuck with Objective C and doesn't have time to port their app to swift and wants to use Dave's great DDMathParser. He points to a 2015 Tag of his library in this post :
https://stackoverflow.com/questions/33621964/how-do-i-use-ddmathparser-with-objective-c?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa

Tom