Re: Master - Detail: How to get back?

2015-04-16 Thread Kyle Sluder
On Thu, Apr 16, 2015, at 09:46 AM, Roland King wrote: > > > On 16 Apr 2015, at 22:20, Gerriet M. Denkmann wrote: > > > >> > >> On 16 Apr 2015, at 13:41, Roland King wrote: > >> > >> > >>> > >>> 5. Run > >>> > >>> iPhone- tapping on "Do & Back" prints: > >>> 2015-04-16 12:16:52.799 Dum

Re: Master - Detail: How to get back?

2015-04-16 Thread Gerriet M. Denkmann
> On 16 Apr 2015, at 21:42, Kyle Sluder wrote: > > On Apr 15, 2015, at 10:49 PM, Gerriet M. Denkmann > wrote: >> >> >> >> >> 3.Run >> >> Run on iPhone: >> Back Button is called "Master" >> >> Run on iPad: >> Back Button is called "Master iPad" >> >> Strange, but not very important.

Re: Master - Detail: How to get back?

2015-04-16 Thread Roland King
> On 16 Apr 2015, at 22:20, Gerriet M. Denkmann wrote: > >> >> On 16 Apr 2015, at 13:41, Roland King wrote: >> >> >>> >>> 5. Run >>> >>> iPhone - tapping on "Do & Back" prints: >>> 2015-04-16 12:16:52.799 Dummi[28069:20737983] -[MasterViewController >>> doSomethingAndBackToMaster:]

Re: Master - Detail: How to get back?

2015-04-16 Thread Kyle Sluder
ile a Radar and send me the number. > Bug 20566151 iPad cannot Unwind > > If someone wants to check this bug, here is how I did it: > > > 1. Create project > > I created (in Xcode 6.3) a new iOS Application: Master-Detail Application; > named it "Dummi&q

Re: Master - Detail: How to get back?

2015-04-16 Thread Gerriet M. Denkmann
> On 16 Apr 2015, at 13:41, Roland King wrote: > > >> >> 5. Run >> >> iPhone - tapping on "Do & Back" prints: >> 2015-04-16 12:16:52.799 Dummi[28069:20737983] -[MasterViewController >> doSomethingAndBackToMaster:] did something with "2015-04-16 05:16:49 +", >> will do: [ perform]

Re: Master - Detail: How to get back?

2015-04-15 Thread Roland King
> > 5. Run > > iPhone- tapping on "Do & Back" prints: > 2015-04-16 12:16:52.799 Dummi[28069:20737983] -[MasterViewController > doSomethingAndBackToMaster:] did something with "2015-04-16 05:16:49 +", > will do: [ perform] > > iPad - tapping on "Do & Back" prints: > nothing. >

Re: Master - Detail: How to get back?

2015-04-15 Thread Gerriet M. Denkmann
did it: 1. Create project I created (in Xcode 6.3) a new iOS Application: Master-Detail Application; named it "Dummi" (left all the other things unchanged: i.e Objective-C, Universal, no CoreData). 2. Rename Master Scenes Looked at Main.storyboard. It has 2 Master Scenes.

Re: Master - Detail: How to get back?

