AQGridView: Making a Selection

I am using AQGridView to build an iPad app that incorporates a flexible grid like that found in the Apple iBooks app or the Marvel and DC Comics apps. My question is has anyone used AQGridView and can help me with sheding some light on how to make a grid cell selection. It supposedly just makes a sub-class of UITableView but I can't seem to find the correct method for cell selection.

Any help would be greatly appreciated.

Thank you,

L.

Answers


Just make sure header file (whatever.h) implements: < AQGridViewDelegate >. Then in your implementation file (whatever.m), add the following:

- (void) gridView:(AQGridView *)gridView didSelectItemAtIndex:(NSUInteger)index {

    NSLog (@"Selected theArgument=%d\n", index);

}

Need Your Help

react-rails gem not working with to_json

ruby-on-rails reactjs react-rails

Whenever I try to pass other options to to_json on a react_component helper it is parsed just as plain string to the react prop.

PHP to email form: 'spam' issue, validation, alert box

php html css validation error-handling

I've spent a lot of time trying out things I found on stackoverflow but I don't seem to be able to find what I'm looking.