(no subject)

2011-03-22 Thread Bright
Hi everyone: When I use QTMovie to play movies. I want to custom myself progress slider instead of the NSSlider. How to custom the progress slider? thks! Bright ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: How to display the file's basic information in the columns of

2009-07-27 Thread Bright
But when I drop the file into the table view, the app exited immediately. Find the crash report and look at it; if you don't figure it out from that, send another message here with the crash report. Hi Sorry, I can not figure out the crash report. Could you tell me how to find the

Re:How to display the file's basic information in the columns of the tableview

2009-07-27 Thread Bright
Hi In the - (BOOL)tableView: acceptDrop: row: dropOperation: method, I tried to insert the information Dictionary into the Array use the code [tableRecordsArray insertObject:infoDictionary atIndex:row+i];. But when I drop the file into the table view, the app exited immediately. Now, I

Re: How to display the information in the columns of the table view?

2009-07-27 Thread Bright
to express myself and my questions. I Am Sorry. Next time, I will comply the regulation. Bright ___ 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

Re:Re: How to display the information in the columns of the table view?

2009-07-27 Thread Bright
Try [tableRecordsArray addObject:infoDictionary] instead of [tableRecordsArray insertObject:infoDictionary atIndex:row+i]; Tell us what tableRecordsArray is and how you allocate it. I have tried the replacement, it does not work. The tableRecordsArray the NSArray object for conserve the

Re: How to display the information in the columns ...... is OK

2009-07-27 Thread Bright
. Thank you for everyone's help Bright ___ 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.com Help/Unsubscribe/Update

How to display the file's basic information in the columns of the table view?

2009-07-25 Thread Bright
Hi all, In my application, I want to drag the file into the table view. At the same time, display the file's basic information in the columns of the table view. Now, I got the basic information of the file and saved it in a NSDictionary object.The code is :

How to make the Contextual Menu on the tableview's empty rows unable?

2009-07-22 Thread Bright
. And it is only valid in the rows which hold data. But I don't know how to implement the purpose... Any help greatly appreciated. Bright ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

What is the difference between the -awakeFromNib and -init?

2009-07-14 Thread Bright
? Thank you. Bright ___ 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.com Help/Unsubscribe/Update your Subscription

The code limit to the media type to .mp3 and .aiff

2009-07-08 Thread Bright
Hi Every Friend, In my app, my purpose is to limit the media type to the .mp3 and .aiff only when I drag files into a table view. Other type is not allowed. The code fragment is to limit the media type to mp3 and .aiff. When I drag file into table view, MP3 file is OK. But the .aiff

Re: Is there any document to explain the process about the

2009-07-07 Thread Bright
/DataManagement/Conceptual/iPhoneCoreData01/Introduction/Introduction.html mmalc Thanks very much. Is there any document to show/explain the process to implement the CoreRecipe? sample concretely? Thx. Bright ___ Cocoa-dev mailing list

Display the elements of array in a tablview ?

2009-07-07 Thread Bright
Hi Everyone, There is an array with several elements in my application. And I have shown the elements in a tableview using binding. But now I need to display the elements using code only. Could anyone help me? Which method should I use? Thank you for help!! Bright

Re: Display the elements of array in a tablview ?

2009-07-07 Thread Bright
Now , I see. Thank you for everyone's help. Binding is useful, but sometimes maybe it is not suited to your need. Bright On Jul 7, 2009, at 4:48 PM, Jesse Armand wrote: I'm not even familiar with Bindings, is it convenient to use ? Once you understand all of its prerequisites

Is there any document to explain the process about the DepartmentAndEmployee code?

2009-07-06 Thread Bright
by step. Is there any document to show/explain the process to implement them concretely? Thank you very much. Any help is useful for me. Thank you!! Bright ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

About [super dealloc];

2009-06-01 Thread Bright
all of case. Bright ___ 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.com Help/Unsubscribe/Update your Subscription

How to implement to create a new directory in a specified path and....?

2009-05-18 Thread Bright
the App to create a new directory in a specified path and copy the audio file into the directory. In other words, I want to create a library to store my audio file. How to implement it? Thank you. Bright ___ Cocoa-dev mailing list (Cocoa-dev

Re: How to specify the file type to Audio file when dragging...?

2009-05-18 Thread Bright
relationship with UTIs? thank you very much. Bright ___ 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.com Help/Unsubscribe

Re:Re: How to specify the file type to Audio file when dragging...?

2009-05-18 Thread Bright
On May 18, 2009, at 9:28 PM, Bright wrote: I am a novice of Cocoa. So can you tell me detailed about the specify the file type to Audio File when dragging a file to tableview? I tried the validateDrop method and NSworkspace, but failed. That depends. Can you please post your

How to limit the file type when dragging?

2009-05-13 Thread Bright
reloadData]; [songTable selectRow:row+i-1 byExtendingSelection:NO]; return YES; } Thank you Bright ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

How to solve the command developer usr bin gcc-4.0 failed with exit code 1 mistake?

2009-05-09 Thread Bright
hi when I open a Apple's samplecode of cocoa and run it, the mistake of “command developer usr bin gcc-4.0 failed with exit code 1 is occur. How to solve it? thank you! ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not

How to show items in a list ,grid or coverflow?

2009-04-22 Thread Bright
Hi, In my App's tableview, I want to show the items in a list ,grid or coverflow. which APIs should I to call?Could anybody tell me? Tks very much. Bright ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

How to play a sound file by Double-click in a tableview?

2009-04-21 Thread Bright
Hello everybody: I am writing an application about sound playing. I can add some sound files to my Xib's tableview. Now, I want to play a sound file by double-click it. But, I didn't find the method of this function. How to play a sound file by Double-click in a tableview? Thanks for all

Fast Forward and backward about QuickTime movie

2009-04-21 Thread Bright
Hi, By using the -stepForward: and the -stepBackward: methods of the QTMovie class, I realized the forward/backward a frame when I click the corresponding buttons. But my purpose is to implement fast forward and fast backward when I press the corresponding buttons for a while. The result

Fast Forward and backward about QuickTime movie

2009-04-21 Thread Bright
on how you want to the user to interact with your fast forward or fast backward buttons, you'll want to create an action that interprets the button's click, then determines when to start the movie playing at the scan rate. later, douglas On Apr 21, 2009, at 10:39 AM, Bright wrote: Hi

Create Library of Media File

2009-04-16 Thread Bright
Hi,everyone Now, I am trying to write a music player app. So I want to create a Library to add my sound files to it. The function of the library is same as iTunes library. What's the principle of creating the Library? And,how to implement it? Any clues and documents about about is