PDA

View Full Version : Doubt in NSColor




iphonejudy
Jun 5, 2009, 06:32 AM
NSColor * pixelsColor = [Bitmapimage colorAtX: pt.x y: pt.y];


I got error in NSColor

"NSColor undeclared (first use in this function)"



robbieduncan
Jun 5, 2009, 06:40 AM
You are on the iPhone. Why are you not using UIColor?

kainjow
Jun 5, 2009, 11:35 AM
If you look up a class in the documentation and it mentions "AppKit" then that means you can't use it on the iPhone.