window wont close with command-w

2009-03-06 Thread Aaron Wallis
Hi there, I've created a preference window for an app i'm working on, and for some reason it won't close when i press command-w? is there something in particular I need to setup for that to happen? Cheers ___ Cocoa-dev mailing list

Fwd: NSOperation and NSAutoreleasePool

2009-03-06 Thread Aaron Wallis
Hey all, I've got a series of NSOperations which process some data for the user. Each of them are created and supplied a large string. In the operations start method the operation finds a suitable plugin (using a plugin manager) to help the data analsysis. Once the plugin is found, the

Re: NSOperation and NSAutoreleasePool

2009-03-06 Thread Aaron Wallis
Thanks for pointing that one out, but it wasn't the cause for my problem. As for retaining the delegate, originally I wasn't, I just took the advice from Roland, but it doesn't break if I don't have it there :D On 07/03/2009, at 5:27 PM, Graham Cox wrote: On 07/03/2009, at 5:18 PM, Aaron

Help with recursive includes

2009-02-21 Thread Aaron Wallis
Hi all, I'm working on a project which is much larger than what i'm used to, and i've come up to a bit of a brick wall. When I compile my application, I start getting build errors caused by recursive imports. I'm sure there's an easy way to get around it, but it currently alludes me.

Re: Help with recursive includes

2009-02-21 Thread Aaron Wallis
in TMPSTManagedFile.h. Luke On Feb 21, 2009, at 3:27 PM, Aaron Wallis wrote: Hi all, I'm working on a project which is much larger than what i'm used to, and i've come up to a bit of a brick wall. When I compile my application, I start getting build errors caused by recursive imports. I'm sure there's

Re: Help with recursive includes

2009-02-21 Thread Aaron Wallis
Yeah, the header file is being imported in the .m file I tried moving the static out of the implementation, but I still get the errors... strange one 'eh On 22/02/2009, at 11:11 AM, Kiel Gillard wrote: On 22/02/2009, at 10:27 AM, Aaron Wallis wrote: if I remove the #import

Re: Help with recursive includes

2009-02-21 Thread Aaron Wallis
, I'd love to hear them Cheers On 22/02/2009, at 11:16 AM, Aaron Wallis wrote: Yeah, the header file is being imported in the .m file I tried moving the static out of the implementation, but I still get the errors... strange one 'eh On 22/02/2009, at 11:11 AM, Kiel Gillard wrote: On 22/02

Re: Help with recursive includes

2009-02-21 Thread Aaron Wallis
this issue all the time. Cheers On 22/02/2009, at 11:59 AM, David Blanton wrote: don't use 'em as I am on Tiger but deploy to both On Feb 21, 2009, at 5:43 PM, Aaron Wallis wrote: If you've used @class, how have you overcome the errors caused by the objc2 property style? On 22/02/2009, at 11:20

Re: Help with recursive includes

2009-02-21 Thread Aaron Wallis
Awesome! Thanks Aaron! For everyone else, the .h file should contain @class ControllerB and the .m file imports ControllerB for the record On 22/02/2009, at 12:21 PM, Aaron Tuller wrote: check it...no warnings. -aaron At 12:12 PM +1100 2/22/09, Aaron Wallis wrote: While that's always

NSProgressIndicator not accepting updates

2009-01-22 Thread Aaron Wallis
Hi there, This is probably a really obvious bug, but I can't seem to get my NSProgressIndicator to show progress when using incrementBy: or setDoubleValue:. As an example, i've got a controller which has a NSProgressIndicator bound to it through IB, and on the awakeFromNib method I've

Re: NSProgressIndicator not accepting updates

2009-01-22 Thread Aaron Wallis
, it didn't display the progress. Any other ideas? On 23/01/2009, at 2:35 AM, Randall Meadows wrote: On Jan 22, 2009, at 3:31 AM, Aaron Wallis wrote: As an example, i've got a controller which has a NSProgressIndicator bound to it through IB, and on the awakeFromNib method I've got a little

Adding items to low level context menus

2008-12-25 Thread Aaron Wallis
Hi there, I'm working on a small application which is meant to help users track notes research data and I was wondering if there's any way of adding items to context menus system wide? As an example, whenever someone has text selected and opens the context menu, I want the user to be able

KVO on NSSlider not observing

2008-12-12 Thread Aaron Wallis
Hi there, I'm having issues setting up bindings via code (rather than in IB) I've got a NSObject subclass which is being used as the controller, and a NSView subclass which has a few controls like NSSliders. In the NSObject I have the following code: - (void)setupSliders {

Re: KVO on NSSlider not observing

2008-12-12 Thread Aaron Wallis
Thanks for the help Graham and Keith. Usually I'd just use bindings in IB, but this is the first time i've had to build the interface through code. There's always something to learn it seems :D - Az On 13/12/2008, at 12:12 AM, Graham Cox wrote: On 12 Dec 2008, at 11:36 pm, Aaron Wallis

Core Data Debugging

2008-07-25 Thread Aaron Wallis
Hey all, I'm tearing my hair out trying to debug a strange Core Data error I keep running into. My app loads data from the web on a regular basis (every minute or so) and saves it locally for the user to reference. I use Core Data to store the information and it all runs pretty smoothly,

Cocoa Spaces

2008-07-19 Thread Aaron Wallis
last existed rather than opening it the users current space. I've done a few google searches, but not much is coming up sadly. Any ideas? Cheers Aaron Wallis http://isnot.tv ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

NSArrayController Core Data bindings not loading data

2008-07-04 Thread Aaron Wallis
Hey there, I've got a really frustrating issue with Core Data bindings in a small app I'm working on and i'm hoping someone where can help me out. My app has a basic model in Core Data that has basic details about some staff colleagues. So far i've just been hooking everything up in IB

NSTextFields other input controls in CALayer

2008-07-04 Thread Aaron Wallis
I've been working in a little app which is laced with CA effects bit essentially is a simple list manager. There's a few NSTextField controls and other input controls in a view which flips, fades etc and it seems that there's a fundamental issue in my text fields are accepting mouse events

Re: Nib file not created - Xcode 3.1

2008-06-13 Thread Aaron Wallis
XIB files are the new black. http://speirs.org/2007/12/05/what-are-xib-files/ On 14/06/2008, at 8:21 AM, Michael Hernandez wrote: Downloaded xcode 3.1, now when I create a new project in Xcode. Choosing Document-based application or Core Data Document-based application (are the two types

Re: NSBezier Artifacts

2008-04-26 Thread Aaron Wallis
] instead of rect. Le 26 avr. 08 à 07:18, Aaron Wallis a écrit : I've been having a fair few issues with NSBezier boxes lately (a.k.a boxes with rounded corners) I've created a NSView subclass that contains the following code, then threw a few on a window with some controls over the top

NSBezier Artifacts

2008-04-25 Thread Aaron Wallis
I've been having a fair few issues with NSBezier boxes lately (a.k.a boxes with rounded corners) I've created a NSView subclass that contains the following code, then threw a few on a window with some controls over the top: - ( void ) drawRect: ( NSRect ) rect { NSBezierPath*