Re: Future for Mac applications

2011-10-29 Thread Kyle Sluder
On Oct 29, 2011, at 6:04 PM, James Merkel wrote: > Kyle Sluder wrote: > >> We all know that Apple will not comment on future plans. It might not be a >> good idea to encourage rampant speculation on this list. >> >> But as it stands right now, it's worth remembering that code signing and >>

Re: Future for Mac applications

2011-10-29 Thread James Merkel
Kyle Sluder wrote: > We all know that Apple will not comment on future plans. It might not be a > good idea to encourage rampant speculation on this list. > > But as it stands right now, it's worth remembering that code signing and > sandboxing are orthogonal technologies, and sandboxing clear

Re: NSOutlineView drag and drop: how to prevent parent being dropped on one of its children

2011-10-29 Thread Koen van der Drift
Thanks Kyle, I'll try to apply that. In the meantime, I also found the AbstractView sample code which does something similar. I'll see which one fits my code better. - Koen. On Oct 29, 2011, at 5:34 PM, Kyle Sluder wrote: > On Sat, Oct 29, 2011 at 1:18 PM, Koen van der Drift > wrote: >> I'm

Re: NSOutlineView drag and drop: how to prevent parent being dropped on one of its children

2011-10-29 Thread Kyle Sluder
On Sat, Oct 29, 2011 at 1:18 PM, Koen van der Drift wrote: > I'm setting up drag and drop for my NSOutlineView and I want to prevent > parents being dropped on one of their children. The parent and children are > all of the Group entity. I understand I need to do this in the > outlineView:valid

NSMetadataQuery - Just a warning.

2011-10-29 Thread Michael Monscheuer
Hi, I just had a hard time with NSMetadataQuery and would like to share the results. NSMetadataQuery leaks one MDQuery for each change of the predicate. Even deallocation of a NSMetadataQuery does not free the MDQuery objects that have been created internally to run the query. Beyond the possib

NSOutlineView drag and drop: how to prevent parent being dropped on one of its children

2011-10-29 Thread Koen van der Drift
Hi, I'm setting up drag and drop for my NSOutlineView and I want to prevent parents being dropped on one of their children. The parent and children are all of the Group entity. I understand I need to do this in the outlineView:validatedrop method. I think I need to create an NSFetchRequest with

STL algorithms and NSEnumerator/NSFastEnumeration

2011-10-29 Thread Kelvin Chung
I have this Objective-C container which I want to use in an algorithm that only takes STL iterators. Is there a generic adapter for NSEnumerator or id that will provide appropriate STL iterators? Also, is there a way to tell the difference between two NSEnumerators (a la STL iterator differenc

Re: Future for Mac applications

2011-10-29 Thread Gregory Casamento
This subject came up about a year ago when Lion was first announced here was the reaction to it: http://9to5mac.com/2010/04/25/jobs-mac-store-negative-ghostrider-593035053/ While Steve is now no longer with us. I very much doubt that Apple would shoot itself in the foot in this manner. GC

Re: Future for Mac applications

2011-10-29 Thread Kyle Sluder
On Oct 29, 2011, at 9:31 AM, James Merkel wrote: > As of November, all applications submitted to the App store must be sandboxed > and signed. > > Not too difficult to forecast the future here. Will it be for an application > to run on a Mac it will need to sandboxed and signed ? We all know

Future for Mac applications

2011-10-29 Thread James Merkel
As of November, all applications submitted to the App store must be sandboxed and signed. Not too difficult to forecast the future here. Will it be for an application to run on a Mac it will need to sandboxed and signed ? Jim Merkel ___ Cocoa-dev mai

CoreBluetooth framework

2011-10-29 Thread Luca Ciciriello
Hai List. Is there someone knowing where I can find some line of sample code about CoreBluetooth framework? Thanks in advance for any answer. Luca.___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator c

Re: ALAssetsLibrary and iOS5

2011-10-29 Thread James Cicenia
Thanks... found the answer in the developer forum. The Library had to be initialized in AppDelegate (singleton). thanks On Oct 29, 2011, at 1:46 AM, Sandy McGuffog wrote: > Just looking at the code, one issue that you might be running into is that > for ALAssetsLibrary under iOS 5, to quote fr

Re: IKImageBrowserView spinning animation on the Cell

2011-10-29 Thread Tom Hohensee
Create a CALayer with the spinning effects. and use the following IKImageBrowser cell Core Animation layer method. - (CALayer *)layerForType:(NSString *)type where NSString is a “Cell Layer Positions” type IKImageBrowserCellForegroundLayer. For the spinning effects layer have a look at http

IKImageBrowserView spinning animation on the Cell

2011-10-29 Thread XiaoGang Li
Dear list, I have an IKImageBrowserView based app which retrieves thumbnails from web service, which is much like iPhoto app. I want to support progress indicator animation in the placeholder layer of the IKImageBrowserCell. Depends on the network speed, there will take a long time to download