Hello,
I am relatively new to Cocoa Programming and i have this question.
I created an interface with a NSView on it.
I also have an Array of Cells witch contain an image.
What i would like to do now is draw each images from all the cells into the NSView.
This is what i have done, but nothing is shown in the view...
Can anyone help me with that?(Perhaps some source code...)
Thanks in advance.
int count = [records count];
for (i=0; i<count; i++) {
[[records objectAtIndex:i] drawWithFrame:theRect inView:testView];
[testView setNeedsDisplay:YES];
}
I am relatively new to Cocoa Programming and i have this question.
I created an interface with a NSView on it.
I also have an Array of Cells witch contain an image.
What i would like to do now is draw each images from all the cells into the NSView.
This is what i have done, but nothing is shown in the view...
Can anyone help me with that?(Perhaps some source code...)
Thanks in advance.
int count = [records count];
for (i=0; i<count; i++) {
[[records objectAtIndex:i] drawWithFrame:theRect inView:testView];
[testView setNeedsDisplay:YES];
}