Re: Is there a Source List control in Cocoa

2008-04-01 Thread Markus Spoettl
] Great, thanks Rob! Regards Markus -- __ Markus Spoettl ___ 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

Re: Is there a Source List control in Cocoa

2008-04-01 Thread Markus Spoettl
On Apr 1, 2008, at 5:57 PM, Rob Keniger wrote: http://developer.apple.com/samplecode/SourceView Excellent, thanks Rob! Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev

Question about NSTreeController/NSOutlineView instance cleanup

2008-04-10 Thread Markus Spoettl
works with a NSWindowController instead of NSDocument and does not produce this log entry) Thanks for any pointers. Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Re: Question about NSTreeController/NSOutlineView instance cleanup

2008-04-10 Thread Markus Spoettl
On Apr 10, 2008, at 6:07 PM, Markus Spoettl wrote: If I interpret this correctly I'm removing my tree content from under the NSTreeController while it's still using it. If found that when I add [treeContent removeAllObjects]; Small correction this (calling removeAllObject) doesn't

Re: Question about NSTreeController/NSOutlineView instance cleanup

2008-04-10 Thread Markus Spoettl
is reported in the log entry to be unexpected. I get as many warnings as root node entries in treeContent but none for child objects further down the hierarchy. Markus -- __ Markus Spoettl ___ Cocoa-dev

Re: Question about NSTreeController/NSOutlineView instance cleanup

2008-04-11 Thread Markus Spoettl
insertObject is called and also adds rootnode to treeContent. Again, at least that's what I thought. There is no other place in the code that deals with or releases/retains TreeNode objects. Regards Markus -- __ Markus Spoettl

Re: Question about NSTreeController/NSOutlineView instance cleanup

2008-04-11 Thread Markus Spoettl
://developer.apple.com/samplecode/SourceView and I thought they would know what they're doing. I'm not sure what to think now. Anyway, thanks again! Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing

Re: Question about NSTreeController/NSOutlineView instance cleanup

2008-04-11 Thread Markus Spoettl
to really do this - it's the sample project I got this code from. -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: warning: Image scaling is not supported on Mac OS X versions prior to 10.5.

2008-04-14 Thread Markus Spoettl
to 10.5 and the final application runs on a pre 10.5 system? Will it crash, will the scaling functionality just don't work or will the user get lots of error messages when starting the application? Regards Markus -- __ Markus Spoettl

NSTreeController and NSOutlineView: How do I get to the outline view's item

2008-04-15 Thread Markus Spoettl
it in the OutlineView (right?). So how do I determine the outline item for a data node? I hope this makes any sense at all. I feel like a bloody beginner. Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa

Re: NSTreeController and NSOutlineView: How do I get to the outline view's item

2008-04-16 Thread Markus Spoettl
. representedObject is what I couldn't find. Thanks very much once again! Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Custom View initialization: where?

2008-05-02 Thread Markus Spoettl
view has a couple of objects it has to allocate, the initializer being the best place. I'm using Xcode 3.0 on 10.5.2 Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: Custom View initialization: where?

2008-05-02 Thread Markus Spoettl
breakpoint in initWithFrame: it doesn't get called. Is there something wrong with this? Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Multi-window document app: How to only show the main window when opening

2008-05-14 Thread Markus Spoettl
on 10.5.2 Regards Markus -- __ Markus Spoettl ___ 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

releasing NSKeyedUnarchiver causes crash

2008-05-18 Thread Markus Spoettl
the mistake I'm making, please help. Thanks! Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: releasing NSKeyedUnarchiver causes crash

2008-05-18 Thread Markus Spoettl
-- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: releasing NSKeyedUnarchiver causes crash

2008-05-18 Thread Markus Spoettl
the automatic retain release handing. thanks for pointing that out. Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Is there an NSCollectionView selection change notification?

2008-05-18 Thread Markus Spoettl
or notifications for NSCollectionView, so I'm wondering how one gets notified about things like that. I have a feeling there's something I'm overlooking here. Is there? Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic

