Re: Using multiple bindings to enable a button

2015-02-10 Thread Ken Thomases
On Feb 11, 2015, at 12:31 AM, Quincey Morris wrote: > On Feb 10, 2015, at 21:45 , Steve Mills wrote: >> >> I'm not sure about the KVO compliancy. I'm still a newbie in this area. Let >> me give you the rundown on the stuff that deals with it. >> >> @interface WindController : NSWindowControl

Re: Using multiple bindings to enable a button

2015-02-10 Thread Quincey Morris
On Feb 10, 2015, at 21:45 , Steve Mills wrote: > > I'm not sure about the KVO compliancy. I'm still a newbie in this area. Let > me give you the rundown on the stuff that deals with it. > > @interface WindController : NSWindowController > @property (weak) NSString* comboStringValue; > @end > >

Re: Using multiple bindings to enable a button

2015-02-10 Thread Steve Mills
On Feb 10, 2015, at 23:04:02, Quincey Morris wrote: > > Are you sure that the “comboStringValue” property is KVO-compliant? Is it a > NSString or a NSMutableString? I'm not sure about the KVO compliancy. I'm still a newbie in this area. Let me give you the rundown on the stuff that deals with

Re: Using multiple bindings to enable a button

2015-02-10 Thread Quincey Morris
On Feb 10, 2015, at 20:23 , Steve Mills wrote: > > -Enabled (Keywords Array Controller.selection.@count) using a custom value > transformer that returns true only if the count is 1 > -Enabled2 (File's Owner.comboStringValue.length) > > That didn't work. Swapping them did. Smells buggy to me. Ca

Using multiple bindings to enable a button

2015-02-10 Thread Steve Mills
The docs say that when binding multiple NSButton enabled properties, they are ANDed together. I tried this earlier and it didn't work when I had them in one order. So I switched the order and it worked. Bwuh? Here's what I had first: -Enabled (Keywords Array Controller.selection.@count) using a

Re: Disable Text Replacement

2015-02-10 Thread Andy Lee
On Feb 10, 2015, at 11:42 AM, Andreas Höschler wrote: > What puzzles me is that [self > respondsToSelector:@selector(setAutomaticQuoteSubstitutionEnabled:)] returns > NO!? How can this be? It can't, assuming self is an NSTextView (or, as you seem to be using, a subclass of NSTextView). How do

Re: Disable Text Replacement

2015-02-10 Thread Andy Lee
On Feb 10, 2015, at 6:15 AM, Andreas Höschler wrote: > I also found > > NSLog(@"isAutomaticTextReplacementEnabled %d", [NSSpellChecker > isAutomaticTextReplacementEnabled]); > NSLog(@"isAutomaticSpellingCorrectionEnabled %d", [NSSpellChecker > isAutomaticSpellingCorrectionEnabled]); > > bu

Re: Xcode 5.1 is crashing in 10.8.5

2015-02-10 Thread Joar Wingfors
Please file a bug report and attach the nib file in question. Please also attach the crash reports. Joar > On 9 feb 2015, at 20:13, Appa Rao Mulpuri wrote: > > Hi List, > > Xib created with Xcode 6.1.1 was not opening(Xcode is crashing) in

Re: Right-mouse click in tables not working correctly since 10.10.2?

2015-02-10 Thread Quincey Morris
On Feb 10, 2015, at 15:16 , Graham Cox wrote: > > Right-mouse click to show a menu on a table row is really working badly since > I updated to 10.10.2. There was a bug introduced in 10.10.2 that broke NSClickGestureRecognizer, and this might possibly be the source of what you’re seeing. The sy

Re: Question for StackOverflow or other about not sharing cookie jar per webview

2015-02-10 Thread Jens Alfke
You may be better off asking on the webkit-sdk-dev list on this site. I’ve seen WebKit developers from Apple answer questions there, but not on this list. —Jens > On Feb 10, 2015, at 2:13 PM, Juanjo Conti wrote: > > How to achieve the goal of having a not shared cookie jar per WebView in > Mac

Re: NSBezierPath + thin lines + antialias = :(

2015-02-10 Thread Clark S. Cox III
> On Feb 10, 2015, at 15:34, Clark S. Cox III wrote: > >> >> On Feb 10, 2015, at 12:20, Quincey Morris >> wrote: >> >> On Feb 10, 2015, at 11:23 , Jerry Krinock wrote: >>> >>> I’ve always wondered why, when you’re dragging a window around a non-Retina >>> screen, the anti-aliasing doesn’t

Re: NSBezierPath + thin lines + antialias = :(

2015-02-10 Thread Clark S. Cox III
> On Feb 10, 2015, at 12:20, Quincey Morris > wrote: > > On Feb 10, 2015, at 11:23 , Jerry Krinock wrote: >> >> I’ve always wondered why, when you’re dragging a window around a non-Retina >> screen, the anti-aliasing doesn’t show a “comb filter” kind of effect, with >> different lines getti

Re: Right-mouse click in tables not working correctly since 10.10.2?

2015-02-10 Thread Greg Parker
> On Feb 10, 2015, at 3:16 PM, Graham Cox wrote: > > Just wondering if anyone else is seeing this, or if it's just me... > > Right-mouse click to show a menu on a table row is really working badly since > I updated to 10.10.2. The menu shows, then immediately disappears. Sometimes > up to fiv

Re: Right-mouse click in tables not working correctly since 10.10.2?

2015-02-10 Thread Scott Ribe
On Feb 10, 2015, at 4:16 PM, Graham Cox wrote: > > If others are seeing this effect I'll file a bug, otherwise I'll just have to > put it down to something weird on my system. I'm not seeing it all all in the Finder, and haven't noticed it elsewhere. -- Scott Ribe scott_r...@elevated-dev.com

Right-mouse click in tables not working correctly since 10.10.2?

2015-02-10 Thread Graham Cox
Just wondering if anyone else is seeing this, or if it's just me... Right-mouse click to show a menu on a table row is really working badly since I updated to 10.10.2. The menu shows, then immediately disappears. Sometimes up to five clicks are needed to make it stay up. If I click and hold, the

Re: [CIImageAccumulator image]: getting the BMP representation destroys the image contents

2015-02-10 Thread Nick
Hi Sandor, by copying UIImage from the accumulator you mean calling -[CIImage copy] on the accumulator's image? Yes, I tried that. It didn't work... 2015-02-08 16:43 GMT+02:00 Sandor Szatmari : > > > On Feb 6, 2015, at 18:23, Nick wrote: > > > > Hello, > > I am playing with the CIMicroPaint samp

Question for StackOverflow or other about not sharing cookie jar per webview

2015-02-10 Thread Juanjo Conti
How to achieve the goal of having a not shared cookie jar per WebView in Mac Os X I've been trying to achieve the goal of having a unique (not shared) cookie jar per WebView in Mac Os X (cookies managment works different for iOS). After reading a lot of StackOverflow question and digging the docs

Re: ARC dealloc best pratice

2015-02-10 Thread Jonathan Mitchell
> On 10 Feb 2015, at 21:20, Sean McBride wrote: > > On Fri, 6 Feb 2015 12:46:44 -0800, Jens Alfke said: > >> Come to think of it, I'm surprised that AppKit delegates are still >> unsafe-unretained. Why haven't these been converted to safe weak >> references yet? > > The 'why' has been answered

Re: ARC dealloc best pratice

2015-02-10 Thread Sean McBride
On Fri, 6 Feb 2015 12:46:44 -0800, Jens Alfke said: >Come to think of it, I'm surprised that AppKit delegates are still >unsafe-unretained. Why haven't these been converted to safe weak >references yet? The 'why' has been answered, but worse it's not even clear sometimes what a delegate's situat

Re: NSBezierPath + thin lines + antialias = :(

2015-02-10 Thread Quincey Morris
On Feb 10, 2015, at 11:23 , Jerry Krinock wrote: > > I’ve always wondered why, when you’re dragging a window around a non-Retina > screen, the anti-aliasing doesn’t show a “comb filter” kind of effect, with > different lines getting fuzzy and sharp as they are dragged on and off their > pixels

Re: NSBezierPath + thin lines + antialias = :(

2015-02-10 Thread Jerry Krinock
> On 2015 Feb 10, at 05:36, Charles Jenkins wrote: > > This may explain why my purchase of a program that outputs code for vector > images resulted in disappointment. Counterintuitive at first, but, yes :)) I’ve always wondered why, when you’re dragging a window around a non-Retina screen, t

Re: Disable Text Replacement

2015-02-10 Thread Andreas Höschler
Hi Jens, > Have you tried turning off automaticDashSubstitutionEnabled? Thanks a lot for you response. I goggled for automaticDashSubstitutionEnabled and landed here: http://stackoverflow.com/questions/19801601/nstextview-with-smart-quotes-disabled-still-replaces-quotes

Re: Disable Text Replacement

2015-02-10 Thread Jens Alfke
Have you tried turning off automaticDashSubstitutionEnabled? —Jens ___ 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.co

Color fun with IBOutlet named "appNameLabel"

2015-02-10 Thread Markus Spoettl
Hi, I have an about window with a label for the app name on it. That label was connected to an outlet named "appNamelabel" on its window controller. There are a couple of other labels on the same window, connected to other outlets. The labels are all inside an NSVisualEffectsView which is i

Re: NSBezierPath + thin lines + antialias = :(

2015-02-10 Thread Charles Jenkins
This may explain why my purchase of a program that outputs code for vector images resulted in disappointment. I don't have a retina display, so I bought a program to make graphics code that would look good at any size/resolution in my Mac app, even for displays I have no experience with. What I

Re: Running window as a sheet

2015-02-10 Thread Charles Jenkins
Thank you all very much. You know, I started this attempt by typing "[settings beginSheet" because I assumed all windows/windowControllers acted like savePanel, but XCode didn't give any code-completion suggestions for that. Then when I did some documentation research, I read that SavePanel's b

Disable Text Replacement

2015-02-10 Thread Andreas Höschler
Hi all, I have done [_textView setAutomaticTextReplacementEnabled:NO]; Still, when I enter three dots . . . into this textview they still get replacement with some unicode character!? Who is doing this replacement and how can this be disabled programmatically? I also found NSLog(