• 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: Deep linking from 1 tvOS app to another
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deep linking from 1 tvOS app to another


  • Subject: Re: Deep linking from 1 tvOS app to another
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 16 Jun 2017 12:15:19 -0700

> On Jun 16, 2017, at 8:00 AM, Eric E. Dolecki <email@hidden> wrote:
>
>            let modified = supplied.replacingOccurrences(of: " ", with: "+")

Don’t use “+”, use “ ”. The “+” is only valid in some contexts IIRC, like
form values.

Actually don’t do the substitution by hand. Let NSString URL-encode it for you.
Otherwise your URL will break again when someone decides to type a “/“ or “#”,
etc. into your text field.

—Jens
_______________________________________________

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: Deep linking from 1 tvOS app to another
      • From: Aandi Inston <email@hidden>
    • Re: Deep linking from 1 tvOS app to another
      • From: "Eric E. Dolecki" <email@hidden>
References: 
 >Deep linking from 1 tvOS app to another (From: "Eric E. Dolecki" <email@hidden>)

  • Prev by Date: Re: Release mode bindings crash and release pools
  • Next by Date: Re: Deep linking from 1 tvOS app to another
  • Previous by thread: Re: Deep linking from 1 tvOS app to another
  • Next by thread: Re: Deep linking from 1 tvOS app to another
  • Index(es):
    • Date
    • Thread