Re: Is there an NSCollectionView selection change notification?

2008-05-18 Thread Markus Spoettl
: not too late? Thanks for you help! Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: Is there an NSCollectionView selection change notification?

2008-05-19 Thread Markus Spoettl
On May 18, 2008, at 11:43 PM, Jens Alfke wrote: Does this look OK, especially, is removeObserver: in dealloc: not too late? Yup, that looks fine. Excellent, thanks! Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic

NSCollectionView problems

2008-05-23 Thread Markus Spoettl
on 10.5.2 Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: NSCollectionView problems

2008-05-24 Thread Markus Spoettl
Hello again, On May 23, 2008, at 1:20 PM, Markus Spoettl wrote: I have an NSCollectionView set up with bindings to visualize an NSMutableArray. When I call arrayController:setContent: the view (which initially doesn't have a content assigned) displays the items. So far so good

Weird NSInvocationOperation init behavior

2008-05-31 Thread Markus Spoettl
selector:@selector(func2:) object:anObject]; func2 had 1 parameter (type id). Voila, it worked. The question is, was this my fault? Regards Markus -- __ Markus Spoettl

Re: Weird NSInvocationOperation init behavior

2008-05-31 Thread Markus Spoettl
On May 31, 2008, at 1:19 AM, Michael Vannorsdel wrote: If you method is something like: - (void)func1 then you should use @selector(func1) without the colon. Indeed. Thank you. Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME

Converting string to double: NSString or NSScanner

2008-05-31 Thread Markus Spoettl
value stored. The part about NSScanner indicates that NSString:doubleValue is what I want, is it? Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev

Re: Converting string to double: NSString or NSScanner

2008-06-01 Thread Markus Spoettl
-- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: NSArray

2008-06-01 Thread Markus Spoettl
Items at some point? It should be something like: Items = [[NSMutableArray] alloc] init];. Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list

How to TAB away from an NSCollectionView

2008-06-02 Thread Markus Spoettl
focus cycling? The behavior is also visible in Apple's IconCollection demo at http://developer.apple.com/samplecode/IconCollection/index.html Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature

Re: How to implement window fade-in fade-out effects

2008-06-04 Thread Markus Spoettl
On Jun 3, 2008, at 11:25 PM, Brian Christensen wrote: On Jun 4, 2008, at 2:01 , Markus Spoettl wrote: The window's frame is an animatable property, so you could try something like this: WOW that is very impressive. I didn't imagine it was that easy, thanks so much for the quick help

Re: How to implement window fade-in fade-out effects

2008-06-04 Thread Markus Spoettl
, thanks for mentioning. The window that I animate doesn't resize and the controls on it don't use springs so it appears to be safe in this respect. Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature

Using NSTrackingArea on overlay child windows

2008-06-08 Thread Markus Spoettl
:(NSTrackingCursorUpdate | NSTrackingActiveInActiveApp) owner:self userInfo:nil]; [self addTrackingArea:cursorTrackingArea]; NSLog(@tracking area updated); } } @end -- __ Markus Spoettl smime.p7s

Re: Using NSTrackingArea on overlay child windows

2008-06-08 Thread Markus Spoettl
: message is only sent to the view if its window is key. That's a problem in my case because the window is not and cannot become key. Anyway, thanks for your help. Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic

Re: Using NSTrackingArea on overlay child windows

2008-06-09 Thread Markus Spoettl
-- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Re: NSSplitview. Stopping the split moving

2008-06-14 Thread Markus Spoettl
up all the child view frames. The split view prints debug logs when you do something that is completely wrong, so that helps. Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature

How to disconnect bound views temporarily

2008-06-15 Thread Markus Spoettl
problems when it's not visible and the data changes (I get debug log entries about assertion failures in NSView lockFocus). Thanks Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature

Re: How to disconnect bound views temporarily

2008-06-17 Thread Markus Spoettl
-- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

NSKeyedArchiver finishEncoding takes forever

2008-06-18 Thread Markus Spoettl
Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: NSKeyedArchiver finishEncoding takes forever

