On Apr 11, 2010, at 8:18 PM, Kevin Callahan wrote:
> As a user scrubs forward and backward through movie using
> MPMoviePlayerController, what's the most efficient way to know where the
> playhead is at?
> Is there a simple timeStamp one can grab?
> Is there a way to set markers to trigger ev
Brad, you're overriding a method for a strange purpose, and it looks like
you're examining an argument to see if it is a certain Apple private selector,
and all this is done to achieve something which is quite ordinary, namely
binding your data model to a combo box and a text view.
When you fin
You could use MYTask, or at least look at how it’s implemented, instead of
writing your own code. NSTask is surprisingly tricky to use if you want to read
the task output.
http://bitbucket.org/snej/myutilities/src/tip/MYTask.h
—Jens___
Cocoa-dev mail
As a user scrubs forward and backward through movie using
MPMoviePlayerController, what's the most efficient way to know where the
playhead is at?
Is there a simple timeStamp one can grab?
Is there a way to set markers to trigger events and notifications?
Thanks,
Kevin
Accessorizer:
I forgot to change the index to 1 but anyway I finally got it working. I guess
its a copy problem from my createDatabaseIfNeeded function. since I already
have a copy of the databse in the Users/Documents in the iphone simulator,
after I've added data inside the second table, it wouldn't reflect
On Apr 11, 2010, at 3:18 PM, Rasmus Skaarup wrote:
> On 11/04/2010, at 21.17, Ken Thomases wrote:
>
>> On Apr 8, 2010, at 9:57 AM, Rasmus Skaarup wrote:
>
>>> [[NSNotificationCenter defaultCenter] addObserver:self
>>>
>>>
On 09/04/2010, at 1:26 AM, Izak van Langevelde wrote:
> I implemented the table as an NSTableView with NSImageCells, I know about the
> standard drag and drop for table rows.
> However, I am clueless about how to use cells as dragging destination.
> Am I supposed to subclass NSTableView, and imp
For future reference, I needed to end editing in the textView or the combo
boxes to prevent the NSInvocation error. I did this by making the window the
firstResponder in my NSDocument class with the saveDocumentWithDelegate method
only when the window is being closed. This is not necessary whe
On 11/04/2010, at 21.17, Ken Thomases wrote:
> On Apr 8, 2010, at 9:57 AM, Rasmus Skaarup wrote:
>> [[NSNotificationCenter defaultCenter] addObserver:self
>>
>> selector:@selector(threadPipeReader:)
>>
On 10 Apr 2010, at 18:02, charisse napeÿf1as wrote:
>//get the name and the score
>int iDen = sqlite3_column_int(statement, 0);
>NSString* name = [NSString stringWithUTF8String:(char
> *)sqlite3_column_text(statement, 0)];
Surely column 0 cannot be both an
On Apr 9, 2010, at 2:06 PM, Alex Fererro wrote:
> *but none of the following callbacks on dropping:*
> – collectionView:validateDrop:proposedIndex:dropOperation:
> and
> – collectionView:acceptDrop:index:dropOperation:
>
> Any idea on what am missing here?
Did you remember to register the view'
> There are no other warnings tossed out during either compilation
> Any thoughts?
Compare the build transcripts for debug vs release for clues as to why debug
is not producing an executable.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
On Apr 8, 2010, at 9:57 AM, Rasmus Skaarup wrote:
> I'm trying to execute a task in the background and parsing the output from
> the task along the way. However I get the NSTaskDidTerminateNotification
> before all the output from the task has been delivered by
> NSFileHandleReadCompletionNotif
On Apr 8, 2010, at 8:14 PM, Iain Delaney wrote:
> If I understand your requirements correctly, this blog posting should be of
> help: http://joshua.nozzi.name/2009/10/jlndrageffectmanager/
> It discusses changing the drag image based on the underlying view, and
> provides sample code for the eff
On Apr 8, 2010, at 00:27, Nestor Cardozo wrote:
> This works fine. The problem is that when an object is added to the content
> array (a new row is added to the NSTableView), the mouse cursor is reset to
> the default arrow cursor. Even though, the cursor when the mouse is inside
> the NSView i
I'm afraid I can't be much more help if you don't have the return codes from
each of the SQLite statements. I do note in the second method, you're asking
for column values out of order, which is pretty unusual.
- Ben
On Apr 10, 2010, at 6:42 PM, charisse napeÿf1as wrote:
> I was able to s
On Apr 11, 2010, at 11:20 AM, jonat...@mugginsoft.com wrote:
> This explains the presence of Keychain Scripting.app in
> /system/library/scripting additions.
Correct. Faceless Background Applications (FBAs) are often preferred over
scripting additions (OSAXen) for a number of reasons, includin
On Apr 11, 2010, at 5:07 AM, Christian Ziegler wrote:
> it makes sense to convert this library to a static library. I did that and
> stumbled upon the problem that my test app (C-Shell-Toll) now has to link
> against Foundation. I would like to avoid that since the library should
> encapsulat
On Apr 10, 2010, at 6:02 PM, charisse napeÿf1as wrote:
> I get nothing
You get result codes from each sqlite API call at least. What are they?
What happens if you run the second piece of code without having run the first
one? Experiment.
At a higher level, consider using an existing, alre
Hi Experts,
Am trying to implement "drag and drop" for a NSCollectionView (similar to
icon view in Finder), although on starting the drag I get following
callbacks:
– collectionView:writeItemsAtIndexes:toPasteboard:
and
– collectionView:draggingImageForItemsAtIndexes:withEvent:offset:
*but none o
On Apr 9, 2010, at 8:52 AM, Dru Satori wrote:
> [soapRequestXml appendFormat:@"\t\t\t<%@>%@\n", paramName, paramValue,
> paramName];
Minor note: I hope none of your parameter values contain any XML metacharacters
like quotes or angle-brackets, or you’re going to at minimum generate invalid
XM
If I understand your requirements correctly, this blog posting should be of
help: http://joshua.nozzi.name/2009/10/jlndrageffectmanager/
It discusses changing the drag image based on the underlying view, and provides
sample code for the effect.
Iain Delaney
iain.dela...@gmail.com
www.lucernesys.
What I need is a table where some columns show images as data.
It should be possible to drag images and image files onto these cells.
I implemented the table as an NSTableView with NSImageCells, I know about the
standard drag and drop for table rows.
However, I am clueless about how to use cells
Hi,
I'm trying to execute a task in the background and parsing the output from the
task along the way. However I get the NSTaskDidTerminateNotification before all
the output from the task has been delivered by
NSFileHandleReadCompletionNotification - and I am not able to squeeze much more
(bu
I am adding objects to the content array of a NSArrayController by clicking in
an NSView. When doing this, the mouse cursor is set to a cross-hair cursor.
The contents of the NSArrayController are displayed in a NSTableView in an
NSDrawer (the columns of the NSTableView are bound to the contents
On 11 Apr 2010, at 15:52, Bill Cheeseman wrote:
>
> On Apr 11, 2010, at 10:14 AM, jonat...@mugginsoft.com wrote:
>
>> My questions are:
>>
>> 1. Presumably I have to target a fully fledged application bundle and cannot
>> somehow route my AE requests to the foundation tool itself.
>>
>> 2. C
On Apr 11, 2010, at 10:14 AM, jonat...@mugginsoft.com wrote:
> My questions are:
>
> 1. Presumably I have to target a fully fledged application bundle and cannot
> somehow route my AE requests to the foundation tool itself.
>
> 2. Can I embed the helper app in the main app bundle and engineer
My Cocoa app consists of GUI component and an agent foundation component in a
conventional bundle.
The agent can execute without the GUI to provide a network accessible service.
I would like AppleScripts run by the foundation tool to be able to target a
scriptable helper app.
I would prefer NOT
All,
I had tried to create this attached to an OpenGLContext, but apparently didn't
do it right. I found the answer at: http://developer.casgrain.com/?p=4
Problem solved.
Eric
On Apr 10, 2010, at 6:56 PM, Eric Smith wrote:
> I'm trying to use a Quartz Composer filter in a cocoa app. I've pu
Hi all!
I have written a dynamic library which uses Foundation and defines an public
interface in C. To test this I added a C-Shell-Tool target which includes the
public header and uses both C APIs. Everything works fine. Since the future
user of this library will have to write a wrapper in a d
On Apr 10, 2010, at 9:11 PM, Seth Willits wrote:
> On Apr 10, 2010, at 5:11 PM, Tony Romano wrote:
>
>> When you create the file system event, you can pass a void * via the
>> structure which is accessible in the event callback. In this pointer, I
>> want to pass my Volume object so I know wh
Hi Peter.
Thank you for your reply. Is there any logical reason which could
explain that - even if our code would call NSDocumentController directly
- this works on every user's Mac but not this single user's one?
We will of course check and track everything. Thank you again for your
advice.
32 matches
Mail list logo