Re: How can I make a window just like the Anxiety App?

2011-02-20 Thread Kyle Sluder
On Sun, Feb 20, 2011 at 9:39 PM, John Joyce wrote: > See how here: > http://tinyurl.com/67r8oaz I don't believe a custom window is necessary for this. You can use -[NSWindow standardWindowButton:] with the NSWindowDocumentIconButton to get a handle to the button that draws the proxy icon and win

Re: How can I make a window just like the Anxiety App?

2011-02-20 Thread Graham Cox
While I have wholeheartedly recommended BWToolKit in the past, a word of warning: If you use it "as is" your app will fail App Store approval due to use of undocumented/private API. I've contacted Brandon about this but haven't heard back. --Graham On 21/02/2011, at 4:48 PM, Tito Ciuro wrot

Re: How can I make a window just like the Anxiety App?

2011-02-20 Thread Tito Ciuro
Take a look at this too. Lots of goodies: http://brandonwalkin.com/bwtoolkit/ -- Tito On Feb 20, 2011, at 2:51 AM, 23Labs wrote: > You can see the screenshot > here > . > Anxiety app has a window title which can be clicked and then popups a men

Re: How can I make a window just like the Anxiety App?

2011-02-20 Thread John Joyce
On Feb 20, 2011, at 7:51 PM, 23Labs wrote: > You can see the screenshot > here > . > Anxiety app has a window title which can be clicked and then popups a menu > list. > I can't find any clue in IB. There seems no way we can customize the window

Plugin iPhoto don't Finish!

2011-02-20 Thread Alejandro Visiedo García
Hello! I'm trying to develop an iPhoto Plugin to upload photos to a social network! When i'm finished to upload all photos, i exec then next sentences at the end of performExport: [self lockProgress]; mProgress.message = nil; mProgress.currentItem = count; mProgr

Re: Animation doesn't reach end value

2011-02-20 Thread Florian Ebeling
> It is working not, Ah sorry, this was meant to read "It is working now" -- Florian Ebeling florian.ebel...@gmail.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contac

Re: Animation doesn't reach end value

2011-02-20 Thread Florian Ebeling
On Wed, Feb 16, 2011 at 7:49 PM, Matt Neuburg wrote: > On Tue, 15 Feb 2011 14:47:26 +0100, Florian Ebeling > said: >>I try to create a view which creates an effect that is similar to the >>Find Indicator in NSTextView. To achieve that there is a view with >>text which is animated using CAAnimati

How can I make a window just like the Anxiety App?

2011-02-20 Thread 23Labs
You can see the screenshot here . Anxiety app has a window title which can be clicked and then popups a menu list. I can't find any clue in IB. There seems no way we can customize the window title bar in IB. So how can I achieve this? Thanks.

Re: Getting NSScrollView to ignore scrolling

2011-02-20 Thread Scott Anguish
although you have a solution, I’ll mention... You don’t HAVE to have a table view within a scroll view. There are situations in the system that are the case (sidebar in Finder, threads in mail). It’s just the normal case. On Feb 20, 2011, at 4:27 PM, Andrew Shamel wrote: > Hurrah! It was as

Re: Getting NSScrollView to ignore scrolling

2011-02-20 Thread Andy Lee
On Feb 20, 2011, at 3:44 AM, Quincey Morris wrote: > For completeness, [...] In the spirit of completeness, I should mention that because of my particular situation I don't have to think about handling arrow keys or the page up/down keys. The other Andy (the OP) might care about handling these k

Re: NSComboxBox alternative

2011-02-20 Thread Kyle Sluder
On Sun, Feb 20, 2011 at 11:57 AM, FirstName LastName wrote: > Yes that's exactly the idea, just that I'm using the NSComboBox and an > NSButton instead. If the popup list doesn't suffer from the same problem > (i.e. Paths filenames and extensions clipped on the right) I'll happily > switch. I g

Re: could not locate an NSManagedObjectModel

2011-02-20 Thread Kyle Sluder
On Sun, Feb 20, 2011 at 2:38 PM, Shane wrote: > "The Managed Object Context can handle data persistence transparently, > so only more advanced applications need interact directly with the > Coordinator." You need a PSC because MOMs are attached to a PSC. The MOC can't get a MOM without a PSC. Ju

Re: could not locate an NSManagedObjectModel

