Questions tagged [aqgridview]

AQGridView is an attempt to create something similar to NSCollectionView on the iPhone

AQGridView is an attempt to create something similar to NSCollectionView on the iPhone. If CALayoutManager were available on the iPhone, specifically the CAConstraintLayoutManager, then this would be relatively easy to put together. However, since none of those exist, there’s a lot of work to be done.

AQGridView is based around the programming model of UITableView and its associated classes. To create this class I looked long and hard at how UITableView does what it does, and attempted to replicate it as closely as possible. This means that if you are familiar with table view programming on the iPhone or iPad, you will find AQGridView simple to pick up.

project URL

https://github.com/AlanQuatermain/AQGridView

77 questions
0
votes
1 answer

AQGridView - DidSelectItemAtIndex Not Working

I've been having some trouble with this for some time now but the DidSelectItemAtIndex method works the first time but when I pop back the view controller and the AQGridView reappears the DidSelectItemAtIndex doesn't work anymore. I've added…
Mikerizzo
  • 587
  • 1
  • 4
  • 22
0
votes
1 answer

AQGridview images are resizing after scrolling down

I'm using AQGridview for displaying my images inside a Gridview. Every works oké, but when I scroll down my images are resized. (see screenshots) This is what I do in my ViewController - (AQGridViewCell *) gridView: (AQGridView *) aGridView…
Steaphann
  • 2,797
  • 6
  • 50
  • 109
0
votes
2 answers

iOS - getting EXC_BAD_ACCESS in using AQGridView with Xib

I am using AQGridView with Xib file. I have set the basic Project just as explained in the Video by Evadne Wu. And i am moving to next Grid using expandFromRect from ExpansionDemo and the Grid is loaded fine but whenever i click anywhere on the…
Quamber Ali
  • 2,170
  • 25
  • 46
0
votes
1 answer

AQGridView - Orientation change in ExpanderDemo

I just started checking AQGridView and new to iOS too in the source example ExpanderDemo the orientation is working fine for the first View but as i click any cell and next upcomming AQGridView does not effect View on GridView.…
Quamber Ali
  • 2,170
  • 25
  • 46
0
votes
1 answer

AQGridView Selection and Deselection

I'm currently using AQGridView to display a photo gallery on my app, and I have a problem with the selection/deselection handling. I can select a cell after inserting it in my galleryview The way it goes is that, I can easily select both cells, but…
leom4rtin
  • 21
  • 5
0
votes
1 answer

Display images from documents directory

I'm using the following method to display images in an AQGridview: DataModel.m: -(id)initWithCaption:(NSString*)theCaption andImage:(UIImage*)theImage andURLRequest:(NSURLRequest *)theURLRequest { self = [super init]; if(self) { …
Robert
  • 5,278
  • 43
  • 65
  • 115
0
votes
1 answer

Custom animations in AQGridView cells happen instantly?

So, I'm working with an AQGridView. We have custom cells with images in them. Now we want the images to bounce when clicked on. I tried operating on the frame of the image, but that didn't work so now I'm trying creating a UIImageView in the main…
user1958756
  • 377
  • 1
  • 4
  • 17
0
votes
1 answer

AQGridView insertItemsAtIndices Items Overlapping

When I call insertItemsAtIndices on an AQGridView, the items are overlapping, rather than being displayed in their relevant grid. It works fine if I call reloadData on the GridView, but I'd like to just add one cell at a time. I have…
0
votes
1 answer

UIView subclass dealloc not called

I am using AQGridView for displaying a grid of images in my app. A user clicks on an album and then I open a new controller with the grid that has all the images. The problem is that the when the user presses the back button to go back to the list…
Pulkit Goyal
  • 5,604
  • 1
  • 32
  • 50
0
votes
1 answer

Adding View to top of AQGridView ScrollView

I am using AQGridView to create an image gallery that has about 21 items. I'd like to add a view that contains the app logo and name to the top of this list/scrollview so that users see it but as they scroll to look at images the view with name and…
mkral
  • 4,065
  • 4
  • 28
  • 53
0
votes
2 answers

GridView for Monotouch

I am trying to get a Visual Studio's gridview like control for Monotouch development. I had a look at AQGridView. Does AQGridView works with Monotouch? Is there a library for AQGridView which I can add to my monotouch project?
Alan B
  • 2,219
  • 4
  • 32
  • 62
0
votes
1 answer

UITableview or AQGridView maintain state of button in cell

As AQGridview borrows a lot of it's ideas from UITableView so I think the answer should apply to both. I have a custom cell with the following objects inside: label favourite button (can be turned on/off by the user and I use .selected =…
the-a-train
  • 1,123
  • 13
  • 32
0
votes
1 answer

AQGridView didSelectItemAtIndex delegate not called

I'm using AQGridView to display images from a web service. When I touch a cell, the didSelectItemAtIndex delegate is not called. The numberOfItemsInGridView delegate is called, so I think I've got my delegates and datasource setup. Here's the…
Eric
  • 321
  • 1
  • 6
  • 17
0
votes
1 answer

Calling method in MyAppDelegate.m to ViewController

I have GridViewController. @interface GridViewController : UIViewController { NSArray *objects; //main data…
Ghostino Doggio
  • 351
  • 1
  • 4
  • 11
0
votes
1 answer

Create grid of different sized thumbnails?

I'm trying to display a set of image thumbnails in a grid on the iPad. I'm able to display a grid of images that are all 100x100 using AQGridView but I would like to include some images that are 200x200 (essentially, 4 spots in the grid). For…
AtkinsonCM
  • 376
  • 1
  • 14