Top "Interface-builder" questions

Interface Builder is a visual design tool used to create user interfaces for Apple's macOS and iOS platforms.

Xcode 11 add new constraints set zero: use set value instead of default / standard

I used to use autolayout add new constraints to make simple constraints to superview / relative view like this (for loooong …

xcode autolayout interface-builder xcode11 xcode11.3
Loading a UIView subclass from NIB size issues

I have a subclass of UIView that needs to calculates it's height according to it's width. When created in code …

iphone uiview interface-builder nib
How to use AutoLayout to position UIButtons in horizontal lines (wrapping, left aligned)?

I need to create a couple of UIButtons with various widths programmatically in my app (iOS 6.0 and above). I want …

ios xcode interface-builder autolayout nslayoutconstraint
How to disable resizing of the subview of NSSplitView in Interface Builder?

I've created in Interface Builder a NSSplitView with two subviews. I want the left-side view to have fixed width. I've …

cocoa interface-builder nssplitview
How to connect a menu item to a custom action defined in the NSApplication delegate across nib files?

In my Cocoa app I have two NIB/XIB files that I need to connect: MainMenu.xib: contains a custom …

cocoa interface-builder xib nsmenuitem nsapplication
menu item is enabled, but still grayed out

I have a menu with several items created in interface builder. It looks fine there and 'enabled' is checked. But …

objective-c cocoa macos interface-builder nsmenuitem
Xcode Interface Builder. How Do These Autosizing Mask Settings Differ?

I am now quite comfortable using autosizing masks in IB but there are two autosizing setting that I am not …

xcode ios5 interface-builder autosize
uilabel custom font?

I searched for a way to add my custom font to iphone app and I was successful in some cases. …

iphone interface-builder uifont custom-font
Positioning and scaling launch screen image

The image I want to use for my launch screen is tall and narrow. Most of the important content of …

ios uiimageview autolayout interface-builder launch-screen
How to center a NSTextField in a view

i've a NSTextField (label) centered with IB in a view with the text "__DRAG_AND_DROP_YOUR_MEDIA_HERE". In …

objective-c xcode cocoa interface-builder nstextfield