I suggest a work-around as I use it myself in my Zip classes:
Make a non-encrypted subclass of your encrypted class. That subclass can then call the encrypted functions (which are all “protected” instead of “public”). That way, the user can see even the source code of the public functions, and you can add documentation to each of them.
[quote=57168:@Thomas Tempelmann]I suggest a work-around as I use it myself in my Zip classes:
Make a non-encrypted subclass of your encrypted class. That subclass can then call the encrypted functions (which are all “protected” instead of “public”). That way, the user can see even the source code of the public functions, and you can add documentation to each of them.[/quote]
While that would be fine for something like zip cases, it would be a real pain for subclassed controls… Think listbox subclasses.
IMO the API for encrypted class should be exposed just as it is for internal classes who’s code we can’t access even if under the hood they are written in Xojo.