2008-06-18 Thread Markus Spoettl
On Jun 18, 2008, at 11:25 AM, Kyle Sluder wrote: On Wed, Jun 18, 2008 at 2:13 PM, Markus Spoettl [EMAIL PROTECTED] wrote: 2) I also noticed that when I use the NSPropertyListXMLFormat_v1_0 instead of binary, the process speeds up considerably, taking just below 10 seconds. The problem

Re: NSKeyedArchiver finishEncoding takes forever

2008-06-18 Thread Markus Spoettl
-- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ 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

Re: NSKeyedArchiver finishEncoding takes forever

2008-06-18 Thread Markus Spoettl
)? Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: NSKeyedArchiver finishEncoding takes forever

2008-06-18 Thread Markus Spoettl
or not. Iit would be nice to see a warning in the documentation if such a design limitation really exists - it may be a bug. Anyway thanks for your input! Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature

Re: NSKeyedArchiver finishEncoding takes forever

2008-06-18 Thread Markus Spoettl
-- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Re: NSKeyedArchiver finishEncoding takes forever

2008-06-18 Thread Markus Spoettl
10.2. Also they don't play well with changes to the data structure, both very good reasons to stay away. Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa

Re: NSKeyedArchiver finishEncoding takes forever

2008-06-18 Thread Markus Spoettl
; } -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

How to hide the divider in a collapsed NSSplitView pane

2008-06-21 Thread Markus Spoettl
it. The Extended Details pane toggles on and off using a button (on the bottom toolbar). When collapsed there is no divider visible and you can expand it by using the button only. Is that something I can do with NSSplitView? If so, how? Regards Markus -- __ Markus

Re: How to hide the divider in a collapsed NSSplitView pane

2008-06-21 Thread Markus Spoettl
to do this there is a new - splitView:shouldHideDividerAtIndex: delegate method you can implement. Ahhh. That's great, I just tried. Thanks so much for the tip! Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature

Re: How to hide the divider in a collapsed NSSplitView pane

2008-06-21 Thread Markus Spoettl
guess I didn't think of that, thanks for the tip. There's actually a better way that Milen pointed out, though. Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa

Re: How to hide the divider in a collapsed NSSplitView pane

2008-06-21 Thread Markus Spoettl
On Jun 21, 2008, at 7:53 PM, Andreas Mayer wrote: There's actually a better way that Milen pointed out, though. If you don't need to support systems earlier than 10.5, yes. Yes, that's right. I forgot to mention that. Regards Markus -- __ Markus

Re: NSKeyedArchiver finishEncoding takes forever

2008-06-22 Thread Markus Spoettl
couldn't say when it will be released, though. Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Sourcelist background colors

2008-06-24 Thread Markus Spoettl
? Thanks for any pointers! Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: Sourcelist background colors

2008-06-24 Thread Markus Spoettl
of the question (only Apple might be able to answer). I should have been more careful when asking. Sorry. Thanks for your suggestion! Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature

Re: wrapping multiple IBOutlet objects for reuse

2008-06-24 Thread Markus Spoettl
own UI management code that loads and saves data. 10) Repeat steps 7-9 for each row you need to display. In your case you would have an array of MyViewControllers than let you access the individual rows. Hope this helps. Regards Markus -- __ Markus

Re: Sourcelist background colors

2008-06-25 Thread Markus Spoettl
your view when the window looses key-ness. Excellent, thanks for the information! Works perfectly. Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing

Re: Sourcelist background colors

2008-06-25 Thread Markus Spoettl
-- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ 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

Re: Sourcelist background colors

2008-06-25 Thread Markus Spoettl
not sure NSView is supposed to do this automatically by default. Anyway, thanks for the warning, I've changed my view to get notified explicitly. Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature

NSTrackingArea message lag

2008-06-26 Thread Markus Spoettl
? Some way to ask the system not to fire a tracking event when a new event has arrived prior to the delivery of an existing one? Thanks! Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature

Re: NSTrackingArea message lag

