Re: using AppKit additions in background threads
Re: using AppKit additions in background threads
- Subject: Re: using AppKit additions in background threads
- From: Mark Munz <email@hidden>
- Date: Tue, 06 Sep 2011 21:49:11 -0700
>Yes that is a good question. Another is whether I can execute utilities in /usr/bin from a App Store app.
Typically that is not a problem if you are executing something that
already exists there and then use paths that point to an approved
location. But this does become an issue with sandboxing and sandboxing
will become a requirement for MAS apps.
I do believe you can use one of the temporary exceptions to allow you
to read anything on the disk. Not sure if there is one that isn't more
narrowly defined that might work -- info on much of sandboxing,
solutions to numerous issues encountered, remains fairly minimal,
despite the fast approaching deadline for Mac App Store requirement.
If you're concerned about sandboxing (and many of us that want to be
in the App Store will need to be concerned), I recommend going to the
Apple's dev forum on the topic.
On Tue, Sep 6, 2011 at 9:37 PM, Michael Thon <email@hidden> wrote:
>
> On Sep 7, 2011, at 4:22 AM, Glenn L. Austin wrote:
>
>> I would ship the files pre-converted.
>>
> If I could do that I wouldn't have any of these problems in the first place. The app is converting users' documents.
>
>> On Sep 6, 2011, at 4:29 PM, Mark Munz wrote:
>>
>>> One thing that 3rd party developers *now* have to also consider: Can
>>> you call /usr/bin/textutil in a sandboxed app? Based on all the
>>> limitations I'm seeing when trying to sandbox an app, my bet is no --
>>> although I haven't tested this particular case.
>
> Yes that is a good question. Another is whether I can execute utilities in /usr/bin from a App Store app.
>
>>>
>>>
>>> On Tue, Sep 6, 2011 at 1:48 PM, Jens Alfke <email@hidden> wrote:
>>>>
>>>> On Sep 6, 2011, at 12:23 PM, Douglas Davidson wrote:
>>>>
>>>>> One possibility would be to convert the HTML to RTF or RTFD, which could be loaded in the background. For that sort of conversion we already have a tool on the system, /usr/bin/textutil.
>>>>
>>>> Wow, that is good to know about; I didn’t know it existed.
>>>>
>>>> According to the man page it can translate between: txt, html, rtf, rtfd, doc, docx, wordml, odt, webarchive.
>>>> I should file a Radar to add Markdown and Textile to that list ;-)
>>
>>
>> --
>> Glenn L. Austin, Computer Wizard and Race Car Driver <><
>> "Where there's breath, there's hope!"
>> <http://www.austin-soft.com>
>>
>> _______________________________________________
>>
>> 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
>
>
>
--
Mark Munz
unmarked software
http://www.unmarked.com/
_______________________________________________
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