Gallery for IPhone UI controls - iphone

Is there any web-resource (gallery perhaps) showing all user interface elements made from UIView(or other?), so it will give me some quick idea what controls exist, what do they look like?

It's not a web resource per se (depending on what you mean), but you can get the source code for the UICatalog sample from Apple and see what is offered. It's also a good project to look at in case you want to go beyond the look and and actually see how it's implemented.

I'm not sure if this is what you're looking for, but here's a PSD file containing all the iPhone UI elements.

if you use Omnigraffle, there is an iPhone stencil. http://graffletopia.com/stencils/392

Related

Iphone - grid of pictures using scroll view and ad UIImageViews to it

Can someone give me one source file working ?
Alternatively you can look at my AQGridView, which can display anything in a grid, using an API similar to that of UITableView.
You might want to take a look at Facebook's Three20, specifically their TTPhotoViewController class.
Update: Other options (possibly more modular and easier to integrate in your project):
https://github.com/mwaterfall/MWPhotoBrowser
https://github.com/kirbyt/KTPhotoBrowser
http://github.com/alanQuatermain/AQGridView (as suggested by Jim)

Creating an animation of an app's screenshots?

I am creating a how-to animation of an iphone app. I have got all the screenshots of the app. Wondering what the best tool is to create a short video/animation of these jpgs in your opinion?
Hey, if you go to my site where i've showcased my app, you can see the full source code there - it was just a simple jQuery slideshow inside an iPhone 4 png :)
http://www.twostepmedia.co.uk/apps.php
Please update the post with the source code as the link no longer works.
Essentially, it's like benhowdle89 said. You can take any jQuery slideshow, adjust the image dimensions to the area inside your iPhone 4 .png, and you're pretty much done.

Is there a View Controller to show thumbnails like the Photos app?

I am looking to replicate the image gallery view that shows thumbnails, like in the photos app on the iPhone.
Is there a view controller or any examples that anyone can provide to replicate this?
There isn't one provided by Apple. I would recommend looking at Three20. It has a few things with look a lot like the Photos app.
Another option is AQGridView.
Take a look at the video of Session 104 from the WWDC 2010. It's basically a 40 minute tutorial on how to do the photo app.
Bear in mind that allowing users to zoom will greatly increase the space required. If you use CATiledLayers, that is, which, depending on your desired zoom level, you should consider doing.
Oh, and there is source code ;)
What they don't tell you is how they did their tiling. I found that you can
a) download ready-made tiles from the server with the app or with a content update (you can use ImageMagick's crop tileWidthXtileHeight - e.g. crop 100x100 - to do the tiling). This has the disadvantage of large downloads.
b) download ready-made tiles from the server as needed (may lead to lags in your app, but then MKMapView does it quite nicely, doesn't it?)
c) tile on the phone as needed (here you can also consider caching the results, although that will likely mean you have to check space left on the device)
I've recently given enormego's PhotoViewer a try. It's easy to use, and it's much more focused than the Three20 project. (Which I also use and like a lot.)

iPhone SDK UI element preview

Looking for some catalog/gallery(not UICatalog, just images), where I can see preview of each UI element in iPhone SDK, along with corresponding class name(eg datetime picker, calendar, the black switch bar on bottom). This will give me rough idea on which UI elements I can use in my app and go read about corresponding class.
I would highly recommend reading the iPhone Human Interface Guidelines Document. It's produced by Apple, and has a ton of great advice on how to craft interfaces as well as descriptions and guides for the standard UI elements.
You can also check out the UIKit Framework Reference, and the wiki at CocoaDev. If you need images, teehan+lax have a great PSD template for mockups

iPhone UIWebView PDF Page Jump

I want to view a local PDF (in my iPhone app) and be able to jump to a specific page. Seems like the UIWebView is the way to go, however, I can't find any information on jumping to specific pages. Is this impossible? Are there any other techniques I can use?
thanks,
Howie
You can try using Javascript. See this link for more details. You'll want to use something along the lines of #"window.scrollTo(0, x);", where x is some value you determined by playing around with the WebView.
Another option would be to set the content offset of the UIWebView like Mike pointed out (but without involving JavaScript):
webView.ScrollView.SetContentOffset(new PointF(0, y), true);
(sorry for the MonoTouch code but ObjectiveC is still on my todo list)
Alternatively to an UIWebView, you can use the Quartz API :http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/dq_pdf/dq_pdf.html
It's more complicated, but you should be able to do whatever you want.