• 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
Un-embed UITableView from UIViewController content view in Interface Builder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Un-embed UITableView from UIViewController content view in Interface Builder


  • Subject: Un-embed UITableView from UIViewController content view in Interface Builder
  • From: Saagar Jha <email@hidden>
  • Date: Fri, 24 Mar 2017 20:01:08 -0700

I’m having an issue with Interface Builder that’s driving me up the wall, and was wondering if anyone could shed some light on the issue. In a nutshell, I have a view controller with a hierarchal view layout that looks like this:

UIViewController
UIView (Content view)
UITableView (fills content view)

I made this earlier when I expected to add something else to the content view, but I’ve thought about it and realized I don’t want this anymore. I want the layout to look like this instead:

UIViewController
UITableView (this is now the content view)

i.e. what happens when you drag a table view to a view controller without a content view in Interface Builder–it fills it and becomes the content view itself. Of course, this would be easy to do if I deleted the UIView and dragged a new UITableView in, but I’ve configured it a lot and would prefer a copy/paste or dragging solution that doesn’t break the majority UITableViewCell layout and outlets I have hooked up.

Thanks,
Saagar Jha

 _______________________________________________
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: Un-embed UITableView from UIViewController content view in Interface Builder
      • From: Ben Kennedy <email@hidden>
    • Re: Un-embed UITableView from UIViewController content view in Interface Builder
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: What is the best way to deprecate a protocol method?
  • Next by Date: Re: Un-embed UITableView from UIViewController content view in Interface Builder
  • Previous by thread: Linker warning "linking module flags 'Dwarf Version': IDs have conflicting values" ?
  • Next by thread: Re: Un-embed UITableView from UIViewController content view in Interface Builder
  • Index(es):
    • Date
    • Thread