code available?
Thanks, Tom Jeffries
___
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-admins(at)lists.apple.com
Help/Unsubscribe/Update your
Mac.
sent from my mobile phone
On Nov 8, 2011 1:37 PM, "Mike Abdullah" wrote:
Mac or iOS?
On 8 Nov 2011, at 18:52, Tom Jeffries wrote:
> This is probably an elementary question. I need to...
> ___
>
> Cocoa-dev m
c
for the slider area and for the knob.
Can someone point me to some source code that shows how to do this?
Thanks, Tom Jeffries
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the
ay to trap
events?
NSEvent looks like it might work, is there any sample code I can reference?
Thanks for any help, Tom Jeffries
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Co
I seem to be missing something, and it's probably something quite obvious.
In the initialization to an NSView subclass window, I do the following:
- (void) drawRect:(NSRect)dirtyRect
{
[StepWindow DrawStepArea];
}
DrawStepArea is a simple function that draws some lines on the screen-
here's
so I
don't have to wade through the whole networking protocol.
Suggestions?
Thanks, Tom Jeffries
___
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
s
- How do I build an install for the drivers?
Thanks, Tom Jeffries
___
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-admins(at)l
button on the
second window. I've tried awakeFromNib, setNeedsDisplay, needsDisplay, and
display, but nothing I've found so far gets the NSView window to call
drawRect.
I am fairly new to OS X programming and appreciate any hints you can throw
my way.
Thanks, To
t; On 24/07/2011, at 1:46 PM, Tom Jeffries wrote:
>
> When I put both the beginning graphics and the graphics that are to be
> drawn
> later in the initial drawRect call everything is drawn without a problem.
> However, drawRect does not get called when the user clicks the button
I appreciate the answers, so far everything that's been suggested is
something I've tried. Maybe if I put the code out somebody will see what
I'm doing wrong:
This is the function that is called by the mouse click, it's in another
module:
+ (BOOL) Play
{
// init code
[SequeraStepWindow DrawCu
a question here.
Thanks, Tom
On Sun, Jul 24, 2011 at 10:45 AM, Jens Alfke wrote:
>
> On Jul 24, 2011, at 10:11 AM, Tom Jeffries wrote:
>
> + (BOOL) Play
>
>
> It’s hard to tell what’s going on in the code when you’re not following
> Cocoa naming conventions. Methods should
Jul 24, 2011 at 11:38 AM, Patrick William Walker <
patrick.william.wal...@nb.sympatico.ca> wrote:
>
> On 2011-07-24, at 2:11 PM, Tom Jeffries wrote:
>
> > I appreciate the answers, so far everything that's been suggested is
> > something I've tried. Maybe if I p
On Sun, Jul 24, 2011 at 12:12 PM, Andy Lee wrote:
> You should know that it is most certainly possible to use that syntax with
> a variable. For example:
>
>NSString *myString = @"abc"; // <== a variable
>NSString *newString = [myString copy]; // <== a message send
>
> You can send mess
I appreciate all the comments on the problem I had with drawRect not
getting called. I finally extracted the code that was not working and
put it in a new program, and it worked perfectly. I'm still not sure
whether there was a problem in my code or if I unearthed a problem in
Cocoa, but I'm now
14 matches
Mail list logo