Samples
Samples
Calculator.OSX
Language: Oxygene, Platform: All, Category: Calculator
https://github.com/remobjects/ElementsSamples/tree/master/Oxygene/All/Calculator/Calculator.OSX
-
Calculator.OSX
-
References
- Cocoa
- rtl
- libToffee
- libElements
- Source Files
- Other Files
-
References
AppDelegate.pas
namespace Calculator.OSX;
interface
uses
AppKit,
Foundation;
type
[IBObject]
AppDelegate = public class(INSApplicationDelegate)
private
fMainWindowController: MainWindowController;
protected
public
method applicationDidFinishLaunching(aNotification: NSNotification);
end;
implementation
method AppDelegate.applicationDidFinishLaunching(aNotification: NSNotification);
begin
fMainWindowController := new MainWindowController();
fMainWindowController.showWindow(nil);
end;
end.
