You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, many plugins contain the exact same code for Title Casing strings, stripping suffixes like (V.O.), among others.
I'm looking into circumventing this stuff. One possibility would be to write convenience methods into Line and OutlineScene classes in Objective C. This would actually make a lot of sense, as such methods are needed elsewhere, too.
Another approach would be modules. You could import JavaScript modules into your code, be it a custom JS library inside the plugin folder or a global one provided by the app.
Both of these would make plugins very vulnerable to code changes, though. If a plugin would rely on a specific quirk or have methods to fix such peculiarity, fixing the module and/or convenience method might break the plugin.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This is more of a note to self than a discussion.
Right now, many plugins contain the exact same code for Title Casing strings, stripping suffixes like
(V.O.)
, among others.I'm looking into circumventing this stuff. One possibility would be to write convenience methods into
Line
andOutlineScene
classes in Objective C. This would actually make a lot of sense, as such methods are needed elsewhere, too.Another approach would be modules. You could import JavaScript modules into your code, be it a custom JS library inside the plugin folder or a global one provided by the app.
Both of these would make plugins very vulnerable to code changes, though. If a plugin would rely on a specific quirk or have methods to fix such peculiarity, fixing the module and/or convenience method might break the plugin.
Beta Was this translation helpful? Give feedback.
All reactions