#✅ - Amplify and Objective C

5 messages · Page 1 of 1 (latest)

raven loom
#

Hey folks,

Is there a way to make Objective-C IOS app work with amplify ? I have seen this post https://stackoverflow.com/questions/62805269/how-can-i-set-up-amazon-amplify-ios-in-objective-c , any thoughts or experience about this ?

Thank you !

amber dew
#

Hey @raven loom.
It really depends on which Amplify APIs you intend to use, but broadly speaking it's not straightforward. It would require writing ObjC wrappers around the Amplify APIs you would like to use. For some things, that may be as simple as the example in the linked SO post. However, it can become difficult when you need to use Amplify Swift's APIs that make heavy use of Swift language features that aren't representable in ObjC.

raven loom
#

Would be possible to have a mixture app between Objective C + Swift ?creating a bridge ? I have seen this in some examples.

amber dew
#

Would be possible to have a mixture app between Objective C + Swift ?

Yes, that's possible.

charred raptorBOT
#

✅ - Amplify and Objective C