Patrick,

Everything works except that I can't get drawRect to be called a second
time.  I assume that means the IBOutlet is working.  However, I think you're
right that there's something about the interaction between the modules that
is causing the problem.

Thanks, Tom

On Sun, 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 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 DrawCurrentBarNotes];
> >
> > }
>
> It's hard to see what you've done.   One thing to check is to make sure you
> have correctly added in (and connected) an IBOutlet inside your NIB/XIB
> file.  You can send [myView setNeedsDisplay: YES] over and over and nothing
> will happen and is a common oversight.  Is your custom view is configured
> property (and connected) under your SequeraStepWindow?
>
> I'm not sure why you've defined + (BOOL) Play as a class method but without
> seeing more of the actual code I cannot say much more.  Is your custom view
> is configured property (and connected) under your SequeraStepWindow?
>
> ____________________________________
>        Patrick William Walker
>
>        patrick.william.wal...@nb.sympatico.ca
>        patrickwilliamwal...@yahoo.com
>        will.wal...@unb.ca
>
>
>
>
_______________________________________________

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 Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to