Re: NSArrayController not rearranging correctly

2012-07-18 Thread Markus Spoettl
On 7/17/12 11:41 PM, Markus Spoettl wrote: I have an NSArrayController (automaticallyRearrangesObjects = YES) on which I set a filterPredicate in code (not through bindings). Most of the time, rearranging works but in one 100% reproducible case, the controller produces an empty

Re: NSArrayController not rearranging correctly

2012-07-18 Thread Markus Spoettl
es change. Thanks a lot for the explanation. From the documentation on automaticallyRearrangesObjects that's a little difficult to derive. Regards Markus -- __________ Markus Spoettl ___ Cocoa-dev mailing l

Re: NSArrayController not rearranging correctly

2012-07-18 Thread Markus Spoettl
call -setFilterPredicate: and nothing suspicious happens. Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments t

NSArrayController not rearranging correctly

2012-07-17 Thread Markus Spoettl
x27;d really like to avoid that. Any ideas on how to force NSArrayController to (1) either produce a correct result automatically or (2) prevent to do any rearranging by itself when a filterPredicate is set? Regards Markus -- __ Markus Sp

Re: Sensible NSMultipleValuesMarker placeholder alternatives?

2012-07-17 Thread Markus Spoettl
ds to -control:textDidChange:. Unless the delegate receives that message, the text field has not been edited by the user. Thanks guys for the input! Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Coco

Re: Sensible NSMultipleValuesMarker placeholder alternatives?

2012-07-17 Thread Markus Spoettl
On 7/17/12 9:35 AM, Quincey Morris wrote: On Jul 16, 2012, at 23:34 , Markus Spoettl wrote: What is more problematic is that if an edit field which displays the placeholder looses first responder, the model values are set to nil. There are 2 bindings options that should let you control this

Sensible NSMultipleValuesMarker placeholder alternatives?

2012-07-16 Thread Markus Spoettl
ly isn't very sensible. That doesn't seem to be possible using bindings, I'm wondering how others solve this? Regards Markus -- ______ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.app

Re: NSDocument last document loading

2012-07-02 Thread Markus Spoettl
pport for previous SDKs have a look at + (BOOL)canConcurrentlyReadDocumentsOfType:(NSString *)typeName in NSDocument Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) P

Re: CALayer contentScale initialization, where to do it? (SOLVED)

2012-06-17 Thread Markus Spoettl
yer and its sub-layers is set by the framework automatically during view initialization/nib loading. So problem solved, thanks guys! Regards Markus -- __________ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@li

Re: CALayer contentScale initialization, where to do it?

2012-06-17 Thread Markus Spoettl
root layer contentsScale? 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: CALayer contentScale initialization, where to do it?

2012-06-16 Thread Markus Spoettl
x27;m talking about, this delegate helps when contentsScale changes. Regards Markus -- __________ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: CALayer contentScale initialization, where to do it?

2012-06-16 Thread Markus Spoettl
ion/Introduction.html talks a little about layers but is rather unclear on how and when to initalize a layer contentScale properly. I don't recall reading about avoiding backingScaleFactor, though. Regards Markus -- ______

CALayer contentScale initialization, where to do it?

2012-06-16 Thread Markus Spoettl
ew in 10.7.4 I think, NSView.h line 405) seems to indicate the existence of a property or method named initialContentsScale, though I can't find any mention anywhere else. Any ideas? Regards Markus -- ______ Markus Spoettl _

NSDocument fileWrapperOfType:: invalidates returned wrapper, options?

2012-06-11 Thread Markus Spoettl
ondering if there's a better way to make sure the wrapper points to the right place once saving is complete. Regards Markus -- ______ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please d

Re: Why does NSDocument not care about saving Viewer-role document types

2012-06-10 Thread Markus Spoettl
but that has the disadvantage of potentially overwriting a file that's already using that name without any warning (however slim the chances of such a file existing are). Regards Markus -- __ Markus Spoettl _

