Re: getResourceValue:forKey:error: Unrecognized Selector

2011-10-29 Thread Kyle Sluder
On Oct 26, 2011, at 8:20 PM, GW Rodriguez headtech...@yahoo.com wrote: if([[[info draggingPasteboard] types] containsObject:NSURLPboardType] ) { NSString *availableType = [[info draggingPasteboard] availableTypeFromArray:firstType]; NSString *fileType; NSURL

Re: Core Animation + Focus Ring

2011-10-29 Thread Kyle Sluder
On Oct 26, 2011, at 4:20 AM, Brad Stone cocoa-...@softraph.com wrote: I understand there's an issue with focus rings not appearing in an editable cell if, like I do, you have an NSOutlineView sitting on a view that has Core Animation turned on. I was under the impression that this was fixed

Re: Custom NSView drawing

2011-10-29 Thread Kyle Sluder
On Oct 27, 2011, at 12:28 PM, Sean McBride s...@rogue-research.com wrote: Are you aware that Xcode 4's built-in Interface Builder no longer supports ibplugins? You might want to not bother with the whole thing. :( And file a bug about this regression. --Kyle

Re: getResourceValue:forKey:error: Unrecognized Selector

2011-10-29 Thread Ken Thomases
On Oct 26, 2011, at 10:20 PM, GW Rodriguez wrote: I am trying to limit files with certain UTI's from dropping into a table view. Here's my code so far: // in the init method I set the registerForDraggedTypes with NSURLPboardType -(NSDragOperation) tableView: (NSTableView*)tv

Re: AXMakeProcessTrusted conflicts with dylib load by install_name_tool

2011-10-29 Thread Bill Cheeseman
On Oct 27, 2011, at 4:12 AM, Shaguo wrote: I made my app trusted by AXMakeProcessTrusted to listen to the keyboard. But it failed to launch the dylib when it was launched. Reason: unsafe use of xxx with restricted binary Anyone has ideas on it? It makes me crazy.

Re: ALAssetsLibrary and iOS5

2011-10-29 Thread Sandy McGuffog
Just looking at the code, one issue that you might be running into is that for ALAssetsLibrary under iOS 5, to quote from the Apple docs, The lifetimes of objects you get back from a library instance are tied to the lifetime of the library instance. In this case, it's not at all clear to me

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

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

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

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

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

Re: Future for Mac applications

2011-10-29 Thread Kyle Sluder
On Oct 29, 2011, at 9:31 AM, James Merkel jmerk...@mac.com 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 ?

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

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 idNSFastEnumeration that will provide appropriate STL iterators? Also, is there a way to tell the difference between two NSEnumerators (a la STL

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

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

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 koenvanderdr...@gmail.com 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

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

Re: Future for Mac applications

2011-10-29 Thread James Merkel
Kyle Sluder kyle.slu...@gmail.com 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

Re: Future for Mac applications

2011-10-29 Thread Kyle Sluder
On Oct 29, 2011, at 6:04 PM, James Merkel jmerk...@mac.com wrote: Kyle Sluder kyle.slu...@gmail.com 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