i want to display images in grid view like rows and columns.if i click the image should return a index value of image in the grid. i have no idea for this concept.if ur not understand my question i want like iPhone default photo gallery app viewing photos in a grid layout.!,i want to output like below screen shot and i am try to search but not found useful resource can any one help me with code or any tutorial links...!
Thanks...!
try out AQGridView (its like a Grid-Tableview)
AQGridView is an attempt to create something similar to NSCollectionView on the iPhone.
... ...
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.
.. or you can try Three20
It provides both grid-view and fullscreen gallery.
Related
I want to create UITableView like Zime Android application.
I don't want code but want some advise that how can we create this type of UITableView in iPhone application.
Please suggest.
Not exactly what you want but may be a little better. Check this library named Scroller
You can customise it to have the effect you want instead of building from scratch.
I've been searching the internet for quite some time and didn't find anything useful.
I want to make a basic app for the iPhone using simple views and hierarchical data nothing too fancy. The only problem is that I can't seem to find any tutorial that makes the first/main view like a thumbnail gallery that leads to other views.
To clear it a bit up:
I want my first view to be a 2D array of thumbnails and a little text below each of these thumbnails. When I click on a thumbnail it takes me to a sub-view containing more detailed info and options.
So is there any relatively painless way to make something like this using Table Views or something like that or do I have to make a custom view with methods to populate it as my heart pleases.
Please take note that I want to avoid any third party libraries like Three20 or similar.
Thanks
Just to make sure I understand, you want to make an application that acts similar to the Contacts on the iPhone? In other words, a list that when an item is clicked will take you to a new view with detailed information about the clicked item? But in your case, you want an image next to/above the text?
In either case, you will want to use a tableView. If you want an image beside the text, just set the imageView.image property of the cell to a corresponding image. If you want a different layout, however, you will need to create your own custom UITableViewCell, which is not a hard task at all. Here is a tutorial on how to create a custom cell using IB. It can also be done programmatically if you prefer to do it that way. I hope this helps to solve your problem.
I want to create an application excacly like appStore.
A nice table (I have the source code from apple using custom table cell)
But my main problem is that I cannot find a nice tutorial or a guide on how to make the product detail page.
I want to have a label at the top then a text and after that I want to have the images.
I notice that in appStore when you reach the images it locks there for a while!
How can I do that???
I tried using a UIScrollView but I believe this is not the case.
I am thinking using tableView again with custom cells but again I am not sure.
Any ideas? or any good working example? or tutorial?
thanks for your time :)
start from here:
http://blog.webscale.co.in/?p=284
Which will teach you basic table design skills and how to create custom cells with images on the left.
Then if you would like to learn how to create a tab bar application an be able to have a navigation controller at the top then you can follow this descriptive tutorial step by step to achieve this.
http://www.devx.com/wireless/Article/44897
What do you get after following these two tutorials?
the appStore application, well not exactly but you will get your own version.
EDIT: Added Details page how to achieve appStore like UIScrollView effect.
follow this brilliant video tutorial.
http://blog.sallarp.com/iphone-ipad-appstore-like-uiscrollview-with-paging-and-preview/
Have fun
PK
Then
Hey guys just wondering if anybody could help me,
I have a simple magazine app where the images are loaded from an array into a image view.
On the ibooks app there is a button which will take you to a type of overview with all the pages deconstructed as buttons where you choose the page. They are like 3 pages accross and then down. Is this just a table view or somethin different im confused?
Cheers
A table view can only have one column, so probably not that.
Without seeing it, they could have just placed an array of UIImageView or UIButton objects on screen or maybe if you want a longer list you can place them into a UIScrollView
I wanted to generate one fix view using interface builder, but the size of that view is exceeding the size of iphone screen,and I am not able to maximize screen. I wanted to show table view in that screen.
I did enabled scrolling but that didn't work,
Update 1:
Actually I wanted to show thumbnail image inside cell and i want to show 5 cell so 5 thumbnail image,those images are static. So which is a better way to achieve this ,interface builder or programming?
Hope this is clear enough.
Your question is not terribly clear, so this is the question that I am attempting to answer here:
You want to have a table view which has five rows, each of which has a small image.
Short answer: you can't do this entirely in the Interface Builder. What you can do is define your table view, including the "look," scrolling abilities, etc. And then in the same XIB file you would define the table cells (which can include your pictures, captions and what have you).
You then have to connect the two together programatically. Apple provide plenty of examples in the SDK on how to do this.