Re: NSDocument -canAsynchronouslyWriteToURL::: never called

2012-06-10 Thread Markus Spoettl
, just not were I was looking. 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 moderato

Re: NSDocument -canAsynchronouslyWriteToURL::: never called

2012-06-10 Thread Markus Spoettl
On 6/10/12 7:45 PM, Markus Spoettl wrote: Well, it suddenly started working and the reason is that apparently you need to have -saveToURL:ofType:forSaveOperation:completionHandler: overwritten. If you don't you just don't get to use background writing. Overwriting this method does

Re: NSDocument -canAsynchronouslyWriteToURL::: never called

2012-06-10 Thread Markus Spoettl
DeprecatedOn 6/10/12 7:21 PM, Markus Spoettl wrote: Keeping the list server busy while everyone else seem to have better things to do... Is there an magic trick to get the framework to actually call NSDocument's - (BOOL)canAsynchronouslyWriteToURL:(NSURL *)url ofType:(NSString *)typ

NSDocument -canAsynchronouslyWriteToURL::: never called

2012-06-10 Thread Markus Spoettl
ere seems to be one as my override is never called. Why? Regards Markus -- ______ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the li

Why does NSDocument not care about saving Viewer-role document types

2012-06-10 Thread Markus Spoettl
his hasn't been sorted out long ago, so naturally I'm wondering once more today, what am I doing wrong? Regards Markus -- __________ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

NSFileWrapper/NSDocument package saving performance trouble

2012-06-09 Thread Markus Spoettl
me what it is. I'm using Lion 10.7.4 and base SDK 10.7, deployment target is 10.6. Regards Markus -- __________ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin request

Re: Moving CALayer and content transition animation

2012-06-07 Thread Markus Spoettl
it) and can happen a couple of times during the content animation. It's basically a layer that's dragged along with the mouse cursor. Regards Markus -- __________ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-

Moving CALayer and content transition animation

2012-06-07 Thread Markus Spoettl
proper way of handling this? Surely there must be something basic I'm missing again. Thanks for any pointers! Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Plea

Re: NSOperationQueue

2012-06-02 Thread Markus Spoettl
On 6/2/12 7:27 PM, Kyle Sluder wrote: On Jun 2, 2012, at 9:54 AM, Markus Spoettl wrote: I'm still not seeing how queuePriority would solve the issue. Say you have a queue with maxConcurrentOperationCount == 1 OP expressed his desire to have a queue with maxConcurrentOperationCoun

Re: NSOperationQueue

2012-06-02 Thread Markus Spoettl
On 6/2/12 5:55 PM, Kyle Sluder wrote: On Jun 2, 2012, at 8:38 AM, Markus Spoettl wrote: On 6/2/12 4:57 PM, Charles Srstka wrote: On Jun 1, 2012, at 10:23 PM, Graham Cox wrote: On 02/06/2012, at 1:12 PM, Kyle Sluder wrote: Give them a higher priority. You should be able to alter the

Re: NSOperationQueue

2012-06-02 Thread Markus Spoettl
nct settings. 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-a

Re: Layer hosting custom NSView and setAlphaValue

2012-05-14 Thread Markus Spoettl
root layer has -masksToBounds set to yes (which mine didn't). Easy to fix, interesting effect, though :) Thanks for the tip! Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.

Re: Layer hosting custom NSView and setAlphaValue

2012-05-14 Thread Markus Spoettl
oesn't throw an exception when used on non-layer backed views. Regards Markus -- __________ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: Layer hosting custom NSView and setAlphaValue

2012-05-14 Thread Markus Spoettl
osting). I'm setting the container's alpha value, which fades both buttons, but not my layer hosting custom view. My only guess is that there's something I need to do in my custom view but I have no idea what that is. Regards Markus -- _________

NSViewAnimation reversed when using NSAnimationEaseOut

