Re: NSDrawer
Re: NSDrawer
- Subject: Re: NSDrawer
- From: Phil Marell <email@hidden>
- Date: Sun, 15 Jul 2018 12:21:50 +1000
Hi,
One potential problem I see with drawers is - if the window was in full screen
mode, nothing appears to happen unless they know to get out of full screen
(which isn’t a good experience).
Instead, I would say that Mac apps nowadays tend to have the ability to toggle
showing a sidebar-like inspector within the existing window, rather than a
drawer extending out of the window. Because the contents of the existing window
is modified, this solves the full screen problem. Apps like Xcode, and in the
current iWork suite do this.
When doing this though, there is one case I can think of that you would need to
handle - if the window is at its minimum size, the window would have no choice
but to expand itself. I think this is something NSSplitViewController can help
with though.
Hope that helps,
- Phil
> On 15 Jul 2018, at 05:00, email@hidden wrote:
>
> Send Cocoa-dev mailing list submissions to
> email@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.apple.com/mailman/listinfo/cocoa-dev
> or, via email, send a message with subject or body 'help' to
> email@hidden
>
> You can reach the person managing the list at
> email@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Cocoa-dev digest..."
> Today's Topics:
>
> 1. Re: NSDrawer (Uli Kusterer)
> 2. Re: NSDrawer (Casey McDermott)
>
>
>> On 3. Jul 2018, at 04:08, Casey McDermott <email@hidden> =
> wrote:
>> =20
>> NSDrawer is deprecated, but it's also perfect for our application.
>> We still haven't found a good substitute.
>> =20
>> Our app has an outline view that loads various types of business =
> records
>> into a tab view. Some of them have optional extra info. When it's =
> small a panel is fine,
>> but some records have large tables: about the same size as the main =
> record. =20
>> A drawer is perfect for viewing them side-by-side with the main info. =20=
>
>> In a panel it obscure the main record, and users need to see both.
>> =20
>> Is there a work-around for an attached window that pops out on the =
> side,
>> and acts like a drawer? =20
>> =20
>> Any idea when deprecation turns into total non-support?
>> =20
>> Thanks,
>> =20
>> Casey McDermott
>> www.TurtleSoft.com
>> _______________________________________________
>> =20
>> Cocoa-dev mailing list (email@hidden)
>> =20
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>> =20
>> Help/Unsubscribe/Update your Subscription:
>> =
> mx.net
>> =20
>> This email sent to email@hidden
>
> Cheers,
> -- Uli Kusterer
> "The Witnesses of TeachText are everywhere..."
> http://www.zathras.de
>
>
>
>
>
>
> NSPanel is still modal, but longer lasting. We use it a lot, and it
> looks better than the modal dialogs in the current app.
>
> NSDrawer is a non-modal extension to the main window, designed to stick
> around for a while.
>
> In our case, we have business data entry forms, and then sometimes people
> add an optional table of details. Sometimes they'll spend hours on the table
> (e.g. for
> a construction estimate with hundreds of line items).
>
> They still need to see/edit the main form at the same time, so NSPanel won't
> work,
> and NSDrawer is just right. If it's ever removed entirely, we'll pretty much
> have
> to duplicate it in code.
>
> The current app switches between multiple layouts with and without the table,
> but the new look is cleaner, and better suited for a single window with
> outline & tabs.
>
> Thanks,
>
> Casey McDermott
> http://www.turtlesoft.com
>
> --------------------------------------------
> On Fri, 7/13/18, Uli Kusterer <email@hidden> wrote:
>
> Subject: Re: NSDrawer
> To: "Casey McDermott" <email@hidden>
> Cc: email@hidden
> Date: Friday, July 13, 2018, 9:13 PM
>
> Just for completeness' sake:
> You're aware of NSPopover?
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins (at) lists.apple.com
>
> https://lists.apple.com/mailman/listinfo/cocoa-dev
_______________________________________________
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