2011-02-20 Thread Darren Wheatley
Hi, Just to ask the obvious question, but you've created the persistentStoreCoordinator and the managedObjectModel and hooked them all up right? I've been having similar problems this weekend, and running Instruments with Zombies enable has been a great help. It help me pin point the problem area

Re: could not locate an NSManagedObjectModel

2011-02-20 Thread Shane
>> See my followup email. I meant to discard the first one I sent. :) >> But then, I keep running into explanations like this that make me think I don't have to do anything w/ the data store as there's a default setup. And I therefore am not doing anything yet w/ a coordinator. "The Managed Objec

Re: could not locate an NSManagedObjectModel

2011-02-20 Thread Shane
On Sun, Feb 20, 2011 at 3:54 PM, Kyle Sluder wrote: > On Sun, Feb 20, 2011 at 1:48 PM, Shane > wrote: >> I thought by including the property that shows it's being synthesized >> would show that, and maybe this is where I've gone wrong. I have added >> a property to my apps main controller … > > S

Re: could not locate an NSManagedObjectModel

2011-02-20 Thread Kyle Sluder
On Sun, Feb 20, 2011 at 1:48 PM, Shane wrote: > I thought by including the property that shows it's being synthesized > would show that, and maybe this is where I've gone wrong. I have added > a property to my apps main controller … See my followup email. I meant to discard the first one I sent.

Re: could not locate an NSManagedObjectModel

2011-02-20 Thread Shane
> > Since we have no idea where self.managedCoreDataObjectContext gets > set, I'm can only make a wild leap that -managedCoreDataObjectContext > is returning nil. > I thought by including the property that shows it's being synthesized would show that, and maybe this is where I've gone wrong. I hav

Re: could not locate an NSManagedObjectModel

2011-02-20 Thread Kyle Sluder
Well *that* wasn't the Discard button. Ignore that message, please. Now for meaningful questions: have you created a persistent store coordinator with your managed object model? --Kyle Sluder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Plea

Re: could not locate an NSManagedObjectModel

2011-02-20 Thread Kyle Sluder
On Sun, Feb 20, 2011 at 1:23 PM, Shane wrote: > Trying to learn core data and I have added it to my application while > swapping out my old ways. So I have this initially ... > > @synthesize managedCoreDataObjectContext; > > - (void) awakeFromNib > { >        ... >        [self setManagedCoreDataO

Re: Getting NSScrollView to ignore scrolling

2011-02-20 Thread Andrew Shamel
Hurrah! It was as easy as this: - (void)scrollWheel:(NSEvent *)theEvent { [[self nextResponder] scrollWheel:theEvent]; } Thanks, y'all! — andy On Feb 19, 2011, at 4:48 PM, Quincey Morris wrote: > On Feb 19, 2011, at 16:25, Peter Lübke wrote: > >>> My question is this: how do I get t

could not locate an NSManagedObjectModel

2011-02-20 Thread Shane
Trying to learn core data and I have added it to my application while swapping out my old ways. So I have this initially ... @synthesize managedCoreDataObjectContext; - (void) awakeFromNib { ... [self setManagedCoreDataObjectContext:[[NSManagedObjectContext alloc] init]];

RE: NSComboxBox alternative

2011-02-20 Thread FirstName LastName
> Date: Sat, 19 Feb 2011 12:19:50 -0800 > Subject: Re: NSComboxBox alternative > From: kyle.slu...@gmail.com > To: c0ldp...@hotmail.com > CC: cocoa-dev@lists.apple.com > > On Sat, Feb 19, 2011 at 12:15 PM, FirstName LastName > wrote: > > I think the NSTableView in not retractable. It wastes

Re: Getting NSScrollView to ignore scrolling

2011-02-20 Thread Quincey Morris
On Feb 20, 2011, at 00:17, Andy Lee wrote: > On Feb 19, 2011, at 7:48 PM, Quincey Morris wrote: > >> I think the only way to fix this is to override the appropriate >> 'scrollWheel:' event method, and to pass the event on up the responder chain. > > I have the same requirement as the OP: a scr

Re: Getting NSScrollView to ignore scrolling

2011-02-20 Thread Andy Lee
On Feb 19, 2011, at 7:48 PM, Quincey Morris wrote: > On Feb 19, 2011, at 16:25, Peter Lübke wrote: > >>> My question is this: how do I get the scroll view to ignore scrolling >>> messages? The tables/scrollviews are sitting on views that are part of a >>> homebrew collection view, and the scro