Re: Connecting streams together

2008-04-24 Thread vance
ant to send the data right back to where you're getting it. I am sorry, I should have mentioned the direction I am moving that data. I am writing it to the stream, then I want to read it from that stream from somewhere else Thank you Regards, Vance __

Re: Connecting streams together

2008-04-24 Thread vance
NSOutputStream depending on what interface is required at that time? Regards, Vance On Apr 24, 2008, at 6:11 PM, Ken Thomases wrote: On Apr 24, 2008, at 7:15 PM, vance wrote: Is there a way to connect an NSOutputStream and NSInputStream together with in-memory buffer? So while the Input

Connecting streams together

2008-04-24 Thread vance
familiar on how to connect stream instances together so that the data can just flow through them? Thank you Vance ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

Re: Flicker when resizing NSStatusItem with Custom View

2008-04-21 Thread vance
Thanks Peter, the workaround worked nicely Vance On Apr 21, 2008, at 9:25 PM, Peter Ammon wrote: On Apr 21, 2008, at 5:23 PM, vance wrote: Hi I am seeing annoying flickering when resizing a status bar item using a custom view. I tried using * [statusItem setLength:XX.X] and

Flicker when resizing NSStatusItem with Custom View

2008-04-21 Thread vance
s going on and how to go about further debugging this? Thank you for your input and help, Vance #import #import "SBView.h" @interface MyView : NSView { NSStatusItem *statusItem; SBView *siView; } - (IBAction)onClick:(id)o; - (IBAction)add:(id)o; - (IBAction)rem

Custom NSWindow and NSWindowDidResignKeyNotification AND NSWindowDidResignMainNotification

2008-04-14 Thread vance
NSWindowDidResignKeyNotification or NSWindowDidResignMainNotification notifications when I create the window dynamically. However I do receive the 2 notification if I create the a regular default window using IB. Am I forgetting to set something on the pullDownWindow instance? Thanks in advance! Vance

Re: ObjC static member variable

2008-04-10 Thread vance
Yes that works but then it becomes a global variable. I was wondering if ObjC can handle static member variables. If not I will have to hack it up and declare the variable outside of the class Thanks. Vance On Apr 10, 2008, at 12:36 PM, Rama Krishna wrote: You can declare a static member

ObjC static member variable

2008-04-10 Thread vance
Does ObjC supports Static Member Variable, and if so, how do you set it? The getter function gets a compile time error. In C++ we do MyObject::staticObject to return the static member variable but I am not sure how is that done in ObjC Ex: @interface MyObject : NSObject { s

CoreAnimation and CIPerspectiveTransform

2008-04-06 Thread vance
sentation] writeToFile:@"myimage.tif" atomically:YES]; [rootLayer setFilters:[NSArray arrayWithObject: filter2]]; "myimage.tff" has the a good image. If I comment the last line where i set the filters, the code works and I can see the image. But if I Apply the filt

Re: Movable by window background AND custom NSView

2008-03-31 Thread vance
That did it. Thank you! On Mar 31, 2008, at 10:09 AM, Michael Ash wrote: On Mon, Mar 31, 2008 at 12:59 PM, patrick machielse <[EMAIL PROTECTED]> wrote: Op 31 mrt 2008, om 09:52 heeft vance het volgende geschreven: I have a Textured Window with a NSView that has some custom drawing d

Movable by window background AND custom NSView

2008-03-30 Thread vance
NSView therefore the window should not move. Clearly that is now what happens. The window moves when I click and drag within the custom view which is something we dont want to happen. Does anyone understands what is the flow of mouse events and what to do to get around this? Thank you, Vance

MVC Design Question

2008-03-10 Thread vance
and the network object is if somewhere outside. Thank you for the feedback! Vance ___ 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