Hi Paul, thanks a lot for your videos. You mentioned in the video about using a real device instead of the simulator, but if you try the app in TestFlight, do you need to deploy the database into Production mode?? thanks in advance.
@martinmajewskiКүн бұрын
If every attribute inside a Model is public now, how to prevent accessing those fields directly from within the code? For example if I use one attribute to compute a division somewhere, I don’t want it to ever become zero as a divisor. So without iCloud I would mark it private and have some setter function that checks the input for a zero value. But with iCloud nothing prevents me to use Xcode’s autocomplete function, accidentally select that attribute and assign zero to it. So you would have to mark those attributes somehow to make clear that these are de-facto private members by e.g. prefixing them with an underscore. However, if you do this along the way while using iCloudKit for some time you would need to provide a model migration plan. Such a cumbersome and not elegant way.
@kbusse11 ай бұрын
Any specific reason why you haven’t instantianted jobs with an empty array?
@raytake89911 ай бұрын
I hold the same question
@RobertHolzapfel3 ай бұрын
@@raytake899 because ... as he explained ... @Relationsships types must be optional!
@Spacer-l3jАй бұрын
because it has to be optional
@richardwinters4114Ай бұрын
If you disable the cloud sync in the Settings for your app, all data on that device is lost.
@dodilodi1278Ай бұрын
Hi, is there a way to add Cloud sync in app only for some(e.g. subscribed) users? Or it is available by default for everyone?
@sumerjacob850Ай бұрын
Where am I getting this User, job and stuff my app has nothing in it, I checked all the stuff as well.
@kiransankarpati2 ай бұрын
Does this work if we deploy this app through ad hoc mode Sir, if in ad hoc device iCloud is logged in ?
@allenwixted1992 Жыл бұрын
Any tips for previews crashing after iCloud integration?
@joyjain31119 ай бұрын
great🤩
@anotherguycalledsmith Жыл бұрын
Thank you very much ;-) Sorry, stupid question… Could I, as a developer have data stored in iCloud that could be displayed to my users - and alter that content dynamically from time to time? My idea is to have this content securely on Apple servers without offering an own web service… Thanks ;-)
@lorenzopirro29439 ай бұрын
Hi! If you mean having RESTful web service (with the management of a database) provided by iCloud well no. You need to interface with the Javascript library or CloudKit with iCloud server services.This is possible with other external services.
@anotherguycalledsmith9 ай бұрын
@@lorenzopirro2943 Ciao Lorenzo, thank you for your answer ;-) I have no idea of any back end stuff whatsoever… My idea was simply to have static content somewhere in Apple's iCloud and to point to this address from within my app, to display images for example. By doing so, my app could be “lean” in the App Store and content would only be loaded from Apple servers when needed. Without the need to establish an own web service that some users of my app might not want to trust - and to avoid any hacking of content from the “outside”. I do not plan to have huge amounts of content there, I just would like to know whether Apple would allow a similar approach like that. Thank you ;-)
@chezchezchezchez2 ай бұрын
Anyone get this working perfectly from this tutorial?