I don't care the naming style, I care about the functionalities. And
it seems Cocoa is weak at supporting sorting-order-keeping data
structures at the high level APIs.
However, the reference is valuable. Thank you.
On Mar 28, 2009, at 6:45 PM, Andrew Farmer wrote:
On 28 Mar 09, at 01:25, an
I can not find any data structure in Cocoa that maintains sorting
order of items gradually added in, using the pairwise comparison
results, something like the canonical set in C++'s STL that is usually
implemented as a balanced tree.
Thanks in advance.
Welcome to drink some Cocoa, play wit
At last, I found the cause - something very silly of Safari, and I
don't know why that happened yet.
It turned out that if my app is not running, the service request from
Safari will launch my app as expected; however, it is the debug
version(which is not so up-to-date) of my app that is laun
My app is a service provider, and its NSSendTypes consists of a single
NSStringPboardType.
When some other apps request the service, I occasionally see following
log messages in the Console:
SystemFlippers: didn't consume all data for long ID 0 (pBase =
0x10018fd30, p = 0x10018fd34, pEnd = 0x
My app provides a System Service, which works well if it is running when
the request arrives;
however, if the request rises and my app has not yet launched, the Service
is failed to be served,
even though my app can be launched normally by the Service request.
Here is the corresponding Consol
I want to handle the connection events during runModalForWindow, so I use
[connection scheduleInRunLoop:[NSRunLoop currentRunLoop]
forMode:[[NSRunLoop currentRunLoop] currentMode]];
in the modal window's windowDidBecomeKey delegate method.
But still my connection's delegate methods are not cal