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
11
votes
1 answer

How to drag and move something and scroll at the same time in UIScrollView

I'm writing a app which has a bookshelf view like iBooks. The problem now is: I can drag and drop a book from on place to another.But how do I make these happen at the same time when I drag book to the bottom of the scrollview: make the scrollview…
ultragtx
  • 957
  • 8
  • 24
10
votes
3 answers

AQGridView backed by a NSFetchedResultsController

I'm trying to implement a AQGridView that uses a fetched results controller as its datasource. I'm not particular sure how to handle the NSFetchedResultsController delegate methods using the grid view; namely the content changing ones. I understand…
7
votes
2 answers

UIView: Rounded Corners Without Performance Issues

I am using an AQGridView to display my data in a grid on iPad. Every cell is a UIView subclass and typically, there are 18 cells displayed simultaneously. I would like to add a round corner to these cells, so I set the cornerRadius property of the…
fabian789
  • 8,348
  • 4
  • 45
  • 91
6
votes
0 answers

Using AQGridView for different sub-layouts of screen

I am looking to use AQGridView to layout a screen that has 3 different sub-layouts. The top part of the screen should be laid out in a 2x5 grid, with each cell being occupied by a different graphic. This I have successfully accomplished. The middle…
femibyte
  • 3,317
  • 7
  • 34
  • 59
4
votes
4 answers

How to incorporate AQGridView into ones project?

The documentation states that "This project compiles to a static library which you can include, or you can just reference the source files directly." Here's what I've done. I've downloaded it from GitHub and unzipped it. Here are the classes I can…
NSExplorer
  • 11,849
  • 12
  • 49
  • 62
3
votes
2 answers

AQGridView: How to adjust UIGridViewCell margin

I'm trying to implement the AQGridView in my iPad app. Please see my below image -- sorry for the strong colors, but I think it would help you understand my problem. Each cell (the blue box) has a margin left and right (yellow color), i.e. 8 pixels.…
dhrm
  • 14,335
  • 34
  • 117
  • 183
3
votes
0 answers

Springboard like appearance without Three20 or Nimbus

I want to make a button launcher just like Springboard / Facebook / Google+. But, I don't want to: use Three20 - it looks perfect except for the horrid coding experience due to documentation. (I also wonder if it is abandonware, doubt it, but with…
Paul Cezanne
  • 8,629
  • 7
  • 59
  • 90
3
votes
1 answer

AQGridView iPad Orientation change cell resizing

So I've been banging my head in the wall trying to figure this out. Here is what I need essentially: I have an AQGridView that is used to display images(UIImageView) in either portrait or landscape orientation. If orientation is portrait then the…
johnnyd
  • 31
  • 1
3
votes
6 answers

Load a AQGridViewCell from XIB (not working)

I am using AQGridView class and I am trying to load a cell from an XIB. I have setup the XIB like a Custom Cell for a UITableView, but when I attempt to load the cell, it is simply blank. I was wondering if there was an easier way to get the XIB to…
WrightsCS
  • 50,551
  • 22
  • 134
  • 186
3
votes
2 answers

How can i implemented delete button in AQGridViewCell

i want to add button in my Customized AQGridViewCell with ImageView. when i Click Edit button its showing delete button on the ImageGridViewCell like below image.i added delete button in cellForItemAtIndex method. here my code - (AQGridViewCell…
Vijay
  • 579
  • 1
  • 11
  • 22
2
votes
1 answer

AQGridViewCell transparent background

I have a problem customizing my AQGridViewCell. I'd like to have the whole cell having a transparent background, but the following inside of the initWithFrame:reuseIdentifier does not do the job: self.backgroundView.backgroundColor = [UIColor…
Phil
  • 568
  • 3
  • 19
2
votes
0 answers

iOS - AQGridView crashes because reuseIdentifier is nil (?)

I have a AQGridView , The "initialization" of the grid works great, but when i do [gridView reloadData], it will crash with the error 2012-01-03 21:27:40.338 XXX[8454:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException',…
Shai Mishali
  • 9,224
  • 4
  • 56
  • 83
2
votes
1 answer

NSArray: Detect And Remove Non-Existent Objects (Files)

Using AQGridview and the apple provided DocInteraction sample, I can represent the files in my app bundle and files provided through iTunes in the documents directory of my app in a grid format (duh). If I connect my iPad and add a file through…
CodaFi
  • 43,043
  • 8
  • 107
  • 153
2
votes
1 answer

AQGridView - How to detect a touch instead of a selection?

I've incorporated the really awesome AQGridView into my project but am having a small problem, The only delegate method i find is - (void) gridView:(AQGridView *)gridView didSelectItemAtIndex:(NSUInteger)index; Which only detects a select, meaning…
Shai Mishali
  • 9,224
  • 4
  • 56
  • 83
2
votes
2 answers

AQGridView cell need to be tapped twice to trigger didSelectItem

I'm using AQGridView for displaying a TableView in grid format. I've a problem that, randomly, the GridCell needs to be tapped twice to trigger the didSelectItem method. On the first tap the cell highlights itself, but no didSelectItem method is…
Simone
  • 233
  • 1
  • 8
1
2 3 4 5 6