You Are Here Home > Xcode

Xcode

Cocoa: Determining Size Of a NSTextView’s Content

You can do this:

[[textView layoutManager] usedRectForTextContainer:[textView textContainer]].size
Cocoa: Determining Size Of a NSTextView’s Content
Comments (0)   Filed under: Cocoa,Mac Programming,Objective-C,Xcode   Posted by: Hamid

iPhone: libpng error: CgBI: unknown critical chunk

If you get this error when trying your app on the device, you have PNG compression on in Xcode, in Xcode 4 goto “Build Settings” search for PNG in the search box and turn off PNG compression…

iPhone: libpng error: CgBI: unknown critical chunk
Comments (1)   Filed under: C Programming,iPhone SDK,Mac Programming,Xcode   Posted by: Hamid
Older Posts »