https://github.com/gorenje/grkit
utilities for cappuccino applications
https://github.com/gorenje/grkit
Last synced: 2 months ago
JSON representation
utilities for cappuccino applications
- Host: GitHub
- URL: https://github.com/gorenje/grkit
- Owner: gorenje
- License: lgpl-3.0
- Created: 2011-03-28T23:25:29.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2014-08-19T09:14:06.000Z (over 10 years ago)
- Last Synced: 2025-01-04T19:45:04.947Z (4 months ago)
- Language: Objective-J
- Homepage:
- Size: 152 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
- License: LICENSE
Awesome Lists containing this project
README
Some utilities for Cappuccino
=============================Still work in progress.
GRClassMixin
------------Runtime helper for mixing functionality into existing objects. Similiar to the
mixins found in Ruby but to runtime. That means that methods defined by the class
including the mixin, *will* be overridden and lost. A mixin should not define
methods that a class wants to define.GRRotateView
------------Provide the basics for creating a view that can rotate it self and still know whether
a mouse event is destined for the view.GRInfoWindow
------------Subclass of CPAlert that allows having no buttons. It was possible to have a CPAlert
with no button in release 0.8.1 of Cappuccino, but with 0.9.x this was removed. So
this class provides a no-button-alert window.GRCommWorker
------------Wrapper around CPURLConnection and LPURLPostRequest to provide the REST actions
(DELETE and PUT in addition to GET and POST). These wrappers assume that the
response is Json and pass back a JSObject to the delegate.GRColorStopPicker
-----------------Provide an extra tab to the CPColorPanel to allow for the definition of gradients.
This is still experimental, use it at your own risk and see g_r_color_stop_picker.j
for details on usage.Usage
=====Similiar to other Frameworks, this should be included in the Frameworks directory
in your application:cd Frameworks && git clone git://github.com/gorenje/GRKit.git
Or if you like, add an extra Libraries directory, build the library and link from
Frameworks directory:### checkout and build library.
cd Libraries
git clone git://github.com/gorenje/GRKit.git
cd GRKit
jake release && jake debug### link from frameworks
cd ../../Frameworks
ln -s ../Libraries/GRKit/Build/Release/GRKit
cd Debug
ln -s ../../Libraries/GRKit/Build/Debug/GRKitThis setup can be seen in action at:
https://github.com/primalmotion/Archipel/tree/master/ArchipelClient