advertisement

Article:
  Introduction to Cocoa Graphics
Subject:   bexierPathWithOvalInRect is misspelled causes crash
Date:   2010-04-11 08:22:44
From:   mbs402
Now, if we changed the bezier path creation line of code (the second line) to the following:


NSBezierPath *bp = [NSBezierPath bexierPathWithOvalInRect:r];


This causes the demo to crash, it is misspelled: bexierPathWithOvalInRect


bezier does not have an 'x', this fixes the problem : bezierPathWithOvalInRect