Tag: cocoa-touch

ios – Giving UIView rounded corners

The Question : 580 people think this question is useful My login view has a subview which has a UIActivityView and a UILabel saying “Signing In…”. This subview has corners which aren’t rounded. How can I make them round? Is there any way to do it inside my xib? The Question Comments : Doing something

ios – What does the NS prefix mean?

The Question : 596 people think this question is useful Many classes in Cocoa/Cocoa Touch have the NS prefix. What does it mean? The Question Comments : I prefer to believe it means “namespace” 😂 The Answer 1 473 people think this answer is useful It’s from the NeXTSTEP heritage. The Answer 2 796 people

ios – Should IBOutlets be strong or weak under ARC?

The Question : 554 people think this question is useful I am developing exclusively for iOS 5 using ARC. Should IBOutlets to UIViews (and subclasses) be strong or weak? The following: Would get rid of all of this: Are there any problems doing this? The templates are using strong as are the automatically generated properties

ios – Placeholder in UITextView

The Question : 727 people think this question is useful My application uses an UITextView. Now I want the UITextView to have a placeholder similar to the one you can set for an UITextField. How to do this? The Question Comments : Three20’s TTTextEditor (itself using UITextField) supports placeholder text as well as growing by

ios – Xcode – How to fix ‘NSUnknownKeyException’, reason: … this class is not key value coding-compliant for the key X” error?

The Question : 1207 people think this question is useful I’m trying to link a UILabel with an IBOutlet created in my class. My application is crashing with the following error. What does this mean? How can I fix it? *** Terminating app due to uncaught exception ‘NSUnknownKeyException’, reason: ‘[<UIViewController 0x6e36ae0> setValue:forUndefinedKey:]: this class is