2012-05-11 Thread Markus Spoettl
; NSViewAnimation *shrink = [[NSViewAnimation alloc] initWithViewAnimations:shrinkAnimation]; NSLog(@"%@", shrinkAnimation); [shrink setDuration:durationShrink]; [shrink setAnimationCurve:NSAnimationEaseOut]; [shrink startAnimation]; -- __

Layer hosting custom NSView and setAlphaValue

2012-05-11 Thread Markus Spoettl
s alpha is less than 1. Not sure what the problem is, the documentation for setAlphaValue doesn't tell me a lot, neither does the view programming guide. Any ideas? Regards Markus -- __________ Markus Spoettl __

Re: inconsistent behavior of NSString's localizedCaseInsensitiveCompare

2012-05-05 Thread Markus Spoettl
case insensitive. I vaguely remember being hit by the same thing once, though I can't remember when it was and I'm pretty sure a system update fixed it. It must have been in the early 10.5 or 10.6 releases. Regards Markus -- __ Markus

Re: inconsistent behavior of NSString's localizedCaseInsensitiveCompare

2012-05-05 Thread Markus Spoettl
On 5/5/12 11:56 PM, Ken Thomases wrote: On May 5, 2012, at 4:46 PM, Markus Spoettl wrote: Markus, how did you set the locale? I used the system preferences, setting it to de_AT, restarting Xcode after that and redoing the test. Regards Markus

Re: inconsistent behavior of NSString's localizedCaseInsensitiveCompare

2012-05-05 Thread Markus Spoettl
t;] (NSComparisonResult) $6 = 1 (lldb) p (NSComparisonResult)[@"laßt" localizedCaseInsensitiveCompare:@"zzz"] (NSComparisonResult) $7 = -1 (lldb) Are you sure your debugger isn't lying to you? Maybe you have category on NSString that doe

Re: CALayer compositingFilter trouble

2012-04-26 Thread Markus Spoettl
On 4/26/12 6:50 PM, David Duncan wrote: On Apr 26, 2012, at 9:12 AM, Markus Spoettl wrote: I'm posting this here because quartz-dev seems dead. Quartz-Dev may be quiet, but it doesn't seem dead to me :). OK, my bad, I'm subscribed but I didn't realize there is actual

CALayer compositingFilter trouble

2012-04-26 Thread Markus Spoettl
? Can I avoid that? How? Any tips greatly appreciated! Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to

Re: Dictionary not returning objects

