• viewDidLoad is never called. How can I debug my storyboard?

    I'm trying to set up my iOS application so that it has two view controllers, one a MTKView and the other a GLKView.  In my main storyboard I have a top level View Controller Scene, that has two Container Views.&#...
    Profile Photo
    last modified by Lob Web Chip
  • Wrong assistant editor

    Hello everybody This is my first post because I'm new to work with xcode. Now I have a problem. On the "Main.storyboard" I designed the first and second page. When I open the assistant editor on the first screen, it ...
    Profile Photo
    last modified by eliasfrehner
  • Xcode 11 Add "Equal Width to Superview" Constraint?

    When I drag to make a constraint from a view to its superview in Interface builder, I no longer see the "Equal widths" in the list of constraints to choose.   If I click the little "Add New Constraint" button, I...
    Profile Photo
    last modified by Macho Man Randy Savage
  • How to maintain the same margins in table view cells on different devices?

    I am trying to develop an information based app with auto layout. Most of the pages are UITableViews, built in IB with static cells containing a simple text field. I would like the width of the text fields to automati...
    Profile Photo
    last modified by XofDyer
  • xib localization

    Hi, I've localized iOS projects successfuly in XCode, but this is an older 2011 (pre storyboard) project I'm trying to add Japanese to.  The NSLocalizedString part has all worked fine & displays correctly in...
    Profile Photo
    last modified by SimonWeg
  • Why does macOS Catalina display a decimal point in the Xcode Constraints value?

    Link to image: https://gyazo.com/8ecec9816e9a262e54c7215feed06a76 This image is a screen shot of Add New Constraints on macOS Catalina + Xcode10.3. (Same for Xcode11.1)   In macOS Mojave, it is displayed as an ...
    Profile Photo
    last modified by takechan
  • TabView in SwiftUI

    I'm using SwiftUI. I want a child view that comes from a tab page to use all the screen, that is to say, to temperarily cover the entire tab bar. How should I do this? What code do I need?   By the way, when I u...
    Profile Photo
    created by rebeccakk
  • Problem With the LaunchScreen

    After Replacing with the LaunchScreen in place of LaunchImage my application text and all got reduced. Why is it so?
    Profile Photo
    last modified by meenu09
  • XCode preview error

    Hello! Last night i spend many time to try fix error in XCode layout preview after source code change. But if I change layout using inspector it works fine then I change my code and it breaks with the error below. I ...
    Profile Photo
    last modified by amabunny
  • autolayout constraints

    When I add a constraint on a control, it conflicts with the one autolayout set for the control, but when I try to fix it in the Document Outline pane, I am not allowed to delete the one autolayout set, but I am allowe...
    Profile Photo
    last modified by ShinehahGnolaum
  • NSBox Custom Error Interface Builder

    I added a custom NSBox from the list of UI elements in interface builder to a window in a .xib. If the pop-up menu for custom is selected I can select the margins, frame color and width, etc. But when I run the progra...
    Profile Photo
    last modified by Tlaloc
  • Command CompileXIB failed with a nonzero exit code

    I have the problem when building ios app using Xcode. That was going well before while building the project. Idk why it appears something weird on the error message. There is nothing wrong with my code actually. The ...
    Profile Photo
    last modified by icungse
  • Xcode 11 Static Table Views in storyboard are not replacing textLabel with localized text

    This issue has occurred in Xcode 11 and we didn't find it until users reported it. It seems that if you have a Static Table View that is grouped, the textLabel.text is not being replaced with the localized text. This ...
    Profile Photo
    last modified by zedsaid
  • iOS 13 broke my SplitViewController

    I have had a published universal app for many years that has worked fine.  Now since the iOS13 update it simply starts to a solid white screen.  The only exception is if I run it on an iPad and change orient...
    Profile Photo
    created by kPas42
  • XCode 11 layout constraints warnings .xibs Mac OS

    Since I switched to XCode 11 I get a a huge list of warnings: views without any layout constraints may clip their content or overlap other views. These are in non-resizeable panels or windows that don't use autosizing...
    Profile Photo
    last modified by Tlaloc
  • Launch screen appears differently in editor than it does on device

    I am trying to edit the launch screen for my app.  I have text labels that are perfectly centered on the launch screen editor in Xcode, but the labels are shifted to the right when the launch screen appears on an...
    Profile Photo
    last modified by epjoy082277
  • Unwanted help menu items

    I've created a very simple one-window macOS app. All the help text for the app is contained in a single plain text file of less than 500 words. I've set up an action and a view controller to display that text when the...
    Profile Photo
    last modified by Albinus
  • Dark style/mode & Light style

    Why, while having the Light Style selected in Interface Style, the Main.storyboard and Simulator show the app dark?
    Profile Photo
    last modified by Armando Castro
  • Xcode 11 Unknown class in Interface Builder file.

    Hi   I recently updated to Xcode 11 GM seed.  However I've noticed that the dreaded "Unknown class in Interface Builder file" is crashing my app.  I haven't changed any class names or storyboards. ...
    Profile Photo
    last modified by craigaps
  • Xcode 11 beta 5: tvOS Tab Bar not showing?

    First I must say it seems Apple has changed the default behaviour of tvOS Tab Bars in tvOS 13. Before they used to disappear scrolling down, now they are fixed on top. This is described in UITabBarController:   ...
    Profile Photo
    last modified by Jecht Sin