You can create your own interface that will add the missing methods.
NSWindowDelegateEx = interface(IObjectiveC) [{ Press Ctrl+Shift+G to insert a guid here }] procedure windowDidEnterFullScreen(notification: NSNotification); cdecl; function window(window: NSWindow; willUseFullScreenContentSize: NSSize): NSSize; cdecl; overload; function window(window: NSWindow; willUseFullScreenPresentationOptions: NSApplicationPresentationOptions): NSApplicationPresentationOptions; cdecl; overload; end;
When implementing a class that needs these additional methods, just add your interface in addition to the interface that comes with Delphi.
TMyWindowDelegate = class(TOCLocal, NSWindowDelegate, NSWindowDelegateEx)
source share