On Fri, Mar 5, 2010 at 10:45 AM, David Blanton <aired...@tularosa.net> wrote:
> I have called every possible method on the view and the controls for them to
> display.  Never see anything and in fact the second time through -validate
> EXC_BAD_ACCESS is thrown.

You never need to call anything to result in display. Your involvement
with drawing extends merely to marking a dirty region; AppKit takes
care of calling all of your drawing methods. If you are trying to
force drawing, you are doing something very, very wrong.

You have a memory management bug somewhere, most likely in your
validation method. Turn on zombies, run in Instruments, and find out
where.

> So two hours later I still cannot display a custom view containing buttons
> in an NSToolbar. Something that in MFC is trivial is near impossible with
> Cocoa. The Windows guys here are laughing their ... off at my inability to
> accomplish a trivial MFC task in a Cocoa equivalent.

A poor workman blames his tools.

--Kyle Sluder
_______________________________________________

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