Re: NSAssert no longer displaying reason in console

2011-10-24 Thread Ben Kennedy
On 24 Oct 2011, at 3:53 pm, Matt Neuburg wrote: > That's all! Dude, where's my reason? And without a printing of the reason, > what's the good of the assert? (And hey, I wouldn't mind seeing that lovely > call stack, too.) Exceptions don't get logged automatically anymore when running under iOS

NSAssert no longer displaying reason in console

2011-10-24 Thread Matt Neuburg
- (id) init { NSAssert(NO, @"Making a nameless dog is forbidden."); return nil; } Here's what used to happen (iPhone 4.3 simulator) when I hit that assert: 2011-10-24 15:43:37.626 p262namedDog[3505:207] *** Assertion failure in -[Dog init], /path/to/Dog.m:20 2011-10-24 15:43:37.689 p262n

Re: Tool Tip Format

2011-10-24 Thread koko
Cool. Thanks! -koko On Oct 24, 2011, at 4:16 PM, Gary L. Wade wrote: > Hold down the option key while pressing the return key to embed returns in IB > tool tips. > -- > Gary L. Wade (Sent from my iPad) > http://www.garywade.com/ > > On Oct 24, 2011, at 3:10 PM, koko wrote: > >> I resorted t

Re: Tool Tip Format

2011-10-24 Thread Gary L. Wade
Hold down the option key while pressing the return key to embed returns in IB tool tips. -- Gary L. Wade (Sent from my iPad) http://www.garywade.com/ On Oct 24, 2011, at 3:10 PM, koko wrote: > I resorted to setting the tool tip in code and it works ok ... I just wanted > to do it in IB which I

Re: Tool Tip Format

2011-10-24 Thread koko
I resorted to setting the tool tip in code and it works ok ... I just wanted to do it in IB which I failed to mention. -koko On Oct 24, 2011, at 3:52 PM, Peter wrote: > Are you using double quotes? > > For my tool tips I am returning something like this: > > return [NSString stringWithForma

Re: Scripting Bridge warning: 'no class for scripting class "iTunesBrowserWindow"'

2011-10-24 Thread Matt Neuburg
On Sun, 23 Oct 2011 20:22:40 -0400, Gabriel Roth said: >> I think iTunesBrowserWindow *is* the classForScriptingClass and that you >> want to ask for classForScriptingClass:@"browser window". m. > >Yes, that seems to be correct. Thanks! Actually when I said "I think" I was just being polite. :)

Re: Tool Tip Format

2011-10-24 Thread Peter
Are you using double quotes? For my tool tips I am returning something like this: return [NSString stringWithFormat:@"%@\n\n%@", currentFilePath, @"▸ File is missing!"]; Which works out perfectly. Am 24.10.2011 um 23:36 schrieb koko: > I want to add a new line to tool tip. > > I have tried b

Tool Tip Format

2011-10-24 Thread koko
I want to add a new line to tool tip. I have tried by putting a \n where the line should break but it just shows up in too tip. Line\nNext Line Can a new line be put into a tool tip. -koko___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Pleas

Re: CAShapeLayer as a mask for CALayer: rounded corners are stretched

2011-10-24 Thread David Duncan
On Oct 21, 2011, at 8:23 PM, Anton Sotkov wrote: > I want to mask a CALayer with CAShapeLayer, because changes to the shape can > be animated. > > When I use the CAShapeLayer as a mask, its rounded corners are stretched. > However, if I take the same shape, create an image with it, and use the

Re: inserting/removing items in NSOutlineView subclass

2011-10-24 Thread Corbin Dunn
hi sebastien, Are you sure you are calling beginUpdates? At what point are you doing the code below in your subclass? Also, can you post the complete stack trace? If you think it is a bug in appkit, please log it at bugreporter.apple.com -- but please include a test app, as I haven't been able t