• 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
UINavigationController subclass won't load its nib.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UINavigationController subclass won't load its nib.


  • Subject: UINavigationController subclass won't load its nib.
  • From: Half Activist <email@hidden>
  • Date: Fri, 11 Oct 2013 11:12:47 +0200

Hi,

	To put it shortly, my UINavigationController doesn't load its assigned NIB at all.

	I've got an UINavigationController subclass that contains the code for an object inspector in an app i'm writing.
	It's declared as the file's owner of a nib of the same name, this nib helps me build the ui of the various subviews pushed as details of some parameter, selected on a root table view. (ie a somewhat classical way for an inspector on ios).
	Now, I instantiate my view controller with:

	[ [ MyNavController alloc ] initWithNibName: @"MyNavController" bundle: nil ];

	And display it in a popover.

	The popover remains empty.
	loadView is called but it doesn"t not contain the root view assigned in IB.
	None of my outlets are populated, I overloaded some setters, they aren't called at all.
	All other objects aren't instantiated by the way...
	...Therefore I guess the NIB isn't even loaded!

	To rule out a potential resource loading error, I wrote a nib loading method of mine using UINib.
	And it works, the NIB is correct, everything is correct. Except that UINavigationController doesn't want to load its assigned NIB.

Regards.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: UINavigationController subclass won't load its nib.
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: Receiving system notifications in 10.8
  • Next by Date: Re: Correct usage of NSTextView and NSFindBar
  • Previous by thread: Re: Receiving system notifications in 10.8
  • Next by thread: Re: UINavigationController subclass won't load its nib.
  • Index(es):
    • Date
    • Thread