On Mon, 31 May 2010 18:49:14 +0100, Alastair Houghton
said:
>> Out of curiosity, what simpler approach to creating a list have you seen?
>
>While I'd be interested to hear from Bill exactly what he was expecting, I
*suspect* that he's referring to the style of list control you get on other
platfor
On 31 May 2010, at 11:36, Uli Kusterer wrote:
>> *5)** **I **can't create a simple list*
>>
>> I did it the only way I could -- with a table that has one column, etc. Man
>> that was painful for a simple list. Is there a better way?
>
> I have to admit I thought AppKit's way of handling lists wa
On May 27, 2010, at 9:43 PM, Bill Appleton wrote:
> *1) I can't hide a file, or test if a file is hidden*
>
> I had to resort to FSGetCatalogInfo -- there is no way to do it through
> NSFileManager, etc. Right?
Hi Bill,
others have already pointed to NSURL (and CFURLRef).
> *2)** **I **can't *
On May 27, 2010, at 12:43 PM, Bill Appleton wrote:
> *5)** **I **can't create a simple list*
>
> I did it the only way I could -- with a table that has one column, etc. Man
> that was painful for a simple list. Is there a better way?
In what way did you find creating an NSTableView with one colu
hi all,
i fixed the movie poster problem as well
thanks for all the help, this is a great forum
have a nice weekend!
best,
bill
On Fri, May 28, 2010 at 1:28 PM, Robert Martin wrote:
> Try using the QTMovie method frameImageAtTime: withAttributes: error:
>
> You can specify the image si
On May 27, 2010, at 12:43 PM, Bill Appleton wrote:
> there were some things i
> noticed that i couldn't do easily in Cocoa or any other 64 bit OSX API.
Cocoa doesn’t claim to do everything. There are a lot of tasks that should be
done using lower level APIs.
> *1) I can't hide a file, or test
Try using the QTMovie method frameImageAtTime: withAttributes: error:
You can specify the image size you want returned in the attributes dictionary
(along with the image format).
On May 28, 2010, at 2:55 PM, Bill Appleton wrote:
> the remaining problem is that the movie posetr returns a size
Le 28 mai 2010 à 20:55, Bill Appleton a écrit :
> hi Kevin,
>
> sorry if this is a repost, my last one was rejected for being too big
>
> YES, the QTMovieNaturalSizeAttribute definitely returns the size i am
> looking for
>
> the remaining problem is that the movie posetr returns a size of 100
On 2010-05-28, at 12:02 PM, cocoa-dev-requ...@lists.apple.com wrote:
> i've tried everything -- how do other people get movie posters and/or grab
> movie frames?
With classic QuickTime if there was no poster frame specifically set in the
movie QuickTime would reliably return the first frame. Wi
hi Kevin,
sorry if this is a repost, my last one was rejected for being too big
YES, the QTMovieNaturalSizeAttribute definitely returns the size i am
looking for
the remaining problem is that the movie posetr returns a size of 100 x 100
so when i capture the poster it is really pixelated
i've
On 5/28/2010 11:18 AM, Alastair Houghton wrote:
On 28 May 2010, at 18:25, James Walker wrote:
On 5/27/2010 12:43 PM, Bill Appleton wrote:
*1) I can't hide a file, or test if a file is hidden*
I had to resort to FSGetCatalogInfo -- there is no way to do it through
NSFileManager, etc. Right?
On 28 May 2010, at 18:25, James Walker wrote:
> On 5/27/2010 12:43 PM, Bill Appleton wrote:
>> *1) I can't hide a file, or test if a file is hidden*
>>
>> I had to resort to FSGetCatalogInfo -- there is no way to do it through
>> NSFileManager, etc. Right?
>
> Since there are several ways to hid
On 5/27/2010 12:43 PM, Bill Appleton wrote:
*1) I can't hide a file, or test if a file is hidden*
I had to resort to FSGetCatalogInfo -- there is no way to do it through
NSFileManager, etc. Right?
Since there are several ways to hide a file, I don't think
FSGetCatalogInfo will necessarily tel
On Thu, 27 May 2010 12:43:42 -0700, Bill Appleton said:
>*2)** **I **can't **get the current caret blink rate in milliseconds*
>
>I used to call GetCaretTime, but now I just use 500 milliseconds. Eeek!
>Where is the current blink rate? Please don't tell me I don't need it, we
>implement our own sc
On May 28, 2010, at 11:04 AM, Kevin Wojniak wrote:
>> *4)** **I **can't call the printing code*
>>
>> I know, the printing code calls me. But other platforms don't work like
>> this. I eventually used Core Printing and the Cocoa dialogs by sub-classing
>> and faking out NSPrintPanel. Is there a
Did you try QTMovieNaturalSizeAttribute?
http://developer.apple.com/mac/library/technotes/tn2005/tn2138.html#TNTAG11
On May 28, 2010, at 9:43 AM, Bill Appleton wrote:
> Hi Chaitanya,
>
> that code always returns a size of 100, 100 for every movie I try. really.
>
> and then the poster or fram
Hi Chaitanya,
that code always returns a size of 100, 100 for every movie I try. really.
and then the poster or frame is really pixelated because it is coming from
such a small source.
i am surely missing something here!
thanks,
bill
On Fri, May 28, 2010 at 1:17 AM, Chaitanya Pandit wrot
On May 28, 2010, at 11:20 AM, Bill Appleton wrote:
> on printing, the problem is that i have to port an enterprise application
> that expects to be able to call a fx for the page layout and the page setup
> dialog, a fx to begin/end a page, and a fx to begin/end printing.
>
> so Cocoa has this a
hi all,
wow, i am getting a lot of help solving these last issues! thanks all.
on printing, the problem is that i have to port an enterprise application
that expects to be able to call a fx for the page layout and the page setup
dialog, a fx to begin/end a page, and a fx to begin/end printing.
s
On May 27, 2010, at 12:43 PM, Bill Appleton wrote:
> *4)** **I **can't call the printing code*
>
> I know, the printing code calls me. But other platforms don't work like
> this. I eventually used Core Printing and the Cocoa dialogs by sub-classing
> and faking out NSPrintPanel. Is there a bette
On May 27, 2010, at 2:43 PM, Bill Appleton wrote:
> *5)** **I **can't create a simple list*
>
> I did it the only way I could -- with a table that has one column, etc. Man
> that was painful for a simple list. Is there a better way?
Have a look at NSArrayController. It makes table views a piece
To see if a file is hidden, I use on the URL(NSURL Class) for the file,
resourceValuesForKeys and pass in the array of properties you are looking for.
In the case of a hidden file, use NSURLIsHiddenKey.
You should be able to make a file hidden as well by using the set counter part.
Check out
>
> *3)** **I **can't get t**he right dimensions for a QuickTime movie or poster
> *
>
NSSize movieSize = [[movieObject currentFrameImage] size];
> I used to call GetMovieBox, so I tried using [QTMovie posterImage] but the
> NSImage reported a width and height of 100, and then my movie poster
On 27 May 2010, at 20:43, Bill Appleton wrote:
> *1) I can't hide a file, or test if a file is hidden*
>
> I had to resort to FSGetCatalogInfo -- there is no way to do it through
> NSFileManager, etc. Right?
chflags(), with UF_HIDDEN? And stat() to read the same?
I don't think FSGet/SetCatalog
Hi Bill,
Thanks for the postmortem. Would you mind filing bugs for the items you
think are too difficult?
On Thu, May 27, 2010 at 12:43 PM, Bill Appleton <
billapple...@dreamfactory.com> wrote:
> hi all,
>
>
> I just ported a huge code base to Cocoa, Core Graphics, Core Audio, and
> QuickTime.
hi all,
I just ported a huge code base to Cocoa, Core Graphics, Core Audio, and
QuickTime. Basically I had a good experience, but there were some things i
noticed that i couldn't do easily in Cocoa or any other 64 bit OSX API.
So just in case anyone knows a way to do the things listed below plea
26 matches
Mail list logo