Hi,
Trying to get my business related app up and running.
Is there a super easy tutorial to uikit?
Here's what I'm doing.
1) Open Table view example in Gideros
2) Export the app to applications/gideros
3) Copy uikit.mm to the project /plugins/
4) In xcode choose add files and add uikit.mm to the plugins folder
5) Build and run
The error I get is:
"*callFile* stack NOT ok begin:1 end:2 delta:-1
bad argument #-1 to 'new' (string expected, got function)
stack traceback:
"
Comments
In the main.lua file in the project change line 33 from
local tableView = TableView.new()
to either
local tableView = TableView.new("Plain")
or
local tableView = TableView.new("Grouped")
depending on which you want.
Likes: Tom2012
It should be a zip file in the Gideros Studio folder.
Just add the plugins the same way you do with your exported project.
Then run the GiderosiOSPlayer app either on a device or in the iOS Simulator.
If it is in the simulator you should be able to just press play in Gideros Studio.
If it is on a device you will need to go into the player menu in Gideros Studio.
Click Player Settings, Untick loclahost and type in the IP shoen on the device when the GiderosiOSPlayer app is running on it.
Thanks
You simply set the rotation to 0
Just a quick thing.
I see you are using SceneManager please note the UIKit elements that you use will not transition or remove when the scene changes.
They will need to be manually hidden or removed as they are placed on a view on top of everything else.
I am working on a modified version of Scenemanager currently so that it can handle UIKit elements (including transitioning them which I have made a modified UIKit Plugin for).
Hopefully I will have it done soon but have a lot of things on atm so may be a while.
I'll see if I can get my animation functions added to the UIKit plugin then at least you could detect that the scene has started changing and animate them out appropriately.
Just in case you are interested, if you use the Hot wax (BhWax) plugin, it comes with a component, BhUIViewFrame, that will allow UIKit views to play nicely with the Gideros SceneManager. You can see this demonstrated here with a button and an image view transitioning in and out of a scene.
Just as an addition, it also shows the live text to speech that you can obtain using the online Google Text To Speech service with a few lines of wax code.
I've uploaded a new version of the BhWax demo program in the GitHub Repository
best regards