12. Oktober 2010
I've uploaded an "advanced" ImageGrid example-project to: Vorlesungen & Projekte/10HS/Mobile Screens/Code-Beispiele/ImageGrid.zip Description: reusable Grid-Class initalisation through:Grid *myGrid = [ [Grid alloc]init]and creating the grid (saving gridpoints in an Array):
NSMutableArray *myArray = [myGrid createGrid];parameters:
myGrid.cols = 3; myGrid.rows= 4; myGrid.spacingX = 4; myGrid.spacingY = 4;+ extrafeature: cropping the image (only 2 lines of code!!!, after hours of crazy-apple-doc-taking-no-end-for-real) - no memory-management