gatherworks
27 Mar 2012, 1:16 PM
My challenge is that I am trying to create "global" helper functions and I am not sure the best way to do it within Designer. Any recommendations?
So I created an application function and gave it 3 parameters. Question: How do I call that function from within the application?
Now when I put code into the function and save it, the generated files do not contain the content. Further more if you quit the app, you will see a prompt telling you that you have unsaved changes. If I make changes somewhere else in the app and save, it will allow me to exit the app without getting the warning, but then the content of the application functions are lost.
If I want to create a singleton class that does not extend any of your components so that I can use that, should I do this in the application's launch method or is there a better way to do that?
So I created an application function and gave it 3 parameters. Question: How do I call that function from within the application?
Now when I put code into the function and save it, the generated files do not contain the content. Further more if you quit the app, you will see a prompt telling you that you have unsaved changes. If I make changes somewhere else in the app and save, it will allow me to exit the app without getting the warning, but then the content of the application functions are lost.
If I want to create a singleton class that does not extend any of your components so that I can use that, should I do this in the application's launch method or is there a better way to do that?