Hi,
Hope you all doing well, I am getting a memory leak while setting the font of UIButton. This is the code which I am using to set the font,
[MyBtn.titleLabel setFont:[UIFont boldSystemFontOfSize:12]];
whereas MyBtn is connected to IBOoutlet and I am not allocating memory to it.
I don't see any thing wrong in the code. Hopeful...
I started with a Tab Bar Application. I deleted the SecondViewController.xib and in Interface Builder I deleted the associated tab bar button. Then in XCode I created a SecondViewController and a ThirdViewController. I added two tab bar buttons in IB and made these view controllers the file owners for their respective buttons. Then in th...
Hi guys, I have a View Controller in which I have UIwebView created in IB.
IBOutlet UIWebView *webView;
@property (nonatomic, retain) IBOutlet UIWebView *webView;
@synthesize webView;
this webView has retainCount = 2 in viewDidLoad. Why?
Thanks
...
I'm using the iPhone SDK 4.0 and I want to connect IBOutlet UIImageView *block; to more than one image on the view in interface builder. However, whenever I try and link the second image, the first image becomes disconnected.
How can I connect two images to the same IBOutlet code?
...
hey,
i am stuck on one problem that i am not able to solve.
I have a CourtView : NSView in which i can draw and where it stores my mouseDownPoint and mouseUpPoint.
And I have a WindowManager : NSObject which has CourtView as an IBOutlet CourtView *courtView;
What i want to do is that as soon as the mouse is released, so - (void)mouseU...
I am trying to make my editable UITextView resign the keyboard (resignFirstResponder) when the user taps "Done." Using a UITextField, I have been able to do this with the following code:
- (IBAction)doneEditing:(id)sender {
[sender resignFirstResponder];
}
... and then to attach it to the relevant UITextField in Interface Builder ...