• 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: FSPathMakeRef deprecated - replacement for LSSetItemAttribute?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FSPathMakeRef deprecated - replacement for LSSetItemAttribute?


  • Subject: Re: FSPathMakeRef deprecated - replacement for LSSetItemAttribute?
  • From: Uli Kusterer <email@hidden>
  • Date: Sun, 22 Jun 2014 19:15:52 +0200

On 22 Jun 2014, at 00:20, Trygve Inda <email@hidden> wrote:
> FSPathMakeRef is deprecated in 10.8, but LSSetItemAttribute requires an
> FSRef. Is there a correct way to create an FSRef or perhaps there is a
> replacement for LSSetItemAttribute to modernize:
>
> LSSetItemAttribute(&fsRef, kLSRolesAll, kLSItemQuarantineProperties, NULL);

Check out the headers for this call in Xcode 6, the comments there mention what call to use instead.

Cheers,
-- Uli Kusterer
“The Witnesses of TeachText are everywhere...”
http://zathras.de


_______________________________________________

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: FSPathMakeRef deprecated - replacement for LSSetItemAttribute?
      • From: Trygve Inda <email@hidden>
References: 
 >FSPathMakeRef deprecated - replacement for LSSetItemAttribute? (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: UIScrollView contentSize question
  • Next by Date: Re: FSPathMakeRef deprecated - replacement for LSSetItemAttribute?
  • Previous by thread: FSPathMakeRef deprecated - replacement for LSSetItemAttribute?
  • Next by thread: Re: FSPathMakeRef deprecated - replacement for LSSetItemAttribute?
  • Index(es):
    • Date
    • Thread