Re: iCloud does not appear on open, save or move to dialogs for Mac Document based app
Re: iCloud does not appear on open, save or move to dialogs for Mac Document based app
- Subject: Re: iCloud does not appear on open, save or move to dialogs for Mac Document based app
- From: Jim McGowan <email@hidden>
- Date: Tue, 20 Nov 2018 11:27:57 +0800
H Rob,
Yes, iCloud Drive shows up in the Finder sidebar an also in the open & save
dialogues in my app. However, the app container does not show up in my open &
save dialogues (the way that other apps containers, such as Pages, etc, show up
in their own open save dialogues)
Jim
> On 20 Nov 2018, at 2:25 AM, Rob Petrovec <email@hidden> wrote:
>
> Does it show up in the Finder’s Sidebar? Do you have the iCloud Drive
> checkbox checked in the Finder Preferences -> Sidebar section? If it is
> disabled there it won’t show up in the Finder or open/save dialogs.
>
> —Rob
>
>
>> On Nov 19, 2018, at 1:16 AM, Jim McGowan <email@hidden> wrote:
>>
>> Hi,
>>
>> I posted this on the Developer Forums a week ago, but unfortunately i didn’t
>> receive any replies. Perhaps someone here can help.
>>
>> I have an existing Core Data document based app, my document class is a
>> sublcass of NSPersistentDocument, and I use an XML store type. My next
>> update will move to being Mac App Store exclusive, so I can take advantage
>> of iCloud features and I want to add iCloud Documents.
>>
>> I turned on the iCloud Capability in XCode, and checked the "iCloud
>> Documents" option under "Services:" I'm using the default container option.
>> I can see the container has been created in the local file system, and I
>> can also see in listed on developer.apple.com under my account >
>> Certifiates, Identifiers & Profiles > iCloud Containers.
>>
>> In my App Delegate's +initialize method I use GCD to dispatch a call to
>> [[NSFileManager defaultManager] URLForUbiquityContainerIdentifier:nil] on a
>> background queue. This method correctly returns the URL for the container.
>>
>> However, when I run my app, I don't see the iCloud container listed in
>> either the sidebar or popup menu in open and save dialogs, and neither do I
>> see it in popup menu in the Move To... dialogue.
>>
>> Am I missing some additional steps?
>>
>> Thanks,
>> Jim
>> _______________________________________________
>>
>> 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
>
_______________________________________________
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