Create easily and display a modal overlay with custom content above a NSWindow
.
The content is provided by a NSViewController
.
The modalOverlay contains many customizable properties: backgroundColor, appearance, animates, animation direction, ....
Notifications will be sent before and after the modalOverlay is shown and closed. The behavior of modalOverlay can be altered by a delegate.
See the header JModalOverlay.h
for a description of functionalities, it's fully documented.
- Add
JMModalOverlay.xcodeproj
to your project - Link your application against JMModalOverlay (framework)
- Import
<JMModalOverlay/JMModalOverlay.h>
in your code files
-
For distributed app, add a copy phase to include the framework in the app bundle.
-
The JMModalOverlay requires QuartzCore.framework.
See Demo app of JModalOverlay for example.
Twitter: @kodlian