Re: iCloud does not appear on open, save or move to dialogs for Mac Document based app

2018-11-19 Thread Jim McGowan
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  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  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 (Cocoa-dev@lists.apple.com)
>> 
>> 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:
>> https://lists.apple.com/mailman/options/cocoa-dev/petrock%40mac.com
>> 
>> This email sent to petr...@mac.com
> 

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: iCloud does not appear on open, save or move to dialogs for Mac Document based app

2018-11-19 Thread Rob Petrovec
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  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 (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/petrock%40mac.com
> 
> This email sent to petr...@mac.com

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: continuity scanner

2018-11-19 Thread Saagar Jha
Are you asking about Continuity Camera? NSTextView supports this out of the 
box, if you’re using it. If you want to add support to your own views, 
implement NSResponder.validRequestor(forSendType:returnType:) and return 
something that conforms to NSServicesMenuRequestor.

Sent from my iPad

> On Nov 19, 2018, at 02:34, Torsten Curdt  wrote:
> 
> So far I haven't found docs on how to use the continuity scanner in Mojave.
> Is this still Apple only? Or does someone have a pointer to some
> docs/examples?
> 
> cheers,
> Torsten
> ___
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/saagar%40saagarjha.com
> 
> This email sent to saa...@saagarjha.com
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


continuity scanner

2018-11-19 Thread Torsten Curdt
So far I haven't found docs on how to use the continuity scanner in Mojave.
Is this still Apple only? Or does someone have a pointer to some
docs/examples?

cheers,
Torsten
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


iCloud does not appear on open, save or move to dialogs for Mac Document based app

2018-11-19 Thread Jim McGowan
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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com