Thanks
2011/12/9 John Joyce :
> Yes, you will have to implement that.
> Sure, people customize NSTableView to do all sorts of things.
> You see, the design of that is pretty straight forward if you are actually
> "downloading" files in terms of the WebView delegate and family of classes.
> It is
Jens,
Let me explain again: I'd like to have Mac OS Web Kit behave like iOS
Web Kit behaves.
What iOS's Safari does, when you click "play" on the video component
(HTML 5 ) on the web page - it opens a fullscreen "window" with
playback controls and starts playing it there. If you connect TV to
your
On Dec 9, 2011, at 4:58 PM, Kyle Sluder wrote:
> There are plenty of sufficient locking primitives already implemented
> and debugged on the platform. There is really no excuse for an
> application developer to go around writing your own or reimplementing
> ones that others have invented.
Truly.
On Dec 6, 2011, at 1:43 PM, Nick wrote:
> Is it possible to make a desktop WebKit play HTML5 videos like an
> iPhone Simulator does it, when the "TV Out" window is opened?
Sure; WebKit can display anything Safari can.
> How does a mobile Safari manage to play the video in a separate
> window? (
On Dec 7, 2011, at 12:29 PM, Vojtěch Meluzín wrote:
> I need to initiate a simple drag & drop operation for a single filename,
> but it will not be called within NSView mouseDown, but shortly afterwards
> (internal reasons).
What does “shortly afterwards” mean, exactly? Assuming you returned fro
In my app I use a couple of custom variants of NSColorWell.
In some situations, it is necessary to preserve the user's sanity by
deactivating ALL colour wells, so that the color panel, if left open, doesn't
remain connected to a hidden colorwell and hence change some colour property
when the us
On Fri, Dec 9, 2011 at 3:48 PM, Ian Joyner wrote:
> You are probably looking for something like Dahm locks (invented by Dave Dahm
> on the Burroughs B5000 in the 1960s). Here is a long paper on locks including
> this origin:
There are plenty of sufficient locking primitives already implemented
You are probably looking for something like Dahm locks (invented by Dave Dahm
on the Burroughs B5000 in the 1960s). Here is a long paper on locks including
this origin:
http://pages.cs.wisc.edu/~remzi/OSFEP/threads-locks.pdf
Here is an idea of the ALGOL define for acquire:
DEFINE
ACQUIRELOCK
On 12/9/11 12:25 PM, Geoffrey Holden wrote:
> Thanks for this, Graham. I'll give this a go. To clarify though,
> I've got two classes - one which handles the view for a game, and the
> other which handles the scoring (amongst other things, this involves
> displaying a timer which shows how long g
Thanks for this, Graham. I'll give this a go. To clarify though, I've got two
classes - one which handles the view for a game, and the other which handles
the scoring (amongst other things, this involves displaying a timer which shows
how long game play has lasted).
The game class updates its
What is the best way to handle double-clicked files in an application that
doesn't use documents? The reason I ask is because a project I'm working on,
PCSX-R, currently uses NSDocument subclasses to handle opening of files
double-clicked in the Finder. However, the readFromFileWrapper:ofType:er
On Dec 8, 2011, at 4:06 AM, Ben wrote:
> With the introduction of ARC, I assumed there might be a more suitable
> implementation out there, and I found this common snippet of code commonly on
> the net…
>
> + (MyClass *)sharedInstance
> {
>static MyClass *sharedInstance = nil;
>static di
On Fri, Dec 9, 2011 at 10:25 AM, Jens Alfke wrote:
> Does anyone know of a reasonably comprehensive online list of what classname
> prefixes are in use in public frameworks by which developers? Something like:
The biggest list I've seen is at
http://www.cocoadev.com/index.pl?ChooseYourOwnPrefix.
Does anyone know of a reasonably comprehensive online list of what classname
prefixes are in use in public frameworks by which developers? Something like:
Apple: NS, UI, CA, etc.
Omni: OF
Jens Alfke (Mooseyard): MY
…
—Jens
___
Cocoa-dev mailing list
Hi I'm implementing a UI in which each row in a table corresponds to an object
in an animation. Each animated object has a list of events. I want to implement
a custom NSCell to display those events as a horizontal bar extending to the
right in a column in the table view. Here's a poor ASCII art
>
>
> Yes, you will have to implement that.
> Sure, people customize NSTableView to do all sorts of things.
> You see, the design of that is pretty straight forward if you are actually
> "downloading" files in terms of the WebView delegate and family of classes.
> It is a bit of work to implemen
For those of you interested in UI design (and aren't we all?), I just
saw that a 3rd edition is about to be published of "About Face - The
Essentials of Interaction Design":
http://www.amazon.com/About-Face-Essentials-Interaction-Design/dp/0470084111/ref=sr_1_1?ie=UTF8&s=books&qid=1279145077&sr=1-
No ideas??
Dne 7. prosince 2011 21:29 Vojtěch Meluzín napsal(a):
> Hi,
>
> I need to initiate a simple drag & drop operation for a single filename,
> but it will not be called within NSView mouseDown, but shortly afterwards
> (internal reasons). The mouse button will still be pressed, but the
> m
On Dec 9, 2011, at 6:18 AM, Abdul Sowayan wrote:
> + (MyClass *)sharedInstance
> {
> static MyClass *sharedInstance = nil;
>
> if(sharedInstance == nil)
> {
>@synchronized(self)
>{
> if (sharedInstance == nil)
> sharedInstance = [[self alloc] init];
>}
> }
>
> return sh
Le 9 déc. 2011 à 10:36, Jean-Daniel Dupas a écrit :
>
> Le 9 déc. 2011 à 08:47, Ken Thomases a écrit :
>
>> On Dec 9, 2011, at 1:11 AM, Uli Kusterer wrote:
>>
>>> On 09.12.2011, at 07:55, Ken Thomases wrote:
Double-checked locking is broken. It is an anti-pattern in many
lang
On Dec 7, 2011, at 4:57 AM, Ken Thomases wrote:
> On Dec 6, 2011, at 8:01 PM, Steve Sisak wrote:
>> Given that operations have much shorter lifespan than threads, I'd worry
>> about the leaked NSAutoreleasePool objects in a long-running application.
>
> When using Cocoa, exceptions should be, wel
Le 9 déc. 2011 à 08:47, Ken Thomases a écrit :
> On Dec 9, 2011, at 1:11 AM, Uli Kusterer wrote:
>
>> On 09.12.2011, at 07:55, Ken Thomases wrote:
>>>
>>> Double-checked locking is broken. It is an anti-pattern in many languages,
>>> including the C family under most common implementations.
On Dec 9, 2011, at 8:11 AM, Uli Kusterer wrote:
> On 09.12.2011, at 07:55, Ken Thomases wrote:
>> On Dec 8, 2011, at 11:18 PM, Abdul Sowayan wrote:
>>> The above will still work in an ARC environment. It is rather inefficient,
>>> however. For details please check the "Double Check Locking Optim
23 matches
Mail list logo