2008-06-26 Thread Markus Spoettl
: on the hosting window. That means the window has to do something for all views on it when only this one view needs tracking. I thought that was a little overkill. Plus tracking areas are really elegant. Regards Markus -- __ Markus Spoettl smime.p7s

Re: NSTrackingArea message lag

2008-06-26 Thread Markus Spoettl
the view is as responsive as expected. Thanks for pointing me in the right direction! Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: NSTrackingArea message lag

2008-06-26 Thread Markus Spoettl
definitely not the drawing code. Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: NSTrackingArea message lag

2008-06-26 Thread Markus Spoettl
On Jun 26, 2008, at 6:11 PM, Kyle Sluder wrote: Well you've avoided the problem, but you should still remove the condition on -needsDisplay. It's semantically incorrect. I did that (I thought I mentioned that). Regards Markus -- __ Markus Spoettl

How can I find the source of random crashes when using debug frameworks

2008-06-27 Thread Markus Spoettl
in -[NSApplication run] #26 0x915f3030 in NSApplicationMain #27 0x394c in main at main.m:13 -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev

List of Indexed Accessor Names for NSMutableArray

2008-06-28 Thread Markus Spoettl
, is there complete list of method names or is it just all NSMutableArray methods that contain Objects in their name with Objects replaced by key ? Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature

Re: List of Indexed Accessor Names for NSMutableArray

2008-06-28 Thread Markus Spoettl
, only an explanation of what has happened and why I asked the question I am asking. The real question is if there is a list of accessor methods that can be implemented optionally so you don't run into this accidentially as I did. Markus -- __ Markus

Re: List of Indexed Accessor Names for NSMutableArray

2008-06-28 Thread Markus Spoettl
an NSUndefinedKeyException, but you can override it in your application. -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: List of Indexed Accessor Names for NSMutableArray

2008-06-28 Thread Markus Spoettl
. Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: Methods that return autoreleased objects?

2008-06-28 Thread Markus Spoettl
of. More information here: http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Tasks/MemoryManagementRules.html Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature

Re: Getting mouse moved events on overlay windows

2008-07-01 Thread Markus Spoettl
to hear your insight. Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Re: Getting mouse moved events on overlay windows

2008-07-01 Thread Markus Spoettl
:(NSEvent *)theEvent { mp = [self convertPoint:[theEvent locationInWindow] fromView:nil]; [self setNeedsDisplay:YES]; } @end -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Re: How to keep a window always in foreground?

2008-07-04 Thread Markus Spoettl
Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: Mini Popup Window (Like iCal)

2008-07-10 Thread Markus Spoettl
that since startFrom.size is {0,0} this causes trouble with controls that auto-size based on the window's size. Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa

Re: Protocol-conforming object does not include retain?

2008-07-11 Thread Markus Spoettl
-- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

[[NSDate alloc] initWithString] crashes with valid string

2008-07-15 Thread Markus Spoettl
-- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ 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

Re: [[NSDate alloc] initWithString] crashes with valid string

2008-07-15 Thread Markus Spoettl
0x9545680b in +[NSURLConnection sendSynchronousRequest:returningResponse:error:] #29 0x9554fe56 in -[NSXMLDocument initWithContentsOfURL:options:error:] #30 0x0003d601 in -[RubiData(Import) importFromFile:] at RubiData +Import.m:257 -- __ Markus

Re: [[NSDate alloc] initWithString] crashes with valid string

2008-07-15 Thread Markus Spoettl
because they most certainly will ignore the issue unless I produce a test application that recreates the crash reliably (which could be tricky). Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature

Re: NSOutlineView force expansion/refresh?

2008-07-16 Thread Markus Spoettl
-- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Getting the keyEquivalent as a string

2008-07-16 Thread Markus Spoettl
). Obviously assembling it myself wouldn't be a big deal but I'm sure there's a function for that somewhere already. Is there? Thanks Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature

Re: Getting the keyEquivalent as a string

2008-07-16 Thread Markus Spoettl
/. Thanks Ken. Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

NSWindowController getting over-released by NSDocument?

