understanding setFrame

Discussion in 'Mac Programming' started by sgthree, Apr 30, 2012.

  1. sgthree macrumors newbie

    Feb 10, 2012
    if anyone is familiar with Aaron Hillegass's Cocoa Programming for MacOS X, could they please explain the effect of the call [self setFrame:newFrame] in knowsPageRange: in the example on printing.

    I can't see what it achieves. I have adapted the code to print a multipage report, and the setFrame call seems to be superfluous when creating a view for printing. Or am I missing something?

Share This Page