Ok guys, this is it!
RMKit and RWKit have been combined into a single framework called RWKit. I’ve stripped out everything I possibly can, simplified the interface where possible, added more comments and a bunch of new API’s.
We’ve gone from around 217 source files and 237 headers to just 21 source files and 33 headers so this is a massive, massive change from RW8. The vast majority of removals have either been old unused code or code that supported our own internal plugins.
Believe it or not, our sample plugin still compiles and runs in RW9 with minimal changes.
Because this is such a heavy change I’d like you guys to do one thing for me.
- Make a copy of your plugin project
- Remove RMKit and RWKit
- Add the new RWKit
- Compile
- Let me know your compile errors
Grab the new RWKit here https://share.getcloudapp.com/nOu8RyYL
Feel free to take a look over the headers and let me know if anything is missing - it’s really tricky figuring out what plugins need.
I’m aiming for a high level of backwards compatibility with RW8 and more work will be done on this over the coming weeks.
A couple of notes
RWKit is now a module so you can use @import RWKit;
RWDocument is now known as RWDocumentProtocol
RWPage is now known as RWPageProtocol
RWLinkStyle is now known as RWKitLinkStyle
RWStyledTextViewDelegate has been removed, it’s methods are no longer required (as far as I can work out)
Cheers
Tom