2008-07-21 Thread Markus Spoettl
of this setting. Am I not supposed to release the window controller in the document even though I create it? Thanks for any pointers! Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature

Re: NSWindowController getting over-released by NSDocument?

2008-07-21 Thread Markus Spoettl
On Jul 20, 2008, at 11:53 PM, Markus Spoettl wrote: I'm having some problems with memory management of a window controller in a standard NSDocument based application. The problem is that my window controller gets released through an autorelease pool after the document has been deallocated

Avoiding mutual retain cycles

2008-07-21 Thread Markus Spoettl
-- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Re: Avoiding mutual retain cycles

2008-07-21 Thread Markus Spoettl
should and you are better off adding a third object that handles both. Agreed, if it's in your own power and you know what your structure looks like it's simple. Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature

Re: Avoiding mutual retain cycles

2008-07-21 Thread Markus Spoettl
discusses retain cycles and the use of weak references to break them. Thanks for the link. Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list

Re: Avoiding mutual retain cycles

2008-07-21 Thread Markus Spoettl
programming techniques - which is what I was wondering about. Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Re: Avoiding mutual retain cycles

2008-07-21 Thread Markus Spoettl
suggestion. Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: Avoiding mutual retain cycles

2008-07-21 Thread Markus Spoettl
, it's usually retained. Exceptions from this norm should certainly be documented - like it is with delegates. That basically answers the original question I had, but things can get complicated and details become important. Regards Markus -- __ Markus

Re: Avoiding mutual retain cycles

2008-07-22 Thread Markus Spoettl
. Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Putting a spinning progress indicator in a outline

2008-08-01 Thread Markus Spoettl
be grateful is someone could push me in the right direction. Thanks! Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: Putting a spinning progress indicator in a outline

2008-08-02 Thread Markus Spoettl
On Aug 1, 2008, at 4:42 PM, Markus Spoettl wrote: Thanks, that looks pretty good. I can't get it to work with binding right now, not sure why that is. When I bind to a bool property of the item object (which is KVC compliant) I get this logged: 8/1/08 4:06:37 PM myApp[1280] [NSTableColumn

Re: Putting a spinning progress indicator in a outline

2008-08-02 Thread Markus Spoettl
with issues. Thanks for the progress implementation, works nicely! Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: NSTableView Question

2008-08-02 Thread Markus Spoettl
-- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ 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

Preventing deselection of NSOutlineView item

2008-08-07 Thread Markus Spoettl
within a change notification (via observing -selectedObjects of the tree controller) has no effect. Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev

Re: Preventing deselection of NSOutlineView item

2008-08-07 Thread Markus Spoettl
On Aug 7, 2008, at 2:34 PM, Markus Spoettl wrote: Basically I'd like the outline view only to change selection to other items, but not completely deselect all items. Is there a way to do this? Sometimes things are really simple but I still fail to see them: [outlineView

How to switch off NSCollectionView fade animations

2008-08-10 Thread Markus Spoettl
-- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Hiding the disclosure triangle of a specific group item in a bound NSOutlineView

2008-08-10 Thread Markus Spoettl
-- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: Hiding the disclosure triangle of a specific group item in a bound NSOutlineView

2008-08-10 Thread Markus Spoettl
-- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ 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

Re: Creating popup window/panel

2008-08-12 Thread Markus Spoettl
-- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ 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

Making a bound view re-read its value

2008-08-14 Thread Markus Spoettl
-- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ 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

Re: Making a bound view re-read its value

2008-08-14 Thread Markus Spoettl
On Aug 14, 2008, at 3:28 PM, Kyle Sluder wrote: On Thu, Aug 14, 2008 at 6:21 PM, Markus Spoettl [EMAIL PROTECTED] wrote: So how can I manually make the view update? It seems so simple but I can't figure out how to do this. I can think of a couple of ways: 1) When your preference changes

Re: Making a bound view re-read its value

2008-08-14 Thread Markus Spoettl
-- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ 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

Re: Making a bound view re-read its value

2008-08-15 Thread Markus Spoettl
-- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic signature ___ 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

  1   2   3   4   5   >