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
2
votes
0 answers

How to create AQGirdView with dynamic cell Size

I used AQGridView for showing record in GridView. I want to customise all cell size. But AQGridView always take constant cell size and showing empty space if records view is small size.
Naveen kumar
  • 800
  • 1
  • 5
  • 23
2
votes
1 answer

Reloading AQGridview

I am making an iOS app that uses AQGridview to present a list of image files in the documents directory. Files are constantly being added and deleted from the direcotry. Is there anyway that I could "reload" my AQGridview to show/remove data?
Coder404
  • 742
  • 2
  • 7
  • 21
2
votes
0 answers

AQGridView (UIScrollView) cells disappear and reappear on scrolling

There is an awkward blinking that is very visible when scrolling AQGridView. I have looked at this link => Calling reloadData causes all cells to blink. I am calling reloadData while loading cells for the first time, but my guess is this is…
esh
  • 2,842
  • 5
  • 23
  • 39
2
votes
0 answers

Why does my AQGridView not scroll when cell width is too high?

I implement the grid view cell size with this method: - (CGSize)cellSize { return _gridMode ? CGSizeMake(100, 100) : CGSizeMake(320, 345); } And check _gridMode for determining which cell to display (either a thumbnail or a full-screen…
quantumpotato
  • 9,637
  • 14
  • 70
  • 146
2
votes
1 answer

AQGridView long press grid cell detection

I want to detect if a AQGridCellView is pressed long and instead of selecting it I want to show a menu with custom options. I thought just adding a long press gesture recognizer to a subclass of the cell view will be enough to handle that, but looks…
miho
  • 11,765
  • 7
  • 42
  • 85
2
votes
1 answer

AQGridView with grid outline

I am using AQGridView to display a grid of items in my app. Sometimes I don't have enough items to fill a row, and I wanted to add a grid outline for the cells, so you can see a 1px empty cell if you like, I could do this by hiding the content of a…
Daniel
  • 23,129
  • 12
  • 109
  • 154
1
vote
1 answer

AQGridView not linking

I am trying to use the AQGridView in an app. I copied all the files into my project but I keep getting the error: Undefined symbols for architecture i386: "_OBJC_CLASS_$_AQGridView", referenced from: objc-class-ref in GridViewController.o …
bakwarte
  • 317
  • 1
  • 2
  • 10
1
vote
2 answers

How To draw black colored border around each image in AQGridView

I am using AQGridView in my project. we need to create a black colored border around each image. Can anyone help me on this. Thanks in advance. Regards, Jas.
Jasmine
  • 1,511
  • 2
  • 10
  • 5
1
vote
1 answer

AQGridView cells get swapped around when CAAnimation is applied

Has anyone had success applying animations to AQGridViewCells? I'm trying to make every cell but the first one fade away after a tap. The problem is that when the fade begins, the cell contents usually get swapped around. For example if the first…
jlstrecker
  • 4,953
  • 3
  • 46
  • 60
1
vote
1 answer

AQGridView cells disappear when scrolling horizontally and can't lock it

I pulled AQGridView from the latest git repos based on recommendations from here. I like it, but unfortunately when it scrolls horizontally the cell's just disappear. Also, it locks when scrolling vertically but not horizontally. I noticed an…
Graeme
  • 1,107
  • 2
  • 12
  • 30
1
vote
0 answers

AQGridView: Problem when load nib file

I'm working with AQGridView, and when I load the nib file, he also load an square white ahead of elements. In this project, I also implemented - (CGSize) portraitGridCellSizeForGridView: (AQGridView *) gridView; { return CGSizeMake(250,…
Fernando Aureliano
  • 894
  • 12
  • 35
1
vote
1 answer

AQGridview - Loading images from web (URL)

I'm new in iPad development. I'm using AQGridView to build my first ipad app. With the following code, I'm trying to load images from web URLs into each cell of the grid but, when I scroll down and come back up the images are not the same like they…
1
vote
1 answer

AQGridView: How to Init cell

I'm implementing the AQGridView based on examples who comes with it. But I'm working with xibs, and in the example, the code is: if ( plainCell == nil ) { plainCell = [[[ImageDemoGridViewCell alloc] initWithFrame:…
Fernando Aureliano
  • 894
  • 12
  • 35
1
vote
0 answers

AQGridView ensuring only visible cell is loaded

I am using AQGridView to load images in a horiztonal layout (landscape). I've noticed that the grid actually loads 2 cells (where only 1 is actually visible),a nice solution but for this project I need to be able to ensure that strictly ONLY the…
johnnyd
  • 11
  • 3
1
vote
3 answers

AQGridview Not Calling Datasource Methods

I am trying to implement AQGridView based upon the ImageDemo in the /examples folder. I have a view controller with the following declaration: @interface ImageDemoViewController : UIViewController
ChrisP
  • 9,796
  • 21
  • 77
  • 121