• 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: Launch Email or Browser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Launch Email or Browser


  • Subject: Re: Launch Email or Browser
  • From: Douglas Davidson <email@hidden>
  • Date: Mon, 20 May 2002 11:04:50 -0700

On Friday, May 17, 2002, at 03:09 PM, John Nairn wrote:

The text in the body, however, needs to have escape sequences for
several characters which can be accomplished with the following code:

myMsg=[[NSMutableString alloc] initWithString:[myProduct theMsg]];
[self replaceString:@":" withString:@":" inString:myMsg];

You should probably use CFURL's functions for dealing with percent-escapes rather than doing it yourself. See CFURL.h for e.g. CFURLCreateStringByAddingPercentEscapes().

The length limitation for opening URLs is a known issue with another portion of the system. I believe it has been discussed on this or the omni mailing list before. I believe it will be fixed in the next major release of the system.

Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Launch Email or Browser (From: John Nairn <email@hidden>)

  • Prev by Date: Re: [OT] Custom AppleScript editor
  • Next by Date: NSSlider's mouseDown implementation
  • Previous by thread: Re: Launch Email or Browser
  • Next by thread: Re: Launch Email or Browser
  • Index(es):
    • Date
    • Thread