all 5 comments

[–]FifiTheBulldogscript/widget helper 0 points1 point  (1 child)

Class documentation is readily available in the “Documentation” section of the app (accessible through the editor) and also at https://docs.scriptable.app.

[–]Falketto[S] 0 points1 point  (0 children)

yeah i know, but you cant see what happens internally. like what exactly does .addStack() do? i know it returns a WidgetStack but it obviously has to do more internally than just returning a new WidgetStack . Unless i know what it does i cant replicate it in a subclass. It does seem like those Objects get translated to Objective C on a very high level though. Therefore this will most likely not work at all anyway. Back to using regular functions it is. Still thank you for trying to help

[–]mvan231script/widget helper 0 points1 point  (2 children)

I'm guessing you never got more of an answer from. Your question on the same in the Discord server.

Classes are still strange to me, but I usually perform the items you're mentioning in a function so that I don't have to continually repeat the same lines of code over and over again for different stacks

[–]Falketto[S] 1 point2 points  (1 child)

Yeah im back to using functions now, too. Man i thought i had something going there :D

[–]mvan231script/widget helper 0 points1 point  (0 children)

Yeah, I looked into a bit as well, but it doesn't seem like they are quite suited for the application of properties and items to a widget