2012-04-15 Thread Markus Spoettl
On 4/15/12 8:06 PM, Scott Ribe wrote: On Apr 15, 2012, at 12:01 PM, Markus Spoettl wrote: I have an NSDictionary that contains, well, objects. When I call -objectForKey: I get nil for keys that are definitely in there. The dictionary gets constructed like this: [NSDictionary

Dictionary not returning objects

2012-04-15 Thread Markus Spoettl
lsewhere. I'm using Xcode 4.3.2 on Lion 10.7.3, fully updated, this is a Mac OS X, project compiled with Apple LLVM 3.1 debugged using LLDB. Even tried LLVM GCC4.2 and I did a full clean and recompile, same result. So it's me. What's wrong? Thanks for any pointers! Regar

Re: NSSplitView-like cursor "grabbing"

2012-03-26 Thread Markus Spoettl
On 3/26/12 7:40 PM, Kevin Perry wrote: It overrides -[NSView hitTest:] to return self for clicks inside the draggable region. Fantastic, thanks a lot! Works great! Regards Markus -- __ Markus Spoettl

NSSplitView-like cursor "grabbing"

2012-03-26 Thread Markus Spoettl
or is over. How does it do that? 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 mod

Re: Disabling NSScrollView elasticity in app plist files.

2012-03-22 Thread Markus Spoettl
;t matching the executable. Last time I checked that didn't include checking for tempered resources. Maybe codesign and signature checking learned that trick. Regards Markus -- __________ Markus Spoettl ___ Cocoa-dev

Re: Disabling NSScrollView elasticity in app plist files.

2012-03-22 Thread Markus Spoettl
e rearranging it's bowels. 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 c

Re: CALayer composition changes with frame position

2012-03-22 Thread Markus Spoettl
ed. 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(at)l

Re: CALayer composition changes with frame position

2012-03-22 Thread Markus Spoettl
s, but my test case in the video is very very trimmed down. In reality lots of different things are drawn over each other, so that approach doesn't work. Regards Markus -- __________ Markus Spoettl ___ Cocoa-dev

CALayer composition changes with frame position

2012-03-22 Thread Markus Spoettl
The problem goes away when setting moveableLayer's opacity to 1.0. Then stationaryLayer is composited the same, independent of moveableLayer's position. I'm on Lion 10.7.3 using the 10.7 SDK with Xcode 4.3.1. Any ideas greatly apprecia

Re: NSDate interval formatting

2012-03-21 Thread Markus Spoettl
to define the formatting. Definitely not something I'd want to do. For this to work consistent with other regular dates we'd have to do it for all locales available on OS X, not just the locales we translate to. Regards Markus -- ______

NSDate interval formatting

2012-03-20 Thread Markus Spoettl
ing? If so, is there a way to extract that information? Generally the Unicode LOCALE DATA MARKUP LANGUAGE (Unicode Technical Standard #35) guide is pretty silent on interval formatting, so is there even a definition for it? Regards Markus -- _______

Re: Transition from [NSEvent phase] to [NSEvent momentumPhase]

2012-03-17 Thread Markus Spoettl
n work if the user flicks on the trackpad but has momentum scrolling turned off? Since the snap-back - which comes after scrolling - is animated, it actually looks alright. Not nearly as terrible as I imagined when I read your question :) Thanks for the tip! Regards Markus -- ____

Re: Transition from [NSEvent phase] to [NSEvent momentumPhase]

2012-03-16 Thread Markus Spoettl
hat it really is over. 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(at)

Re: Transition from [NSEvent phase] to [NSEvent momentumPhase]

2012-03-16 Thread Markus Spoettl
o do cleanup altogether? I'm hoping there is one, I'm not happy with the way its working right now. Thanks anyway! Regards Markus -- __________ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.co

Re: Transition from [NSEvent phase] to [NSEvent momentumPhase]

2012-03-16 Thread Markus Spoettl
Hello, I take it either (a) I'm the only one here having this problem or (b) it is so badly explained that no one knows that I'm talking about? If it's (b) I can try again... Regards Markus On 11.03.12 20:43, Markus Spoettl wrote: Hello, in a custom view I'm pro

Transition from [NSEvent phase] to [NSEvent momentumPhase]

2012-03-11 Thread Markus Spoettl
. I need to do cleanup but I must be sure scrolling is over before doing it. The system knows (at the time of sending the final normal -phase event) that it's going to send additional -momentumPhase events. Is there a way to find out? Regards Markus -- _________

Re: NSView mouseDown truncated coordinates

2012-02-23 Thread Markus Spoettl
ghlighted one being manipulated. Really confusing to the end user. Regards Markus PS: None of your or my replies seem to make it through to the list although both you an I cc the list. Not sure why that is. -- __________ Markus Spoettl __

Re: NSView mouseDown truncated coordinates

2012-02-23 Thread Markus Spoettl
unclear what the relationship of coordinates between mouseMoved: and mouseDown: is. Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin re

Re: NSView mouseDown truncated coordinates

2012-02-23 Thread Markus Spoettl
g -mouseDown: coordinates if deemed sensible in the situation). It just complicates things by having to remember more state than was necessary before. And it was a surprise. -- ______ Markus Spoettl ___ Cocoa-dev mai

Re: NSView mouseDown truncated coordinates

2012-02-23 Thread Markus Spoettl
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(at)lists.apple.com Help/Unsubscribe/Update your Subs

