Re: results in attached view

2008-03-10 Thread Mike R. Manzano


On Mar 10, 2008, at 9:12 AM, Torsten Curdt wrote:


Hah! Thanks for the pointer!



No problemo.

So I just create another window in my nib and then add that as a  
child I assume.


Yep.

Quicksilver on the other hand just has views inside the nib. How  
would I display such a view? What's the difference?


They are probably creating the window programmatically and then  
subsequently adding the views. Putting the window in a nib also works  
fine (I've done it before in the past).


Mike
___

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 cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: results in attached view

2008-03-10 Thread Kyle Sluder
On Mon, Mar 10, 2008 at 12:12 PM, Torsten Curdt <[EMAIL PROTECTED]> wrote:
>  So I just create another window in my nib and then add that as a
>  child I assume. Quicksilver on the other hand just has views inside
>  the nib. How would I display such a view? What's the difference?

A view has to be contained inside of a window.  Perhaps Quicksilver
creates one dynamically.
___

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 cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: results in attached view

2008-03-10 Thread Torsten Curdt

Hah! Thanks for the pointer!

So I just create another window in my nib and then add that as a  
child I assume. Quicksilver on the other hand just has views inside  
the nib. How would I display such a view? What's the difference?


cheers
--
Torsten

On 10.03.2008, at 16:37, Mike R. Manzano wrote:


How about creating a child window with an NSTableView within it?

See "Managing Attached Windows" in NSWindow's reference docs.

Mike

On Mar 10, 2008, at 7:12 AM, Torsten Curdt wrote:

I got a document based app. In the document window I can do a  
search and would then like to display a the results in a list. But  
this list should pop up similar to the quicksilver results.  
Attached to the bottom of the window. I've already been digging  
through the quicksilver source code - but it's not exactly a small  
project. Looking at the quicksilver nib it looks like I just need  
to create a custom view that I somehow need to display relative to  
the window.


The other option would be to resize the window programmatically  
and enable a NSTableView in there.


Any suggestion which path to go?

cheers
--
Torsten
___

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 cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/alephx01%40mac.com

This email sent to [EMAIL PROTECTED]




___

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 cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: results in attached view

2008-03-10 Thread Mike R. Manzano

How about creating a child window with an NSTableView within it?

See "Managing Attached Windows" in NSWindow's reference docs.

Mike

On Mar 10, 2008, at 7:12 AM, Torsten Curdt wrote:

I got a document based app. In the document window I can do a search  
and would then like to display a the results in a list. But this  
list should pop up similar to the quicksilver results. Attached to  
the bottom of the window. I've already been digging through the  
quicksilver source code - but it's not exactly a small project.  
Looking at the quicksilver nib it looks like I just need to create a  
custom view that I somehow need to display relative to the window.


The other option would be to resize the window programmatically and  
enable a NSTableView in there.


Any suggestion which path to go?

cheers
--
Torsten
___

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 cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/alephx01%40mac.com

This email sent to [EMAIL PROTECTED]


___

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 cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]