Re: NSTextView and NSTextContainer size & clipping area

2011-05-09 Thread Rimas M.
As far as I remember, text container inset sets "margins" from both sides: left and right and/or top and bottom. If text container position is important according to the text view, this will not work. 2011/5/8 Kyle Sluder > On May 8, 2011, at 3:27 AM, Дмитрий Николаев > wrote: > > > Custom text

transitionWithView:duration:options:animations:completion: still defeats me

2011-05-09 Thread Roland King
I seem to have a lot of trouble with this method! A few months ago I had my own custom drawRect: and that was messing it up, this time I just have a simple UIView with some controls on it, nothing clever. One of the controls is given by the property 'complexity'. What I want is for my UIView to

Re: what should I understand from kAudioQueueProperty_CurrentLevelMeterDB

2011-05-09 Thread Wim Lewis
On 8 May 2011, at 11:07 PM, Graham Cox wrote: > You need to find in the documentation or ask what 0dB is considered to be in > this measurement system. As I understand it, the 0dB reference for a VU meter is usually the maximum volume the system can reproduce without distortion (maybe plus some

Re: what should I understand from kAudioQueueProperty_CurrentLevelMeterDB

2011-05-09 Thread Kyle Sluder
On Sun, May 8, 2011 at 3:28 AM, Niran Bala wrote: > Hi, > > I am trying to measure dB levels of my voice. This has nothing to do with Cocoa. You should instead ask your question on the coreaudio-api list. --Kyle Sluder ___ Cocoa-dev mailing list (Coco

Re: transitionWithView:duration:options:animations:completion: still defeats me

2011-05-09 Thread Matt Neuburg
> Date: Mon, 09 May 2011 21:43:38 +0800 > From: Roland King > Subject: transitionWithView:duration:options:animations:completion: > still defeats me > > I seem to have a lot of trouble with this method! A few months ago I had my > own custom drawRect: and that was messing it up, this time

[ANN] NanoStore 2.0 is now available

2011-05-09 Thread Tito Ciuro
Hello everyone, Last year I announced NanoStore, a SQLite-based engine to store and retrieve dictionaries while fully indexing its contents. NanoStore made some people happy, but I quickly realized that it could be better as feedback poured in. While NanoStore was simple and fairly efficient, t

Re: superview

2011-05-09 Thread Conrad Shultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (Putting this back on list for anyone else who is interested; see additional exchange below.) As for completing your understanding, this is presumably handled by private API calls that shouldn't concern you. (If you really want a hint as to what migh

setState has no effect on an NSButton

2011-05-09 Thread Martin Batholdy
Hi, I have a preference window with four NSButtons that are all connected to a method and an IBOutlet: IBOutlet NSButton *buttonA; IBOutlet NSButton *buttonB; IBOutlet NSButton *buttonC; IBOutlet NSButton *buttonD; NSUserDefaults *prefs; Now I would like to set the state of these buttons accor

Re: setState has no effect on an NSButton

2011-05-09 Thread Howard Siegel
>From those symptons, it certainly sounds like there is a missing/crossed connection in IB for those buttons or you are mising @property/@synthesize lines for those buttons. - h On Mon, May 9, 2011 at 18:19, Martin Batholdy wrote: > Hi, > > I have a preference window with four NSButtons that are

Re: setState has no effect on an NSButton

2011-05-09 Thread Quincey Morris
On May 9, 2011, at 18:19, Martin Batholdy wrote: > -(void)awakeFromNib { > > prefs = [NSUserDefaults standardUserDefaults]; > > BOOL st = [prefs boolForKey:@"optionA"]; > if(st == YES){ [buttonA setState:NSOnState]; } > else if(st == NO)

Re: setState has no effect on an NSButton

2011-05-09 Thread Graham Cox
On 10/05/2011, at 11:19 AM, Martin Batholdy wrote: > BOOL st = [prefs boolForKey:@"optionA"]; > if(st == YES){ [buttonA setState:NSOnState]; } > else if(st == NO){ [buttonA setState:NSOffState]; } Apart from the advice already received,