Re: NSView mouseDown truncated coordinates

2012-02-23 Thread Markus Spoettl
(which happens surprisingly often, btw.). Anyone know how the system works out the integral coordinates? Regards Markus -- __________ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not p

Re: TextEdit - Open Recent - slow

2012-02-05 Thread Markus Spoettl
time - it is slow again. Is this a known problem? If so, what is the reason? I get this all the time when there's a file in the recently open list that's on a slow network volume. Regards Markus -- ______ Mark

Re: Icon not bouncing in Dock when App started

2011-03-19 Thread Markus Spoettl
t actually use it. Yes, right. I'm using layers so that's legitimate, thanks! The issue appears to be in the Dock application then which doesn't take the switch to discrete graphics very well if the app that just started happens to be the reason for that switch. Regards Ma

Re: Icon not bouncing in Dock when App started

2011-03-19 Thread Markus Spoettl
On Mar 19, 2011, at 11:29 AM, Markus Spoettl wrote: > In my document based application, when started (by clicking on the dock icon > or otherwise), the icon's startup bounce motion interrupts near the top of > the animation, stays there for around 0.3 - 0.5 seconds and then the ic

Icon not bouncing in Dock when App started

2011-03-19 Thread Markus Spoettl
noticeable, though. Any ideas what that could be caused by? Regards Markus -- __________ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to t

black flashes when updating CALayer content

2011-02-24 Thread Markus Spoettl
never see it. 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-a

Re: Help with Apple Helpbooks

2011-02-23 Thread Markus Spoettl
on. 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(at)lists.apple.com Help/Unsubscribe/

Re: Help with Apple Helpbooks

2011-02-23 Thread Markus Spoettl
ok at > <http://www.peachpit.com/store/product.aspx?isbn=0321670418>. If you're like me and can't wait for the mail delivery, you can also get it much faster from Amazon as a Kindle edition. Regards Markus -- __ Markus Spoettl

Re: NSDateFormatter initialization+formatting not working

2011-02-21 Thread Markus Spoettl
ous versions of that header, the -init method declaration was not > commented out. This sounds right. Calling -init deprecated is most certainly a documentation bug in this case. Thanks for clearing this one up for me! Regards Markus -- __ Markus

NSDateFormatter initialization+formatting not working

2011-02-19 Thread Markus Spoettl
ralLanguage; @end #endif Which to me tries to convey that -initWithDateFormat: is deprecated -- not by saying so directly of course. So who is wrong, docs or header? And why doesn't the -initWithDateFormat: initializer work? Puzzled Markus -- __ Markus

Re: Avoiding NSTableView NSOutlineView menu row highlight

2011-02-18 Thread Markus Spoettl
uld loose a lot of UI goodies that way and thus its not really an option. Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or mode

Re: Avoiding NSTableView NSOutlineView menu row highlight

2011-02-18 Thread Markus Spoettl
be if I had control over the context-highlight and could manually force rows to go into this state but as it is, it's undesirable for my particular usage. Regards Markus -- __ Markus Spoettl ___ Cocoa

Avoiding NSTableView NSOutlineView menu row highlight

2011-02-18 Thread Markus Spoettl
st like to show the "normal" row highlight background -- which I customize by overriding -highlightSelectionInClipRect: in my own NSOutlineView subclass. Thanks! Markus -- __________ Markus Spoettl ___ Cocoa-dev

Re: NSOutlineView syncing demo project

2011-01-24 Thread Markus Spoettl
On Jan 24, 2011, at 12:38 PM, Markus Spoettl wrote: > Am I dreaming this example project up? For the record: It appears so. However, there's a topic in the NSScrollView programming guide that talks in detail about synchronizing two scroll views: http://developer.apple.com/lib

-collapseItem: doesn't collapse when -outlineView:shouldShowOutlineCellForItem: returns NO

