• 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: Problems with runModalForWindow, looking for alternatives
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with runModalForWindow, looking for alternatives


  • Subject: Re: Problems with runModalForWindow, looking for alternatives
  • From: Vojtěch Meluzín <email@hidden>
  • Date: Tue, 01 Nov 2011 21:06:55 +0100

> I don't really know C++, so there is some generalization here.  Since
> you are returning a retained NSString, presumably inside your function
> are you are doing something like:
>
> return [[NSString alloc] initWithCString:stringFromCPlusPlusMethod
> encoding:someEncoding];
>
> To return an autoreleased string, instead use:
>
> return [NSString stringWithCString:stringFromCPlusPlusMethod
> encoding:someEncoding];
>
>
Thanks!

Now to the original topic - the window is still not displayed over the
others. I tried NSTitledWindowMask instead of the borderless, but it's
still the same. Any ideas?

Vojtech
_______________________________________________

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

  • Follow-Ups:
    • Re: Problems with runModalForWindow, looking for alternatives
      • From: Vojtěch Meluzín <email@hidden>
References: 
 >Re: Problems with runModalForWindow, looking for alternatives (From: Vojtěch Meluzín <email@hidden>)
 >Re: Problems with runModalForWindow, looking for alternatives (From: Jens Alfke <email@hidden>)
 >Re: Problems with runModalForWindow, looking for alternatives (From: Vojtěch Meluzín <email@hidden>)
 >Re: Problems with runModalForWindow, looking for alternatives (From: Conrad Shultz <email@hidden>)

  • Prev by Date: Re: Problems with runModalForWindow, looking for alternatives
  • Next by Date: Re: inserting/removing items in NSOutlineView subclass
  • Previous by thread: Re: Problems with runModalForWindow, looking for alternatives
  • Next by thread: Re: Problems with runModalForWindow, looking for alternatives
  • Index(es):
    • Date
    • Thread