objective c - How to allow client to change their API base URL in iOS app without changing the app code? -



objective c - How to allow client to change their API base URL in iOS app without changing the app code? -

i'm developing ios app client integrates client's api, define api base of operations url in singleton object used interface api.

#define kapibaseurl @"https://myapiurl.com/api/"

the client alter api base of operations url instead of having me alter url in app code every time.

i distribute build client via test flight or send them ipa file, not code base.

what best way this? thanks.

actually, best way utilize parse , pull api urls there. can update 1 fly via parse console.

ios objective-c iphone ipad plist

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -