Last active 3 days ago
I tried to download the new example project from this page:
Screenshot of the error:
Check if the following has been done, or works for you:
Now you should be able to select them in creo.
Okay, i get it! Thanks marco and tbd!
Thanks tbd! Your example works fine. I don't get it (yet) how the result of the ipinfo.getjson request ends up on Label ip. Where is this magic happening?
I also tried to modify the example in a way that I can retrieve pure data (no json), from here:
Any hint on how this would work?
Will there be classes for accessing CubeSQLServer, like there is Postgres support?
Currently the spotify tutorial project is no longer working.
Is anyone willing and able to share a sample project which demonstrates how to use httpclient?
I would like to find out whether i can communicate with the SIX saferpay payment gateway and also with a private webservice I created with Xojo.
But I would need some jump-start, a working example, to grasp the Creo way of doing things.
Ah! Yes, now it works also for me.
It looks like unicode characters cannot be used in code-editor, for instance this code does not work:
View1.difficulty = "★".repeat(5)
Do you plan to allow unicode characters in code?
Instead of the 'X' in below code, one then could use a unicode symbol, like a star, etc:
// retrieve difficulty level from database var n = rs.difficulty; // show symbol n times View1.difficulty = "X".repeat(n)
Thanks Marco! The built app works now as expected (using creo build5713).
However, in the IDE I still notice an issue with code completion.
It can be reproduced by using the "Lets Cook Nav" tutorial, step 27.
View1.preparation = rs.preparation_time; View1.cooking = rs.cooking_time; View1.difficulty = rs.difficulty;
While the above code works, only one of the three exposed properties of InfoView are actually showing up.
In my case, I can see "difficulty", but not the other two (See screenshot below).
As mentioned, the built app then DOES SHOW the correct values, even so the properties do no appear in the code editor.
I'm following the lets cook nav tutorial and it works fine up to step 26, where we expose the InfoView properties (cooking, difficulty, preparation).
In the next step (27) we try to set these properties, but somehow not all of those properties are showing up. I deleted and recreated those properties, following the tutorial, but until now they show up only randomly.
Sometimes preparation shows up for View1, sometimes cooking...
I wonder whether I missed something or whether there is an error in the tutorial, or a bug in Creo?
I recorded some of my trials here:
And the tutorial project is here:
Otherwise, I was able to build the project and install it on my iPhone using xCode. Very nice, I'm looking forward to learn more!