I haven't found any references to apps that use a custom activity indicator -- would be an animated GIF old-school -- in place of the Apple-supplied spinning wheels. Are there facilities to do this (or subclass UIActivityIndicatorView), do developers roll their own UIViews, or does this violate HIG?
Thanks, IPD
Yeah, as Ed Marty mentioned UIImageView supports the animation of images. So look at this custom activity indicator tutorial to get an inspiration how you could achieve this in a very simple way.
Cheers
The UIImageView class supports animation. Try that.
Or you can use an animation to rotate the layer.
Here is an interesting post about how to do that :
http://www.cimgf.com/2008/10/25/core-animation-tutorial-slider-based-layer-rotation/
Hope this helps.
Thierry
Related
I'm not asking for the full implementation here.
I'm asking because I don't even know what it is called, if somebody could at least tell me the
class I can work with that.
thanks
There is no built-in class for this. However, it can be accomplished using a UIWindow and some views. You should browse http://cocoacontrols.com, they have quite a few open-source versions of this.
For example:
MBProgressHUD: https://www.cocoacontrols.com/controls/mbprogresshud
DejalActivityView: https://www.cocoacontrols.com/controls/dejalactivityview
MMProgressHUD: https://github.com/mutualmobile/MMProgressHUD
It's just a partly transparent UIView with black background and a corner radius of about 15, containing an activity indicator and a label. You can create it in a .xib for easy layout and then load it as needed.
I'm now learning to write a simple iPhone program. Does anyone know how does the following effect created, i.e., the checkmark?
That seems to me a HUD. There are a lot of alternatives to make a similar effect:
https://github.com/samvermette/SVProgressHUD
https://github.com/jdg/MBProgressHUD
There's no built-in view or control which provides this, but a common third-party one (which also supports progress indicators) is MBProgressHUD.
There is no built in effect for this. You can achieve this with a UIImageView with a checkbox image. Set the UIImageView alpha to .3f.
I want to set animation for my UIView. I am using CurlUp animation for that. My requirement is to use CurlLeft and CurlRight. These are not available in CoreAnimation as I know. So is there any way by which I can handle the CurlLeft and CurlRight. I don't know a lot about OpenGl. But I don't have any problem with that too. Please guide me and provide me any link by which I can handle CurlLeft and right animation using either OpenGL or CoreAnimation.
Thanks a Lot.
For page turning animations, Ole Begemann has done something like that. His code is available on Github. See my answer to this question for a link.
iBook page flip transaction
His sample project is available for download and shows page curling left and right.
If you look at the Notes app on the iPad, you can see it uses all native iPhone controls, but they're "skinned" to look like a pad of paper. What's the best way to implement something similar to that? Could I use interface builder and simply change the background image for each of the controls, including the TableViews?
Thanks in advance for all your help! I'm going to continue researching this question right now.
This article from Dr Touch will probably come in handy: Stuff you learn from reverse engineering Notes.app
It's a little more complicated than that. My suggestion is manifold:
Hire a real designer to make the artwork.
Subclass whatever controls you want to skin, and handle this business directly in drawRect:. Interface Builder will not help you in this instance.
Consider drawing your controls programmatically instead of using images; a really cool thing would be to cache the programmatic drawings so that they only have to be performed once.
Best of luck!
im writing a litte iPhone App and are now searching for some styling Guides to make my App a little more shiny :)
For example add rounded rectangles to group Informations.
Style my cells, e.g. add a little border to my images I display in the cells.
Is there a guide / tutorial i can read?
What can be done with Interface Builder?
I found several guides for rounded rectangles, but what is the best way? Some recommend to do it with a button? Ohters with an ImageView and graphics?
Thanks for your links / hints!
Take a look at:
http://www.techjini.com/blog/2009/07/09/tools-for-iphone-ui-user-interface-design-mockups-wireframes-or-just-a-sketch/
It is a list of UI tools for iPhone.
http://cocoawithlove.com/2009/04/easy-custom-uitableview-drawing.html