Skip to content
Browse files

renaming screenshot and updating readme

  • Loading branch information...
1 parent 66c8066 commit 575321ebdb3c105d019e13bb5e152db4f35c224b @kgn committed Oct 19, 2012
Showing with 9 additions and 1 deletion.
  1. +9 −1 readme.md
  2. 0 KGNoise.jpg → screenshot.jpg
View
10 readme.md
@@ -1,4 +1,4 @@
-![](https://raw.github.com/kgn/KGNoise/master/KGNoise.jpg)
+![](https://raw.github.com/kgn/KGNoise/master/screenshot.jpg)
I've been developing this noise drawing code for quite some time. It all started with drawing noise in the title bar of [INAppStoreWindow](https://github.com/indragiek/INAppStoreWindow). The original implementation of the noise drawing for the titlebar used `CIFilter`, but this took up an unusual amount of memory and also didn't look so great. So I began my quest for the best noise drawing solution, this project contains the third version which I feel is finally ready for prime time on the Mac and iOS!
@@ -37,6 +37,14 @@ There is also a subclass of `NSView` or `UIView`, depending on your platform, th
Please note that the standard `backgroundColor` is used for `UIView`, but `backgroundColor` does not exist on `NSView` so it has been added to provide the exact same interface for both platforms.
+# KGNoiseLinearGradientView & KGNoiseRadialGradientView
+
+`KGNoiseLinearGradientView` and `KGNoiseRadialGradientView` inherit from `KGNoiseView` and draw a linear or radial gradient respectively. They provide one additional property to set the alternate background color to be used in the gradient.
+
+```obj-c
+@property (strong, nonatomic) NSColor/UIColor *alternateBackgroundColor;
+```
+
# KGNoiseExample
This project contains an example project that demonstrates how `KGNoiseView` could be used in a Mac or iOS app.
View
0 KGNoise.jpg → screenshot.jpg
File renamed without changes

0 comments on commit 575321e

Please sign in to comment.
Something went wrong with that request. Please try again.