[Moderator] NDA and iOS 5 -- Re: Problem with AVFoundation

2011-10-08 Thread Scott Anguish
iOS 5.0 has not been officially released, and therefore cannot be discussed in public. It violates the non-disclosure agreement you accept when you download the software. This is a public list. No NDA discussion of iOS or Mac OS X here. Please use the developer forums at devforums.apple.com

Re: NSPrintInfo and NSPageLayout

2011-10-08 Thread Torsten Curdt
So I have the panel and the preview is correct. Now I click to change the orientation from portrait to landscape. Of course at a scaling factor of 100% it should fill the page, but instead it's just sticks to the previous size and centers it on the page. What am I missing there? Hard to

NSTableView - Drag/Drop not working

2011-10-08 Thread GW Rodriguez
I have gone through many different threads on this, read the docs and went over a few example projects.  For some reason I cannot get reordering via drag and drop to work.  I have even created a new project with only a NSTableView with one column and pasted code from a working example and it

dataWithBytesNoCopy:length:freeWhenDone

2011-10-08 Thread silverdr
Hello group, I have a large NSMutableData, which I divide into some logical structure elements creating new NSMutableData instances, which are supposed to hold a subset of bytes the large instance holds. Yet I want all the manipulations done on the bytes of the small instances to be reflected

Re: NSPrintInfo and NSPageLayout

2011-10-08 Thread Ken Thomases
On Oct 8, 2011, at 8:29 AM, Torsten Curdt wrote: So I have the panel and the preview is correct. Now I click to change the orientation from portrait to landscape. Of course at a scaling factor of 100% it should fill the page, but instead it's just sticks to the previous size and centers it on

Re: dataWithBytesNoCopy:length:freeWhenDone

2011-10-08 Thread Quincey Morris
On Oct 8, 2011, at 14:31 , silve...@wfmh.org.pl wrote: What am I doing wrong? Shouldn't the instance created using dataWithBytesNoCopy:length:freeWhenDone simply hold the same bytes as the originally provided ones? Presumably you're using 'dataWithBytesNoCopy:length:freeWhenDone:NO', since

return NO in tableViewSelectionDidChange: disables button cell

2011-10-08 Thread Michael Hanna
On Mac OS X 10.6.8, in an NSTableView I have a column that contains nsbuttoncell class. Row selection isn't useful in my application but doing: - (BOOL)tableView:(NSTableView *)tableView shouldSelectRow:(NSInteger)row { return NO; } means that there is no response whenever I click on the

Re: return NO in tableViewSelectionDidChange: disables button cell

2011-10-08 Thread Quincey Morris
On Oct 8, 2011, at 20:10 , Michael Hanna wrote: On Mac OS X 10.6.8, in an NSTableView I have a column that contains nsbuttoncell class. Row selection isn't useful in my application but doing: - (BOOL)tableView:(NSTableView *)tableView shouldSelectRow:(NSInteger)row { return NO; }

Re: dataWithBytesNoCopy:length:freeWhenDone

2011-10-08 Thread Ken Thomases
On Oct 8, 2011, at 10:05 PM, Quincey Morris wrote: On Oct 8, 2011, at 14:31 , silve...@wfmh.org.pl wrote: What am I doing wrong? Shouldn't the instance created using dataWithBytesNoCopy:length:freeWhenDone simply hold the same bytes as the originally provided ones? I'd guess that, with

-dateWithTimeIntervalSinceNow: 64-bits may overflow

2011-10-08 Thread Jerry Krinock
Don't do this: -[NSDate dateWithTimeIntervalSinceNow:FLT_MAX] ; Expected result: A date far off into the future which will always behave as though it is later than or equal to any other date. No problem ever in 32-bit executable. In 64-bit, -[NSDate compare:] and -[NSDate laterDate:]