Xcode storyboard: Internal error. Please file a bug
I faced the same issue. And it was solved by cleaning up the build files. cmd + shift + k AND cmd + option + shift + k
I faced the same issue. And it was solved by cleaning up the build files. cmd + shift + k AND cmd + option + shift + k
Xcode 8+, iOS 10+ I recently faced this problem and none of the posted answers did it. It turns out that with the release of iOS 10 SDK, the UIColor initializer init(red:green:blue:alpha:) now uses the extended sRGB range, so you have to set accordingly when configuring your color values on the Storyboard. See Apple’s documentation: … Read more
If your deployment target is iOS 5.0 or later, use this message: [self dismissViewControllerAnimated:YES completion:nil]; Or in Swift: self.dismissViewControllerAnimated(true, completion: nil) If your deployment target is older, use this (deprecated) message: [self dismissModalViewControllerAnimated:YES];
These are the best articles I’ve seen on multiple storyboards. Storyboard best practices Linking storyboards with segues Not only does this guy tell you how to create a new storyboard in code, he recommends multiple storyboards in practice (more modular code) discusses when to use xibs vs storyboards (xibs hold views, storboards are based on … Read more
Reuse and render a xib in a storyboard. Tested with Swift 2.2 & Xcode 7.3.1 1 —- Create a new UIView named ‘DesignableXibView’ File > New > File > Source > Cocoa Touch Class > UIView 2 —- Create a matching xib file named ‘DesignableXibView’ File > New > File > User Interface > View … Read more
There is nothing wrong with your code. This is a logging message internal to Apple, and you should file a radar about it. There are two hints that show that this is probably Apple’s code: The underscore leading the method name _handleNonLaunchSpecificActions:forScene:withTransitionContext:completion is a convention indicating that the method is private/internal to the class that … Read more
No hacks or funkiness required here. The key is defining the desired appearance and setting this value on BOTH the nav bar’s standardAppearance AND its scrollEdgeAppearance. I have the following in the init for my base navigation controller subclass for my entire app: if #available(iOS 13.0, *) { let navBarAppearance = UINavigationBarAppearance() navBarAppearance.configureWithOpaqueBackground() navBarAppearance.titleTextAttributes = … Read more
You can zoom the storyboard by double-click canvas or using top-menu(Editor > Canvas > Zoom). Alternatively: Right click blank space on canvas and choose zoom level (allows to zoom out further than double click)
I had a hard time following the accepted answer so here is more detail. Given the photo below on view controller C you can “exit” back to any view controller in the segue path. ViewController A you can write: – (IBAction)done:(UIStoryboardSegue *)segue { // Optional place to read data from closing controller } ViewController B … Read more
Create a project with an Empty application and Add any viewcontroller (i added TestViewController here) – (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions: (NSDictionary *)launchOptions { self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; // Override point for customization after application launch. TestViewController *test = [[TestViewController alloc] initWithNibName:@”TestViewController” bundle:nil]; UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:test]; self.window.rootViewController = nav; [self.window makeKeyAndVisible]; … Read more