Re: UITableViewController

2017-06-29 Thread Quincey Morris
On Jun 29, 2017, at 01:05 , Gerriet M. Denkmann wrote: > > and also the Container View has: > Triggered Segues > viedDidLoad TableViewController Embed I have the same thing, so I don’t know what’s different. > What I do not understand: Container View is a UIView, which

Re: UITableViewController

2017-06-29 Thread Gerriet M. Denkmann
like: “EmbedSegueToTableViewController” >> >> 2. in the UITableViewController which formerly did have a UITableView and >> now has the container view: >> >> - (void)viewDidLoad >> { >> … >> [ self performSegueWithIdentifier: @“EmbedSegueTo

Re: UITableViewController

2017-06-28 Thread Quincey Morris
On Jun 28, 2017, at 22:02 , Gerriet M. Denkmann <gerri...@icloud.com> wrote: > > I had to do two more steps: > > 1. give the segue an identifier, like: “EmbedSegueToTableViewController” > > 2. in the UITableViewController which formerly did have a UITableView and now

Re: UITableViewController

2017-06-28 Thread Gerriet M. Denkmann
for the segue. > > That runs just fine. Indeed. Following your instructions again (this time making sure to use an “embed” segue) there is no crash. But also no table view. I had to do two more steps: 1. give the segue an identifier, like: “EmbedSegueToTableViewController” 2. in the UIT

Re: UITableViewController

2017-06-28 Thread Quincey Morris
On Jun 28, 2017, at 01:38 , Gerriet M. Denkmann wrote: > > I did just that. Not quite … > I have a Master View Controller Scene with a MasterViewController ← > UIViewController (which previously had a TableView, now has a UIView, called > “Container View” ); it now also

Re: UITableViewController

2017-06-28 Thread Gerriet M. Denkmann
> On 28 Jun 2017, at 14:37, Quincey Morris > <quinceymor...@rivergatesoftware.com> wrote: > > On Jun 28, 2017, at 00:21 , Gerriet M. Denkmann <gerri...@icloud.com> wrote: >> >> Ok, so I removed my TableView from the scene and tried to drag a >

Re: UITableViewController

2017-06-28 Thread Quincey Morris
On Jun 28, 2017, at 00:21 , Gerriet M. Denkmann <gerri...@icloud.com> wrote: > > Ok, so I removed my TableView from the scene and tried to drag a > UITableViewController into its place. > But Xcode would not allow this. > > So: must a UITableViewController the only (or t

UITableViewController

2017-06-28 Thread Gerriet M. Denkmann
context can result in undefined behavior.” Ok, so I removed my TableView from the scene and tried to drag a UITableViewController into its place. But Xcode would not allow this. So: must a UITableViewController the only (or the top) thing in a scene? Or am I just doing something wrong? B.t.w.: I

Re: Contained UITableViewController doesn't animate (w/ CoreAnimation) frame change

2015-10-05 Thread Daniel Stenmark
Anyone? On Oct 1, 2015, at 11:30 AM, Daniel Stenmark <dstenm...@opentable.com<mailto:dstenm...@opentable.com>> wrote: I have a rather nested UITableViewController whose AutoLayout height change I’m trying to animate using CoreAnimation. (The final product will have a custom anim

Contained UITableViewController doesn't animate (w/ CoreAnimation) frame change

2015-10-01 Thread Daniel Stenmark
I have a rather nested UITableViewController whose AutoLayout height change I’m trying to animate using CoreAnimation. (The final product will have a custom animation timing function, so the UIView animation methods aren’t an option here.) However, when I update the height constraint

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-27 Thread Diederik Meijer | Ten Horses
Not if your UITableView has only one section and you use the section's header view in the way Marcelo suggests. Sections headers scroll up to the top and then remain there - visible - while additional cells scroll underneath it… Op Nov 27, 2013, om 4:30 AM heeft Rick Mann

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-27 Thread Rick Mann
Multiple sections. -- Rick On Nov 27, 2013, at 1:03, Diederik Meijer | Ten Horses diede...@tenhorses.com wrote: Not if your UITableView has only one section and you use the section's header view in the way Marcelo suggests. Sections headers scroll up to the top and then remain there

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-27 Thread Ray Raphaël
I do the following, the property *tableView in UITableViewController is not backed by a _tableView instance variable, so I synthesize that (@synthesize tableView = _tableView;) and then in viewDidLoad: if (!_tableView [self.view isKindOfClass:[UITableView class]]) self.tableView

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-27 Thread Rick Mann
On Nov 27, 2013, at 01:37 , Ray Raphaël cocoa-...@deployedsmarts.com wrote: I do the following, the property *tableView in UITableViewController is not backed by a _tableView instance variable, so I synthesize that (@synthesize tableView = _tableView;) and then in viewDidLoad

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-26 Thread Fritz Anderson
node in the expanding tree. If I right click on the UITableView, I see both the delegate and datasource outlets. I can click them and easily drag/connect to the parent First View Controller. Do you mean something else? You can't put a UITableViewController into a Container View, and link from

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-26 Thread Luther Baker
Right, that seems obviously like fighting the SDK. My suggestion is around rolling your own. IE, I would wire up and drop a UITableView on a parent view controller, I wouldn't drop a UITableViewController on a parent. For the most part, UITVC is a convenience view controller. If it doesn't

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-26 Thread Rick Mann
On Nov 26, 2013, at 08:12 , Luther Baker lutherba...@gmail.com wrote: For the most part, UITVC is a convenience view controller. If it doesn't work out of the box, not hard to roll your own and get the behavior you are looking for ... Even still with Xibs. Unfortunately, this does not work

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-26 Thread Rick Mann
On Nov 25, 2013, at 21:16 , Luther Baker lutherba...@gmail.com wrote: Does the UITableViewController provide something more I'm not seeing? Yes. Support for static (and probably dynamic) cells. I'm implementing this using view controller containment, but it's extraordinarily cumbersome

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-26 Thread Rick Mann
Augh, it's even worse than I thought. The embedded view controller doesn't get to set the navigation bar's items from IB. This is a terrible solution. On Nov 26, 2013, at 11:32 , Rick Mann rm...@latencyzero.com wrote: On Nov 26, 2013, at 08:12 , Luther Baker lutherba...@gmail.com wrote:

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-26 Thread Marcelo Alves
Dynamically at runtime, I'd like to put a fixed banner across the top of a UITableViewController scene with some status information. I want this banner to remain fixed at the top, and for the UITableView to live in a frame below it. Probably I’m missing something or I’m just naïve

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-26 Thread Rick Mann
On Nov 26, 2013, at 19:18 , Marcelo Alves marcelo.al...@me.com wrote: Probably I’m missing something or I’m just naïve (or stupid), but what about the tableHeaderView (or tableFooterView) property? (not the same as section headers) It scrolls with the table content. -- Rick

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-26 Thread Kyle Sluder
On Nov 26, 2013, at 6:06 PM, Rick Mann rm...@latencyzero.com wrote: Augh, it's even worse than I thought. The embedded view controller doesn't get to set the navigation bar's items from IB. This is a terrible solution. Yeah, this is getting more and more tedious. My guess is there's a

Best way to put a fixed view in a UITableViewController scene?

2013-11-25 Thread Rick Mann
Dynamically at runtime, I'd like to put a fixed banner across the top of a UITableViewController scene with some status information. I want this banner to remain fixed at the top, and for the UITableView to live in a frame below it. IB doesn't let you construct this. I wrote this as a bug

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-25 Thread Kyle Sluder
On Nov 25, 2013, at 6:08 PM, Rick Mann rm...@latencyzero.com wrote: Dynamically at runtime, I'd like to put a fixed banner across the top of a UITableViewController scene with some status information. I want this banner to remain fixed at the top, and for the UITableView to live in a frame

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-25 Thread Rick Mann
On Nov 25, 2013, at 18:16 , Kyle Sluder k...@ksluder.com wrote: Use an custom container view controller, and watch the WWDC videos on view controller containment to learn why this is the right thing to do. Can I put an unsubclasses UITableViewController in there, and let my container VC

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-25 Thread Luther Baker
Dropping a UITableView inside of a UIViewController that conforms to the tableview's delegate and datasource is literally as easy as it sounds ... and immensely more flexible. UITableViewController is convenient but at all necessary. On Nov 25, 2013, at 8:16 PM, Kyle Sluder k...@ksluder.com

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-25 Thread Rick Mann
On Nov 25, 2013, at 18:40 , Luther Baker lutherba...@gmail.com wrote: UITableViewController is convenient but at all necessary. Is there a missing not in there? It's necessary if you want to use the static and dynamic cell creation stuff in IB. -- Rick signature.asc Description

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-25 Thread Kyle Sluder
an unsubclasses UITableViewController in there, and let my container VC be the dataSource and delegate? Sure, you could, but why? Then your container VC has to reach in to your table view controller and point its table view at itself. Why not just do the sensible thing and make the container

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-25 Thread Rick Mann
to the tableview's delegate and datasource is literally as easy as it sounds ... and immensely more flexible. UITableViewController is convenient but at all necessary. On Nov 25, 2013, at 8:16 PM, Kyle Sluder k...@ksluder.com wrote: On Nov 25, 2013, at 6:08 PM, Rick Mann rm...@latencyzero.com wrote

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-25 Thread Rick Mann
On Nov 25, 2013, at 18:48 , Kyle Sluder k...@ksluder.com wrote: Sure, you could, but why? Then your container VC has to reach in to your table view controller and point its table view at itself. Why not just do the sensible thing and make the container VC responsible for managing the bar

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-25 Thread Kyle Sluder
, it is not hard to expose it as a public property of your container VC. So, I have basically one property that needs to be reflected at the top of the table. You're saying it's best to make a whole, separate view controller just to do this? If you want to use UITableViewController, yes. Which, as you

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-25 Thread Luther Baker
. On Nov 25, 2013, at 18:40 , Luther Baker lutherba...@gmail.com wrote: Dropping a UITableView inside of a UIViewController that conforms to the tableview's delegate and datasource is literally as easy as it sounds ... and immensely more flexible. UITableViewController is convenient but at all

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-25 Thread Luther Baker
. Does the UITableViewController provide something more I'm not seeing? On Mon, Nov 25, 2013 at 8:43 PM, Rick Mann rm...@latencyzero.com wrote: On Nov 25, 2013, at 18:40 , Luther Baker lutherba...@gmail.com wrote: UITableViewController is convenient but at all necessary. Is there a missing

Re: Best way to put a fixed view in a UITableViewController scene?

2013-11-25 Thread Rick Mann
both the delegate and datasource outlets. I can click them and easily drag/connect to the parent First View Controller. Do you mean something else? You can't put a UITableViewController into a Container View, and link from the UITVC back to the containing view controller. -- Rick

IB UITableViewController refreshing setting?

2013-06-17 Thread Rick Mann
What is the refreshing setting? It can be set to enabled or disabled. -- Rick ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at

Re: IB UITableViewController refreshing setting?

2013-06-17 Thread Laurent Daudelin
On Jun 17, 2013, at 23:05, Rick Mann rm...@latencyzero.com wrote: What is the refreshing setting? It can be set to enabled or disabled. I’d like to know as well. I just accidentally noticed it this afternoon... -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin

Re: IB UITableViewController refreshing setting?

2013-06-17 Thread Laurent Daudelin
to a UIRefreshControl which was introduced in iOS 6 and seems to be putting the control when you pull the refresh the table view. From what I understand, when you choose “Enabled”, the UITableViewController manages this control so that when the user pulls to refresh, the tableview will reload its data

Re: IB UITableViewController refreshing setting?

2013-06-17 Thread Rick Mann
“Enabled”, the UITableViewController manages this control so that when the user pulls to refresh, the tableview will reload its data automatically. Huh. I've recently implemented that control for the first time, and the examples I saw had you create that control programmatically and assign

Re: IB UITableViewController refreshing setting?

2013-06-17 Thread Laurent Daudelin
the refresh the table view. From what I understand, when you choose “Enabled”, the UITableViewController manages this control so that when the user pulls to refresh, the tableview will reload its data automatically. Huh. I've recently implemented that control for the first time

UITableViewController init not called (storyboard)

2013-03-12 Thread Koen van der Drift
I'm playing around with a storyboard app on iOS. To test a TableView I created a UITableViewController subclass, and set it as the custom class in the storyboard. Then in the init method, I added a bunch of objects to act as the datasource, however init never gets called, and my tableview

Re: UITableViewController init not called (storyboard)

2013-03-12 Thread Ten Horses | Diederik Meijer
with a storyboard app on iOS. To test a TableView I created a UITableViewController subclass, and set it as the custom class in the storyboard. Then in the init method, I added a bunch of objects to act as the datasource, however init never gets called, and my tableview remains empty. If I

Re: UITableViewController init not called (storyboard)

2013-03-12 Thread Koen van der Drift
On Mar 12, 2013, at 12:32 PM, Ten Horses | Diederik Meijer diede...@tenhorses.com wrote: Have you tried moving those datasource codelines to viewDidLoad or viewWillAppear? It may be that when the view is instantiated from the storyboard init is not called? I thought about that, and yes

Re: UITableViewController init not called (storyboard)

2013-03-12 Thread Damian Carrillo
The particular initializer in use is initWithCoder: UITableView conforms to the NSCoding protocol. Hope this helps. Damian On Mar 12, 2013, at 11:09 AM, Koen van der Drift wrote: I'm playing around with a storyboard app on iOS. To test a TableView I created a UITableViewController

Re: UITableViewController, with table view not the root of its nib?

2011-08-04 Thread Matt Neuburg
On Wed, 03 Aug 2011 13:49:10 -0700, Jens Alfke j...@mooseyard.com said: As far as I can tell, UITableViewController only works when the table is the root of the nib That's basically right. The docs are very clear on this: you must not use UITableViewController unless the table view

UITableViewController, with table view not the root of its nib?

2011-08-03 Thread Jens Alfke
I’ve got an iOS screen that incorporates a UITableView. This screen is run by a UIViewController subclass. I’d like to subclass UITableViewController instead, to get more table behaviors for free. The problem I’m running into is that the table view is not the root view of my nib. (There’s

Re: UITableViewController, with table view not the root of its nib?

2011-08-03 Thread glenn andreas
On Aug 3, 2011, at 3:49 PM, Jens Alfke wrote: I’ve got an iOS screen that incorporates a UITableView. This screen is run by a UIViewController subclass. I’d like to subclass UITableViewController instead, to get more table behaviors for free. The problem I’m running into is that the table

Re: initWithNibName:nil not working for UITableViewController?

2010-08-16 Thread Jason Foreman
controller. Is this a bug? I've made a small demonstration project that I can easily send in via bugreporter, if so. m. If you review the docs for UITableViewController, you'll see that it changes the standard behavior of a nil nibName argument and instead creates a basic, unconfigured table

initWithNibName:nil not working for UITableViewController?

2010-08-13 Thread Matt Neuburg
I asked for a new file which was a UITableViewController along with the corresponding nib file. But when I instantiated my controller and presented it, the table was not taking on any of the characteristics I was specifying in the nib file. After some experimentation (subtext: this took all day

Re: [iPhone] UITableViewController headache

2009-05-11 Thread Matthew Mashyna
On May 11, 2009, at 12:20 AM, James Lin wrote: Hi all, This is strange, i don't know what to make of it. I have a view with a TableView in it. If i use UITableViewController class, which is supposed to be the correct class to use, the tableview (which has 1 UILabel and 1 UITextField

Re: [iPhone] UITableViewController headache

2009-05-11 Thread Alex Curylo
On 11-May-09, at 6:21 AM, cocoa-dev-requ...@lists.apple.com wrote: UITableViewController is mostly a convenience class that stubs the required protocol for UITableView when you create a new subclass using Xcode. It doesn't really matter what controller class you use if you implement

[iPhone] UITableViewController headache

2009-05-10 Thread James Lin
Hi all, This is strange, i don't know what to make of it. I have a view with a TableView in it. If i use UITableViewController class, which is supposed to be the correct class to use, the tableview (which has 1 UILabel and 1 UITextField combined cells) is only correctly rendered up to cell

UITableViewController with dynamic data

2009-01-14 Thread Mohan Parthasarathy
Hi, I am using a UITableViewController and the data for the table view is generated dynamically (fetched from the network). The data is normally fetched based on some search. But when the Controller is loaded and i don't have the data ready, i want to return something back sane and later reload

Re: UITableViewController with dynamic data

2009-01-14 Thread Luke the Hiesterman
, since they will be ready. Luke On Jan 14, 2009, at 12:24 PM, Mohan Parthasarathy wrote: Hi, I am using a UITableViewController and the data for the table view is generated dynamically (fetched from the network). The data is normally fetched based on some search. But when the Controller is loaded

Re: UITableViewController with dynamic data

2009-01-14 Thread Mohan Parthasarathy
. Luke On Jan 14, 2009, at 12:24 PM, Mohan Parthasarathy wrote: Hi, I am using a UITableViewController and the data for the table view is generated dynamically (fetched from the network). The data is normally fetched based on some search. But when the Controller is loaded and i don't

Re: UITableViewController with dynamic data

2009-01-14 Thread Luke the Hiesterman
they will be ready. Luke On Jan 14, 2009, at 12:24 PM, Mohan Parthasarathy wrote: Hi, I am using a UITableViewController and the data for the table view is generated dynamically (fetched from the network). The data is normally fetched based on some search. But when the Controller is loaded and i don't

Two basic questions regarding UITableViewController and ObjC-2.0

2008-06-18 Thread Stefan Wolfrum
is implemented as a member in the AppDelegate class -- not in the subclassed TableViewController class. Why? The View Controller Programming Guide, Version from 2008-06-09, says (on page 43) that the data source for the table view IS the UITableViewController class and in the code snippets I

[MODERATOR] Re: Two basic questions regarding UITableViewController and ObjC-2.0

2008-06-18 Thread Scott Anguish
As explained multiple times today, including in the list guidelines that were posted on June 15 with the tag MUST READ and are sent to every new subscriber... Discussing NDA Projects (Snow Leopard and iPhone OS) and Private API

Re: [MODERATOR] Re: Two basic questions regarding UITableViewController and ObjC-2.0

2008-06-18 Thread Stefan Wolfrum
thanks sorry, didn't know. 2008/6/18 Scott Anguish [EMAIL PROTECTED]: As explained multiple times today, including in the list guidelines that were posted on June 15 with the tag MUST READ and are sent to every new subscriber... Discussing NDA Projects (Snow Leopard and iPhone OS) and