• 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
Re: IKImageBrowserView and reordering
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IKImageBrowserView and reordering


  • Subject: Re: IKImageBrowserView and reordering
  • From: Harry Vangberg <email@hidden>
  • Date: Fri, 6 Nov 2009 14:11:04 +0100

I have found a partial solution, which is enough for my needs. Instead
of passing an empty dictionary to -enterFullscreen:withOptions, you
tell it to disable the dock and the menu bar. The result is a view in
fullscreen, and reordering magically works.

- (IBAction)enterFullscreen:(id)sender
{
        NSNumber        *presentationOptions;
        NSDictionary    *fullscreenOptions;

        presentationOptions = [NSNumber numberWithUnsignedInteger:
                                NSApplicationPresentationHideDock +
                                NSApplicationPresentationHideMenuBar];

        fullscreenOptions =
                [NSDictionary dictionaryWithObject:presentationMask
                 forKey:NSFullScreenModeApplicationPresentationOptions];

        [view enterFullScreenMode:screen withOptions:fullscreenOptions];
}

2009/11/5 Harry Vangberg <email@hidden>:
> Hello
>
> I am (with much success) using IKImageBrowserView. I have enabled
> reordering and implemented -imageBrowser:moveItemsAtIndexes:toIndex: in
> the image browsers delegate, which works very, very fine, until I put
> the contentView of the window in fullscreen. Everything else works fine,
> but I cant initiate a drag at all. Developing against 10.6 SDK.
>
> Harry
>
_______________________________________________

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

References: 
 >IKImageBrowserView and reordering (From: Harry Vangberg <email@hidden>)

  • Prev by Date: (no subject)
  • Next by Date: Re: NSString's handling of Unicode extension B (and C) characters
  • Previous by thread: IKImageBrowserView and reordering
  • Next by thread: NSCoder and CGColorRef
  • Index(es):
    • Date
    • Thread