As you guys have collection view , you can use it as grid.
Then you think what I have made to use for?
So, I am presenting advantage of my GridView below:--
1)First of all it is compatible with ios 5.0 + , on the other hand , UICollectionView doen't work in iOS 5.0.
2)It automatically adjust cell blocks according to string size and extend width of the grid.
3)It allows you to define cell type as if you want to give input or keep it as simple label.
4)Also allows to perform calculation like
Add,
Multiply
Subtract
Devide
and Mod Operation on cell.
5)Row click action returns row data in the format of NSDictionary.
6)Support landscape as well as portrait mode.
7)Made for both iPhone and iPad.
1) First of all you need to download library I have put on the shared link
Download GridViewLib Here
2) After you have downloaded it,Import both "include" and "libGridViewTable.a" to your project and check copy to folder option while adding.After importing it would look like image below.
3)Don't forget to add some framework:
i)QuartzCore Framework
ii)CoreGraphics Framework
4) Go to Project->Build Setting -> Search Header Path
and set path to $SOURCE_ROOT/include
and "Always Search User Paths" to YES as shown below
5) Now you have successfully added the library , you can use it by just importing "GridViewTable.h" file and use its DataSource and Delegate Methods.
Here is demo how I have used in header and Implementation File.
Then you think what I have made to use for?
So, I am presenting advantage of my GridView below:--
1)First of all it is compatible with ios 5.0 + , on the other hand , UICollectionView doen't work in iOS 5.0.
2)It automatically adjust cell blocks according to string size and extend width of the grid.
3)It allows you to define cell type as if you want to give input or keep it as simple label.
4)Also allows to perform calculation like
Add,
Multiply
Subtract
Devide
and Mod Operation on cell.
5)Row click action returns row data in the format of NSDictionary.
6)Support landscape as well as portrait mode.
7)Made for both iPhone and iPad.
1) First of all you need to download library I have put on the shared link
Download GridViewLib Here
2) After you have downloaded it,Import both "include" and "libGridViewTable.a" to your project and check copy to folder option while adding.After importing it would look like image below.
3)Don't forget to add some framework:
i)QuartzCore Framework
ii)CoreGraphics Framework
4) Go to Project->Build Setting -> Search Header Path
and set path to $SOURCE_ROOT/include
and "Always Search User Paths" to YES as shown below
5) Now you have successfully added the library , you can use it by just importing "GridViewTable.h" file and use its DataSource and Delegate Methods.
Here is demo how I have used in header and Implementation File.