Running on Mac, trying to learn XOJO. With all the documentation and examples I can’t figure out how to do this and it seems it should be rather basic:
1: Start view (View1) has one button. When pressed a new view (View2) slides to cover the start view, View1.
2: A button on View2 will slide View2 off View1
3: Both views should be of the type where the color can be changed and controls added
Any gurus have suggestions?
If this solution is in the documentation PLEASE point out where!
I have downloaded this earlier but my level of XOJO experience prevents me from understanding all your code. I do like the “Show Settings” code where a view is animated over the main view but again, I fail to extract the simplicity of it and end up with the “simple” two panel objective I’m looking for.
I downloaded your extensions and viewed your video - the video 9 years old. Am I to believe XOJO has not improved in the past 9 years that it requires these extensions? Really? I had such high hopes.
Thanks for your feedback Jeremie. It’s obvious you invested lots of time on your code and documentation. I’ll take another look and seriously try out your extensions. Thanks again!
Tried to drag/drop iOSDesignExtensions into my project and all I get are errors for each control in the extentions:
“/Users/lessms/DEV/DOJO/Extensions/iOSDesignExtensions/iOSDesignExtensions/TabBarExtensionsXC.xojo_code can not be imported as external as it contains other classes or modules. It will be added to the project.”
If I leave the code and run my simple project I get loads of errors:
“LayerExtensionsXC.SetBorderColorXC, line 8
Type mismatch error. Expected class UIKit.UIColor, but got class UIColor
uic = New UIColor(value)”
AND
“SegmentedControlExtensionsXC.SetSelectedColorXC, line 4
Parameter “image” expects type Ptr, but this is type Int32.
setBackgroundImage_(seg.Handle, imageWithColor(New UIColor(c)), UIControlState.Selected, 0)”
Without a license I can only try to paste the folders/files withing the XOJO app on my MacOS. No matter where I place the cursor/pointer to paste the menu does not show a “Paste” option. If others have pasted these folders without a license then I must be doing something wrong but can’t figure it out.
I even tried to create a new iOS project, no changes of any kind, and past the folders (one or both) and the same results.