• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OSX storyboard window instantiation -- Xcode 6.3.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OSX storyboard window instantiation -- Xcode 6.3.2


  • Subject: Re: OSX storyboard window instantiation -- Xcode 6.3.2
  • From: Marco S Hyman <email@hidden>
  • Date: Thu, 28 May 2015 21:20:24 -0700

I wrote:

> Storyboard (<NSStoryboard: 0x610000004a60>) doesn't contain a controller with identifier ‘initial’
>
> I also tried “instantiateInitialController”.  No errors written to the console but the returned value is nil.
>
> What am I doing wrong?

Perhaps nothing.  I looked at the storyboard file outside of Xcode and
saw that the identifier was NOT what I’d set in Xcode.  It was instead the
name of the storyboard file less the file extension.   Changing the value
in Xcode didn’t seem to affect the file.   Using the magic identifier and
changing showWindow to makeKeyAndOrderFront resolved my issue.

Is this an Xcode bug, a documentation bug, or a bug in my understanding?

Marc

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: OSX storyboard window instantiation -- Xcode 6.3.2
      • From: Quincey Morris <email@hidden>
References: 
 >OSX storyboard window instantiation -- Xcode 6.3.2 (From: Marco S Hyman <email@hidden>)

  • Prev by Date: Re: How do I set a watchpoint?
  • Next by Date: Re: OSX storyboard window instantiation -- Xcode 6.3.2
  • Previous by thread: OSX storyboard window instantiation -- Xcode 6.3.2
  • Next by thread: Re: OSX storyboard window instantiation -- Xcode 6.3.2
  • Index(es):
    • Date
    • Thread