2015-04-15 Thread Kyle Sluder
On Wed, Apr 15, 2015, at 07:18 AM, Gerriet M. Denkmann wrote: > > While my iPhone can use the “DoSomethingAndGoBackToMasterView” button > fine, > the same button does nothing for iPad. > > Of course iPad does not need an unwinding segue - both master and detail > view are always visible (at least

Re: Master - Detail: How to get back?

2015-04-15 Thread Gerriet M. Denkmann
While my iPhone can use the “DoSomethingAndGoBackToMasterView” button fine, the same button does nothing for iPad. Of course iPad does not need an unwinding segue - both master and detail view are always visible (at least in landscape orientation). But the “DoSomething” part is still needed. C

Re: Master - Detail: How to get back?

2015-04-15 Thread Gerriet M. Denkmann
> On 15 Apr 2015, at 15:37, Quincey Morris > wrote: > > On Apr 15, 2015, at 01:18 , Gerriet M. Denkmann wrote: >> >> In DetailViewController I added: >> >> - (IBAction)unwindToMainMenu:(UIStoryboardSegue*)sender > > I dunno offhand, but you originally said you’re trying to go back to the >

Re: Master - Detail: How to get back?

2015-04-15 Thread Quincey Morris
On Apr 15, 2015, at 01:18 , Gerriet M. Denkmann wrote: > > In DetailViewController I added: > > - (IBAction)unwindToMainMenu:(UIStoryboardSegue*)sender I dunno offhand, but you originally said you’re trying to go back to the master view controller, and the tech note says that the destination n

Re: Master - Detail: How to get back?

2015-04-15 Thread Gerriet M. Denkmann
> On 15 Apr 2015, at 14:51, Quincey Morris > wrote: > > On Apr 14, 2015, at 23:47 , Gerriet M. Denkmann wrote: >> >> Using the Xcode template: iOS - Master-Detail, the Detail view has (in the >> top left corner) a Back-Button, which works fine. >> &g

Re: Master - Detail: How to get back?

2015-04-15 Thread Quincey Morris
On Apr 14, 2015, at 23:47 , Gerriet M. Denkmann wrote: > > Using the Xcode template: iOS - Master-Detail, the Detail view has (in the > top left corner) a Back-Button, which works fine. > > Now I added another UIBarButtonItem called: “Do something and go back” > connected t

Master - Detail: How to get back?

2015-04-14 Thread Gerriet M. Denkmann
Using the Xcode template: iOS - Master-Detail, the Detail view has (in the top left corner) a Back-Button, which works fine. Now I added another UIBarButtonItem called: “Do something and go back” connected to some IBAction in DetailViewController. But how to make it go back to the MasterView

Master-Detail in iOS

2014-07-10 Thread Gerriet M. Denkmann
I got the default iOS Master-Detail project (using Swift) from Xocde 6 beta 3. Deployment target 7.1 There is a UISplitViewController which has an array of 2 UINavigationControllers, both have each one UIViewController: the first has MasterViewController, the second one has

Re: Master - Detail

2013-03-26 Thread Alex Kac
We've had a lot of success with this: https://github.com/mattgemmell/MGSplitViewController though we've customized the heck out of it too... On Mar 26, 2013, at 10:34 AM, Fritz Anderson wrote: > On 25 Mar 2013, at 7:13 PM, koko wrote: > >> The Master - Detail templa

Re: Master - Detail

2013-03-26 Thread Fritz Anderson
On 25 Mar 2013, at 7:13 PM, koko wrote: > The Master - Detail template for an iOS app is a good place to start but, …. > > … how does one size the split view to proportions dictated by the new app > being developed? You don't. UISplitViewController is hard-coded to make th

Master - Detail

2013-03-25 Thread koko
The Master - Detail template for an iOS app is a good place to start but, …. … how does one size the split view to proportions dictated by the new app being developed? I.e. I want the Master to be smaller and the Detail to be larger in the horizontal. -koko

How to properly clear subordinate arrayControllers in master-detail hierarchy?

2012-11-23 Thread Erik Stainsby
I have a windowController which swaps two views, a list versus a single record's detail view. The detail view contains a hierarchy of arrayControllers which each support table views. At the top level of the detail view is an arrayController which contains the current selection from the list vi

Re: Best practice when opening a Master-Detail app with no data in it yet

2012-09-20 Thread Richard Altenburg (Brainchild)
Op 20 sep. 2012, om 11:29 heeft Uli Kusterer het volgende geschreven: > You're letting a template file made by a programmer that illustrates how to > code decide what features your user interface will present? :-o No, but I was just wondering that if I want a better approach what would be con

Re: Best practice when opening a Master-Detail app with no data in it yet

2012-09-20 Thread Uli Kusterer
On 20.09.2012, at 08:49, Richard Altenburg (Brainchild) wrote: > The Add button not being there in portrait mode on iPad is how the default > Master-Detail template works. You're letting a template file made by a programmer that illustrates how to code decide what feature

Re: Best practice when opening a Master-Detail app with no data in it yet

2012-09-19 Thread Richard Altenburg (Brainchild)
but if it's something the user regularly > does, it should probably rather be in a toolbar. The Add button not being there in portrait mode on iPad is how the default Master-Detail template works. In my app, the user only adds a few items to the list, it is not a high volume data tool. I

Re: Best practice when opening a Master-Detail app with no data in it yet

2012-09-19 Thread Richard Altenburg (Brainchild)
I might do both, although I can not do a "tap here" instruction if the Add button is not visible at launch. Have to create another way for that initial item to become alive. Thanks for your thoughts. [[[Brainchild alloc] initWithName:@"Richard Altenburg"] saysBestRegards]; Op 19 sep. 2012, om

Re: Best practice when opening a Master-Detail app with no data in it yet

2012-09-19 Thread Uli Kusterer
On 19.09.2012, at 20:30, Richard Altenburg (Brainchild) wrote: > Is it considered good practice to create an initial item on start-up (only > when there is no user created item already) and programmatically select that > item in the table view and go into its detail view immediately? That way t

Re: Best practice when opening a Master-Detail app with no data in it yet

2012-09-19 Thread Evadne Wu
Seed data is always a good idea. A “tap here to make a new item” approach would also work in some cases. Best, Eve On Sep 19, 2012, at 11:30 AM, "Richard Altenburg (Brainchild)" wrote: > I am creating a master-detail app for both iPad and iPhone families of > devices. For

Best practice when opening a Master-Detail app with no data in it yet

2012-09-19 Thread Richard Altenburg (Brainchild)
I am creating a master-detail app for both iPad and iPhone families of devices. For the iPad I use a split view controller and for the iPhone I use the standard drill-down interface (a table view when selected pushes the detail view onto the screen). Now it feels kind of awkward when a user

Re: Master-detail views and managing next responder sequence

2012-08-05 Thread Erik Stainsby
Thanks Graham, that has 90% of my issue addressed. The system seems to swallow a couple of keystrokes entering each table, but at least it does get there. I suspect a few judiciously placed refusesFirstRespnder's and I'm home free. Cheers, Erik On 2012-08-05, at 6:47 PM, Graham Cox wrote: >

Re: Master-detail views and managing next responder sequence

2012-08-05 Thread Graham Cox
On 06/08/2012, at 11:38 AM, Erik Stainsby wrote: > My first higher-level question then is how I ought to be going about > establishing the tab-key behaviour sequence I want to achieve? Have you investigated whether -[NSWindow recalculateKeyViewLoop] would do the job? I've used this after in

Master-detail views and managing next responder sequence

2012-08-05 Thread Erik Stainsby
My current project is built around a master-detail style interface: the primary record owns the window content, while subviews display related content from various sources. My problem is that the tableViews which display these subordinate lists seem to mess up the responder chain's sequenc

Re: CoreData and 3 level Master/Detail tableView

2011-12-21 Thread Jerry Krinock
On 2011 Dec 20, at 09:57, gumbo...@mac.com wrote: > How do I display the EventScores for selected Entry in the second column? I think maybe you need another array controller or two. Generally, one array controller for each table. In the detail array controller, bind the "Content" to the maste

CoreData and 3 level Master/Detail tableView

2011-12-20 Thread gumboots
have a 3 level master/detail view. I am currently using 3 tableViews, the first one is bound to the competitionsArrayController arrangedObjects.name The second tableView is bound to the selectedCompetition.entries arrayController arrangedObjects.shooter.name The third tableView has 2

CoreData and 3 level Master/Detail tableView

2011-12-20 Thread gumboots
will be used to select the national teams. Simply put a Competition entity can have multiple Events and multiple Entries. An Entry can have multiple EventScores but may not have an EventScore for every Event. Event is also connected to eventScores. I have a 3 level master/detail view. I am

Re: Master Detail

2011-03-17 Thread Georg Seifert
16.03.2011, at 18:50, Quincey Morris wrote: > On Mar 16, 2011, at 09:57, Georg Seifert wrote: > >> If I have a master detail interface bound to a array controller. >> >> To explain my problem (the actual structure is different but as an >> explanation): >> The li

Re: Master Detail

2011-03-16 Thread Quincey Morris
On Mar 16, 2011, at 09:57, Georg Seifert wrote: > If I have a master detail interface bound to a array controller. > > To explain my problem (the actual structure is different but as an > explanation): > The list shows a some persons. Then I have a switch that selects if the

Master Detail

2011-03-16 Thread Georg Seifert
Hi, If I have a master detail interface bound to a array controller. To explain my problem (the actual structure is different but as an explanation): The list shows a some persons. Then I have a switch that selects if the detail view shows the private or the work address. Is there any easy way

iPad: Multiple master/detail views

2010-11-05 Thread Phillip Mills
I have an application that uses a few different master/detail relationships within its model and I'm having trouble figuring out how to represent that in the UI. Conceptually, I want a toolbar that is always available, with some buttons that choose what kind of thing should be displayed

Re: To-Many/To-Many Master/Detail Core Data / Bindings Question

2009-12-28 Thread Hunter Hillegas
Yes, that's exactly it. Dual level master detail. For whatever reason, the part I just couldn't see in my head was how to wire up the second NSArrayController to accountsController.selection.items. Thank you so much - just needed that little kick to get to the next step. Appreciate i

Re: To-Many/To-Many Master/Detail Core Data / Bindings Question

2009-12-28 Thread Quincey Morris
On Dec 28, 2009, at 16:19, Hunter Hillegas wrote: > I did read this page - but I'm not sure it does what I want because it's only > 2/3rds of my interface. The master-detail explained there works fine for my > items list and to display the selected item's properties b

Re: To-Many/To-Many Master/Detail Core Data / Bindings Question

2009-12-28 Thread Hunter Hillegas
Hi Quincey, I did read this page - but I'm not sure it does what I want because it's only 2/3rds of my interface. The master-detail explained there works fine for my items list and to display the selected item's properties but I need the list of items (the master in Apple'

Re: To-Many/To-Many Master/Detail Core Data / Bindings Question

2009-12-28 Thread Quincey Morris
On Dec 28, 2009, at 15:32, Hunter Hillegas wrote: > My question is if I can do this all with bindings. The table of accounts > works fine. What I can't seem to figure out is how to limit the 'Items' in > the second NSTableView to just be the ones associated with the selected > account, using bi

To-Many/To-Many Master/Detail Core Data / Bindings Question

2009-12-28 Thread Hunter Hillegas
Howdy, Trying to crank out a real Cocoa app as an experiment - usually spend my time doing Cocoa Touch. Anyway, I have a pretty simple set of models: Accounts<->>Items I want to setup a screen with a table of accounts. When you click on an account, you see a table of items, click on an item,

Re: Simple array controller master-detail binding problem

2009-08-24 Thread Kyle Sluder
On Mon, Aug 24, 2009 at 9:58 AM, Leon Starr wrote: > Pardon my thinking as I write I am guessing I need the retain because > this thing is being autoreleased.  AND it worked in the command line because > the pool isn't drained in the middle of my session, but with a GUI it is > drained on each

Re: Simple array controller master-detail binding problem

2009-08-24 Thread Leon Starr
Yes it does, Kyle! I was so focused on being an array controller binding idiot that I forgot that I was also a memory management fool. I was about to google that NSZombie thing - which I will do next, when I took one more look at the code, this time with a clear focus on memory. The rele

Re: Simple array controller master-detail binding problem

2009-08-24 Thread Kyle Sluder
On Mon, Aug 24, 2009 at 9:14 AM, Leon Starr wrote: > There was no error message in the session when I originally submitted my > question.  But I just tried running my code (unchanged) this morning several > times and found that SOMETIMES I get an error in the console just before the > stack trace.

Re: Simple array controller master-detail binding problem

2009-08-24 Thread Leon Starr
On Aug 24, 2009, at 5:43 , cocoa-dev-requ...@lists.apple.com wrote: From: Quincey Morris Subject: Re: Simple array controller master-detail binding problem On Aug 23, 2009, at 19:58, Leon Starr wrote: I can't make a lot of sense out of the stack trace, but it does end with: 0 objc_msgSend 1 o

Re: Simple array controller master-detail binding problem

2009-08-23 Thread Quincey Morris
On Aug 23, 2009, at 19:58, Leon Starr wrote: I can't make a lot of sense out of the stack trace, but it does end with: 0 objc_msgSend 1 objc_getProperty 2 -[Combatant weapons] 3 -[NSObject(NSKeyValueCoding) valueForKey:] 4- [NSObject(NSKeyValueCoding) valueForKeyPath:] You left out the vital

Simple array controller master-detail binding problem

2009-08-23 Thread Leon Starr
lp greatly appreciated! I've been trying to build a simplified implementation of the combatants example in the Cocoa Bindings Programming Topics doc to prove that I really understand Array Controllers and Binding. Apparently, I do not! My goal is to get two array controllers (master/

Re: KVO and master-detail NSTableViews

2009-06-05 Thread Stefan Reitshamer
I think you're manually using KVO when you could (and perhaps should) be using bindings. I also think you're setting up the observations in the wrong direction. I wouldn't have the app controller observe properties of the array controller. Mediating controllers should bind to (thus, impl

Re: KVO and master-detail NSTableViews

2009-06-04 Thread Ken Thomases
On Jun 4, 2009, at 5:24 AM, Stefan Reitshamer wrote: I'm getting flaky behavior from my KVO code and I'm wondering what I'm doing wrong. I can't find any similar examples. I have a pop-up button and 2 NSTableViews. The pop-up button selection controls the content of the left NSTableView. T

Re: KVO and master-detail NSTableViews

2009-06-04 Thread Keary Suska
On Jun 4, 2009, at 4:24 AM, Stefan Reitshamer wrote: I'm getting flaky behavior from my KVO code and I'm wondering what I'm doing wrong. I can't find any similar examples. I have a pop-up button and 2 NSTableViews. The pop-up button selection controls the content of the left NSTableView. Th

KVO and master-detail NSTableViews

2009-06-04 Thread Stefan Reitshamer
I'm getting flaky behavior from my KVO code and I'm wondering what I'm doing wrong. I can't find any similar examples. I have a pop-up button and 2 NSTableViews. The pop-up button selection controls the content of the left NSTableView. The left NSTableView's selection controls the content of

Re: Master-detail interface, multiple selection, and mixed state checkbox state transitions

2009-04-15 Thread I. Savant
On Wed, Apr 15, 2009 at 4:42 PM, Sean McBride wrote: > Correct.  But as you say, it seems that it should do that.  So I created > a test app and it behaves as expected there.  I added a 2nd checkbox in > my real app and bound it identically.  That one works, and the other > does not.  I compared e

Re: Master-detail interface, multiple selection, and mixed state checkbox state transitions

2009-04-15 Thread Sean McBride
On 4/15/09 2:58 PM, I. Savant said: >> The problem is that clicking the checkbox, as per documentation, "cycles >> through [the 3 states] in this order: on, off, mixed, on, and so >> forth."  But I don't want the user to be able to choose 'mixed state'. >> I want this transition: > > Google "NSBu

Re: Master-detail interface, multiple selection, and mixed state checkbox state transitions

2009-04-15 Thread I. Savant
On Wed, Apr 15, 2009 at 2:36 PM, Sean McBride wrote: > I have a master-detail interface.  NSTableView is the master; a checkbox > is the detail.  The checkbox corresponds to a boolean property of my > model object, and is so bound.  In the case of multiple selection in the > tablevi

Master-detail interface, multiple selection, and mixed state checkbox state transitions

2009-04-15 Thread Sean McBride
Hi all, I have a master-detail interface. NSTableView is the master; a checkbox is the detail. The checkbox corresponds to a boolean property of my model object, and is so bound. In the case of multiple selection in the tableview, I'd like the checkbox to show 'mixed state'

Re: Master-Detail Interface Examples

2008-10-06 Thread Andy Lee
On Oct 6, 2008, at 11:59 AM, I. Savant wrote: On Mon, Oct 6, 2008 at 8:54 AM, Jamie Phelps <[EMAIL PROTECTED]> wrote: I'm looking for examples of well-designed Master-Detail interfaces. I have tried several different layouts for the details and haven't been satisfied

Re: Master-Detail Interface Examples

2008-10-06 Thread Andre Masse
On Oct 6, 2008, at 08:54, Jamie Phelps wrote: I was considering a "double-click for details" approach, but I'm not sure if there's a design precedent for such a setup. I'm not averse to doing something new, but I don't want to do something the user is totally not expecting. I'm not sayin

Re: Master-Detail Interface Examples

2008-10-06 Thread I. Savant
On Mon, Oct 6, 2008 at 8:54 AM, Jamie Phelps <[EMAIL PROTECTED]> wrote: > I'm looking for examples of well-designed Master-Detail interfaces. I have > tried several different layouts for the details and haven't been satisfied > with any of them. This is almost impo

Master-Detail Interface Examples

2008-10-06 Thread Jamie Phelps
I'm looking for examples of well-designed Master-Detail interfaces. I have tried several different layouts for the details and haven't been satisfied with any of them. In looking at the layout, I think it has to do with the table view being rather wide and not finding a comfort

Re: master-detail: binding array controller to the attribute of selection of master array controller

2008-07-23 Thread Izidor Jerebic
On 23.7.2008, at 23:42, mmalc crawford wrote: On Jul 23, 2008, at 11:51 AM, Izidor Jerebic wrote: Hm, the docs say: Typically, the content binding is created automatically when the initial NSTableColumn binding is made, binding to the column's NSArrayController. I don't see what is inap

Re: master-detail: binding array controller to the attribute of selection of master array controller

2008-07-23 Thread mmalc crawford
On Jul 23, 2008, at 11:51 AM, Izidor Jerebic wrote: Hm, the docs say: Typically, the content binding is created automatically when the initial NSTableColumn binding is made, binding to the column's NSArrayController. I don't see what is inappropriate. It should work, because I set it to th

Re: master-detail: binding array controller to the attribute of selection of master array controller

2008-07-23 Thread Izidor Jerebic
On 23.7.2008, at 20:08, mmalc crawford wrote: On Jul 23, 2008, at 9:40 AM, Izidor Jerebic wrote: But it again confirmed that bindings are not quite what they should be. This bug should never happen to me or should be resolved in 5 minutes: InterfaceBuilder should prevent illegal combinati

Re: master-detail: binding array controller to the attribute of selection of master array controller

2008-07-23 Thread mmalc crawford
On Jul 23, 2008, at 9:40 AM, Izidor Jerebic wrote: But it again confirmed that bindings are not quite what they should be. This bug should never happen to me or should be resolved in 5 minutes: InterfaceBuilder should prevent illegal combinations or there should be a debugging option that

Re: master-detail: binding array controller to the attribute of selection of master array controller

2008-07-23 Thread Izidor Jerebic
bindings that would uncover this kind of bug? izidor On 23.7.2008, at 18:11, Izidor Jerebic wrote: Hello! I have a very simple (one would think) master-detail arrangement: there is a domain object, which has several items, each of items has several parts. In the GUI window w

master-detail: binding array controller to the attribute of selection of master array controller

2008-07-23 Thread Izidor Jerebic
Hello! I have a very simple (one would think) master-detail arrangement: there is a domain object, which has several items, each of items has several parts. In the GUI window which represents domain object, one array controller is bound to FileOwner.items (file owner is a domain object

Master-Detail binding in User Defaults

2008-04-22 Thread Steve Nicholson
I'm trying to set up a Master-Detail binding with User Defaults under OS X 10.4.11. It is correctly reading values I manually put into the Preferences file. I can select different items in the table and the detail items display the correct information, but no changes are written t