2011-01-24 Thread Markus Spoettl
e 10.6 SDK. 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

NSOutlineView syncing demo project

2011-01-24 Thread Markus Spoettl
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(at)lists.apple.com Help/Unsubscribe/Update yo

Re: Maintaining NSCursor outside of app window

2011-01-13 Thread Markus Spoettl
tsideOfEventStream]; > NSPoint localPoint = [view convertPoint:windowPoint fromView:nil]; > if (![view mouse:localPoint inRect:[view visibleRect]]) { > [[NSCursor disappearingItemCursor] set]; > } Fantastic, thanks so much Corbin! Regards Markus -- ___

Maintaining NSCursor outside of app window

2011-01-13 Thread Markus Spoettl
work) if I can avoid it because I fear there are countless little traps to hit on the way. Is there a way not to get the cursor reset by AppKit behind my back? Regards Markus -- ______ Markus Spoettl ___ Coco

Re: NSDocument updateChangeCount when using Bindings

2011-01-06 Thread Markus Spoettl
t will automatically trigger document change flags for you. If you have methods for adding/removing an objects from the array, you could add undo/redo actions there. Regards Markus -- __ Markus Spoettl ___ Cocoa-

Re: NIB Object instantiation of missing class

2010-12-01 Thread Markus Spoettl
On Dec 1, 2010, at 6:14 PM, jonat...@mugginsoft.com wrote: > On 1 Dec 2010, at 17:08, Markus Spoettl wrote: > >> Hello, >> >> I have an application for which I need to create a second version that's >> basically the same but doesn't use a Framework

NIB Object instantiation of missing class

2010-12-01 Thread Markus Spoettl
e if that situation is handled gracefully in Leopard (I assume it is). Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator co

Re: Set Icon For Document-Based Files

2010-11-04 Thread Markus Spoettl
r uses a version different than the one you're currently working on to get its icons? Regards Markus -- ______ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: NSCollectionView file promise drag & drop and selection

2010-10-01 Thread Markus Spoettl
resents? Just guessing here but maybe something in your setup accidentally triggers a re-draw of the view after its item's selection status has changed and that event doesn't happen on Leopard so the view's representation remains the same. Regards Markus -- _______

Re: My NSSwappedDouble decoding crashes on iPhone 4

