Dynamically access ServerConfig parameters #57
-
Terminology:
My understanding is that if a new On the Obj-C Parse SDK, I could check if there was an object for a particular key, using Is there any way to access new ServerConfig parameters without having to hard code them as variables into my app? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
This is all up to how you design your app on the client side. If your Config adds key/values to a known return type, key/value pairs can be added dynamically. Your app should be designed in a way to handle these dynamic key/pairs. This is one of the reasons the SDK uses protocols and POP (not OOP or classes/subclasses). Note, I’ve supplied simple examples to show that you can basically return anything that is I linked to more examples with objects here: #56 (reply in thread) |
Beta Was this translation helpful? Give feedback.
-
Apologies, I think I might have been ambiguous with my question! Say I have two apps, called “MyCoolApp” and “CoolerApp"
On the previous SDK, I’d have done something like:
and this way, until To my knowledge, I can’t do something similar in Parse-Swift; I’d have to manually enter in each variable into my
So it can search through the Is my understanding correct? |
Beta Was this translation helpful? Give feedback.
-
This feature has been added in #68 and released in version 5.1.0 |
Beta Was this translation helpful? Give feedback.
This feature has been added in #68 and released in version 5.1.0