OK. After reading the docs on NSStream, here's what I came up with.
- (BOOL) openStreamsWithMode:(MySQLConnectMode) inMode
{
[NSStream getStreamsToHost: host port: port inputStream: &inStream
outputStream: &outStream];
if ((inStream != nil) && (outStream != nil))
{
On Dec 4, 2008, at 5:46 PM, Mikael Wämundson wrote:
Hi all.
Since it is good programming to not access an array's content
through its controller when in the model I'm trying to find a way to
get to the same object selected in the user interface (i.e. the
array controller).
In my view I
-[NSSocketPort socket] returns a file descriptor. Write to it.
Init an NSFileHandle with it. (-[NSFileHandle initWithFileDescriptor:])
It's all just sockets/files/descriptors.
But "raw messaging" is not the same as writing raw bytes to a TCP
stream. All that means is that you can use the s
I've got a main thread that handles a gui, and a worker thread with its own
persistentStoreCoordinator and managedObjectContext. The gui notifies the
worker thread of a change, passing it an objectID, and the worker thread gets
the object, and other objects it is connected to, and calls
[manag
Ron Fleckner ([EMAIL PROTECTED]) on 2008-12-04 12:52 AM said:
>> Hello, I'm writing a custom window for my application, but I can't
>> figure out how to make a custom resize image... Any help?
>>
>> Thanks,
>> Mr. Gecko
>
>Unless you actually want a 'custom' resize image, you can use the real
>one
If the user clicks just off the left of the view, does that give you a
negative value? Or do you limit it to 0, then divide by 0? What happens if
you use a range of 1->2 instead of 0->1?
--
Scott Ribe
[EMAIL PROTECTED]
http://www.killerbytes.com/
(303) 722-0567 voice
___
On Thu, Dec 4, 2008 at 7:52 PM, Kirk Kerekes <[EMAIL PROTECTED]> wrote:
> -[NSSocketPort socket] returns a file descriptor. Write to it.
>
> Init an NSFileHandle with it. (-[NSFileHandle initWithFileDescriptor:])
>
>
> It's all just sockets/files/descriptors.
Well, you're not using NSSocketPort to
How do date format settings in the International pane in System
Preferences get reflected in an instance of NSDatePicker? I have a
window with a NSDatePicker control. Regardless of what I change the
short date format to in System Preferences, the control is not
automatically resized. Callin
Ok so I've done some looking around more in the documents, would it be
possible to make a button that has a picture of the grow box and than
have it send an action when it's dragged using NSLeftMouseDraggedMask.
On Dec 4, 2008, at 8:47 PM, Sean McBride wrote:
Ron Fleckner ([EMAIL PROTECTED]
On 12/4/08 9:41 PM, "Adam R. Maxwell" <[EMAIL PROTECTED]> wrote:
>
> On Dec 4, 2008, at 4:47 PM, Mahaboob wrote:
>
>> Hi,
>> I need to fire the thread repeatedly in regular time intervals. So I
>> used
>> the timer like:
>> timer = [[NSTimer scheduledTimerWithTimeInterval:(double)
>> [txtTim
On Dec 5, 2008, at 10:26 AM, Mahaboob wrote:
On 12/4/08 9:41 PM, "Adam R. Maxwell" <[EMAIL PROTECTED]> wrote:
On Dec 4, 2008, at 4:47 PM, Mahaboob wrote:
Hi,
I need to fire the thread repeatedly in regular time intervals. So I
used
the timer like:
timer = [[NSTimer scheduledTimerWithTimeI
Thanks for the links! They were pretty much all interesting reading!!
However, I still have a problem... Rob Keniger's code for preventing
leaks when drawing CIImage off-screen works well, however if I
generate my images in an NSOperation, the leaks re-appear... and since
Im generating a bu
101 - 112 of 112 matches
Mail list logo