Is it possible to set UIView border properties from interface builder?
Is it possible to control UIView border properties (color, thickness, etc…) directly from interface builder or I can only do it programmatically? 9 Answers 9
Is it possible to control UIView border properties (color, thickness, etc…) directly from interface builder or I can only do it programmatically? 9 Answers 9
Have been out of Swift coding for almost a year, I’m back. Download Xcode 10 beta. Have I lost my mind? I’ve tried every trick I know, none of the UI elements show up in storyboard. Zero. The sidebar is empty. Xcode 10: Xcode 9, no problem there they are, all my UI buttons, etc. … Read more
How can I enter RGB or Hex color values for backgrounds in Interface Builder? I can select predefined colors but I would like to manually enter in RGB values. Where can I do this? 5 Answers 5
I am working on a project on which I have to preselect a particular cell. I can preselect a cell using -willDisplayCell, but I can’t deselect it when the user clicks on any other cell. – (void)tableView:(UITableView*)tableView willDisplayCell:(UITableViewCell*)cell forRowAtIndexPath:(NSIndexPath*)indexPath { AppDelegate_iPad *appDelegte = (AppDelegate_iPad *)[[UIApplication sharedApplication] delegate]; if ([appDelegte.indexPathDelegate row] == [indexPath row]) { [cell … Read more
I’m trying to do something a bit elaborate, but something that should be possible. So here is a challenge for all you experts out there (this forum is a pack of a lot of you guys 🙂 ). I’m creating a Questionnaire “component”, which I want to load on a NavigationContoller (my QuestionManagerViewController). The “component” … Read more
Even though Interface Builder is aware of a MyClass, I get an error when starting the application. This happens when MyClass is part of a library, and does not happen if I compile the class directly in the application target. 46 Answers 46 Despite the “Unknown class MyClass in Interface Builder file.” error printed at … Read more
I saw in the inspector that I can change the background color, but I’d like to also change the border color and thickness, is this possible? 14 Answers 14
This question’s answers are a community effort. Edit existing answers to improve this post. It is not currently accepting new answers or interactions. I got an error on Xcode saying that there was no information about the view controller. Could not insert new outlet connection: Could not find any information for the class named Why … Read more
I have designed my custom Cell in IB, subclassed it and connected my outlets to my custom class. I have three subviews in cell content which are: UIView (cdView) and two labels (titleLabel and emailLabel). Depending on data available for each row, sometimes I want to have UIView and two labels displayed in my cell … Read more
I am developing exclusively for iOS 5 using ARC. Should IBOutlets to UIViews (and subclasses) be strong or weak? The following: @property (nonatomic, weak) IBOutlet UIButton *button; Would get rid of all of this: – (void)viewDidUnload { // … self.button = nil; // … } Are there any problems doing this? The templates are using … Read more