iphone, tableView and appStore application - iphone

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

Related

Iphone multi screen/view application

I am very new to iPhone development, i am developing one sample application using xcode.
I am referring on-line tutorials and examples to build my first application.
I want to try multi screen/view application where i want to display specific screens on some specific events like button clicks.
I googled for tutorials on multi screen iPhone apps, but i am getting different ways of doing it.
I am confused in-between:
1. Navigation based application.
2. Window based application.
3. View based application.
Which application type do i need to chose for multi view/screen application. Is it that we can't create multi view/screen application using 2nd and 3rd type, i think this should not be the case, but i am confused.
what i have done so far.
I have created one window based application where i have one login page (text fields and click buttons) i want to extend this application to display main screen/error screen based on the login result.
I have created 2 .xib files for main screen and error screen(with there corresponding .m and .h controller files), now i want to remove login screen and display main screen/error screen, but i don't have idea how to archive this when we are in window based application.
can some one point to useful tutorials/examples that can explain this scenario.
Before getting into any online tutorials it'd be better to go through apple's guides.
Following guides could be a good start:
App Programming Guide - Design Basics To understand the basics of iOS development
Human Interface Guidelines
and
View Programming Guide
To understand and implement different view controllers
hope this helps your question regarding delegation
http://www.switchonthecode.com/tutorials/creating-your-first-iphone-application-with-interface-builder
If you're using storyboards with scenes and segues (iOS 5+), this tutorial might help clear things out.

Creating a drawer inside of UITableViewCell like Twitter app

There is this set of button/options when you're creating a new tweet that I am trying to replicate in my iPhone app. I have encountered a few obstacles. One, I don't know exactly what the developers at Twitter put inside of the UITableViewCell in order to get the buttons evenly spaced inside of the cell. Two, I'm interested in how they created that little up arrow inside the same cell that you choose your options from. Lastly, how did they create the swiping motion between views inside of the bottom cell when a user clicks between the first and second option. It looks like this:
I really like the way that this looks, and it would work perfectly for my app. I just don't even know where to start with building this beyond setting up the cell. Does anyone have a library or insight that they have and are willing to share?
When we were looking to do something very similar, I found this extremely helpful site: How does the Twitter iPhone app implement side swiping on a table?
Perhaps this can help you out in your endeavors.

How can I make a grid similar to iphone/ipads launcher screen?

I have seen a few grids made with UITableView but I don't really like how close together each cell is to the other. If there is a way of creating a grid system like the home screen on an iphone (the screen after it is unlocked) if would be great. I don't need an exact solution but a point in the right direction, maybe a set of libraries to look through would be great. I am running xcode 4.4.1
Thanks!
The key is UIScrollView has a paging mode (since could have more buttons than fit in the view). It's covered here's in Apple ocs:
http://developer.apple.com/library/ios/#documentation/WindowsViews/Conceptual/UIScrollView_pg/ScrollViewPagingMode/ScrollViewPagingMode.html
If you use that, each 'page' would have n buttons/views that when clicked would call a protocol/delegate call back for the consumer with the data to handle and it would evenly layout the UIView/buttons across that page view. Contact me if you want my sample.
You probably don't want to require iOS6 as a minimum requirement but if you do, you can do as H2CO3 suggested in the comment and us UICollectionview. Here's a tutorial: http://www.raywenderlich.com/22324/beginning-uicollectionview-in-ios-6-part-12
There's also some open source launchers that you can look into their code. Here's some (I'm sure there's more).
http://www.cocoacontrols.com/platforms/ios/controls/sespringboard
Code is at: https://github.com/sarperdag/SESpringBoard
Also: http://www.cocoacontrols.com/platforms/ios/controls/openspringboard
Use UICollectionView. You can create grid type views using that. It is available in iOS 6.
If you can target iOS 6+, use UICollectionView. It's one of the best new things in iOS for years and it will be as important as UITableView.
The layout you're asking for is only a few lines of code.
NSHipster has a good explanation of UICollectionViews and Ray Wenderlich has a good tutorial.
(There's lots of example code out there, but here's a very simple example project I did recently for another question involving UICollectionViews)

Scrollable grid-like view

I'm writing an app with a view that has a grid of images (3x3) and it needs to have infinite scroll per row and per column with snap to position, very similar to the 'Design Museum Collection' app. How would I go about implementing this view? Is there a library that already supports this? I would like to implement this natively in IOS. Can I use UIScrollView or do I need to create this bidirectional scroll view from scratch. Here is a video of the 'Design Museum Collection' app (http://vimeo.com/39260302).
Thanks in advance!
It's been quite a while since your question but as I've been struggling with the same thing I'm gonna answer it for future reference...
Sadly I could not find a good solution anywhere so after a lot of hours of experimenting I came up with this: https://github.com/AlvinNutbeij/DWGridController
It's still a work in progress but very usable for your purpose I'd say!
See the tutorial How To Make An Interface With Horizontal Tables Like The Pulse News App. It will guide you through the basics.
you can check this out: AQGridView.

slide show with UIGestureRecognizer and with tap action

i am noob and new in development iphone application so i want to create a slide show(ios 5 with storyboard) ( banner with 5 or 6 image and every image the user can clicked on him and go to link in itunes for the app it's like a banner but no only one it's multiple )
i want the user can swipe between images and can click in every one and go to specific link so if on people have a tutorial or documentation or sample code for how to do this it's will be very helpful thanks
you can understand UIGestureRecognizers by some examples like these:
http://www.icodeblog.com/2010/10/14/working-with-uigesturerecognizers/
How to detect Swipe Gesture in iPhone SDK?
http://iosdevelopertips.com/event-handling/gestures-recognizers-tap-pinchzoom-rotate-swipe-pan-long-press.html
Best way is to use UIScrollView with paging, so you'll have to deal with only one UITapGestureRecognizer.
Take a look at the Facebook app's Three 20-framework for inspiration:
http://joehewitt.com/2009/03/23/the-three20-project
There is a fully functional slideshow-framework in there that you can look at and get some idea as to how you can make it on your own.
The TTPhotoViewController is the class you are looking for:
https://github.com/facebook/three20/blob/master/src/Three20UI/Headers/TTPhotoViewController.h