2010-09-29 Thread Markus Spoettl
On Sep 29, 2010, at 2:41 AM, Markus Spoettl wrote: > The the Mac code is 32bit and runs on Leopard and Snow Leopard. > > - (void)encodeDouble:(double)value forKey:(NSString *)key withCoder:(NSCoder > *)encoder > { >NSSwappedDouble sd = NSSwapHostDoubleToLittle(val

My NSSwappedDouble decoding crashes on iPhone 4

2010-09-28 Thread Markus Spoettl
or any 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 at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe

Re: What's the point of @properties?

2010-09-19 Thread Markus Spoettl
rKeyPath: messages for those objects observing the property (via -addObserver:). Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or modera

Re: CALayer instant content update

2010-09-03 Thread Markus Spoettl
On Sep 3, 2010, at 1:44 PM, David Duncan wrote: > On Sep 3, 2010, at 10:36 AM, Markus Spoettl wrote: > >> I have delegate-drawn layers (on the main thread) whose content I want to >> change without animation, I don't want to a change transition of any kind in >>

CALayer instant content update

2010-09-03 Thread Markus Spoettl
ush a lot, I think I got the idea from there. -- ______ 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-de

Re: redraw problem

2010-07-29 Thread Markus Spoettl
in a state they expect it in. See <http://developer.apple.com/mac/library/documentation/cocoa/reference/ApplicationKit/Classes/NSGraphicsContext_Class/Reference/Reference.html#//apple_ref/doc/uid/20000336-BAJBDIBC> Regards Markus -- __ Markus Spoettl _

Re: Data downloading performance

2010-07-16 Thread Markus Spoettl
quot; doesn't bring up anything (useful) - or I'm overlooking it. So what is it? As a user of the synchronous API, I'm genuinely interested in hearing what it is. Markus -- __________ Markus Spoettl ___ Coc

Re: Restoring a NSTreeController selection

2010-06-25 Thread Markus Spoettl
ther. If the heading was "Special Considerations prior Mac OS X 10.5" it would be crystal clear even to me. Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or modera

Re: Restoring a NSTreeController selection

2010-06-24 Thread Markus Spoettl
ed objects. This method should be used for binding, no assumption should be made about what methods this object supports. - I feel a little stupid as it's obviously referring to prior 10.5, although the language could be clearer. Thanks all for your help! Regards Markus -- ___

Restoring a NSTreeController selection

2010-06-23 Thread Markus Spoettl
ndex paths would no longer be the same. -- __________ 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 mod

Re: Cocoa: dragging files from Finder

2010-06-05 Thread Markus Spoettl
ode (but that doesn't change the problem at hand). 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-ad

Re: Change the background colour of a window and toolbar

2010-06-03 Thread Markus Spoettl
ke > the window draggable from the bottom bar without making the window textured? I use [window setContentBorderThickness:24.0 forEdge:NSMinYEdge]; Regards Markus -- ______ Markus Spoettl ___ Cocoa-dev mailing lis

Re: Value Transformer with multiple Model Key Paths

2010-05-30 Thread Markus Spoettl
or controller (or maybe a category on the original class). As I said I'm happy to give up that position when there's need for it, but I feel guilty all the time :) Regards Markus (*) All kinds of exceptions apply. -- __ Markus Spoettl _

Re: Value Transformer with multiple Model Key Paths

2010-05-30 Thread Markus Spoettl
ust maintain MVC you could create a proxy object that replicates all your model objects' properties + the calculated properties for display. Then you fill the table with proxies instead of the original objects. Regards Markus -- ______

Re: NSTextFieldCell + Transparent NSTableView = Black Field editor

2010-05-26 Thread Markus Spoettl
r to something more sensible so I can keep my transparent table. Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator com

NSTextFieldCell + Transparent NSTableView = Black Field editor

2010-05-26 Thread Markus Spoettl
is problem? Do I need to supply my own customized field editor via -windowWillReturnFieldEditor:toObject:? I'm on Snow Leopard, my deployment target and base SDK is 10.5, using Xcode 3.2.1. Thanks for any pointers! Regards Markus -- _______

Re: newbe view question

2010-05-16 Thread Markus Spoettl
gFiles.html#//apple_ref/doc/uid/20001288-CEGJFDFG> 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-admin

Re: Seeking a graceful way to end a program

2010-04-29 Thread Markus Spoettl
look through all my reference books and searched the internet for > sample code but have come up empty handed. Thanks for your assistance. [NSApplication sharedApplication] terminate:nil]; should work, no? Markus -- ______ Markus Spoettl ___

Re: Design for cleaning up Undo for a tree of objects

2010-04-27 Thread Markus Spoettl
d still be valid, and that's what's important. No? There are probably good reasons why the node removal isn't undoable and the problem is legitimate, I just can't think of one right now. Regards Markus -- __ Markus Spoettl _

Re: Why is compiler warning for +setKeys:triggerChangeNotificationsForDependentKey: ??

2010-04-20 Thread Markus Spoettl
Foundation/Protocols/NSKeyValueObserving_Protocol/DeprecationAppendix/AppendixADeprecatedAPI.html> Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the

Re: Toolbar customizer crashes on Leopard when using menu delegate

2010-03-25 Thread Markus Spoettl
for the detailed explanation. Something else must be playing into this because my delegate is an NSWindowController subclass which already conforms to the NSCoding protocol. A second instance actually gets created during the customizer setup, but it's dealloc'd before the cra

<    1   2   3   4   5   6   >