How to force TTPhotoViewController reload image URL in iPhone? - iphone

I feel good when I use Three20 framework to create a good iPhone application if you didn't try it before, just go here to try.
but the I want your help me to force TTPhotoViewController to reload the image after it initialized. At the moment, it seems load the exist image before and didn't active to viewDidLoad.
Could you help me? or give me any advice?

A better place to ask this question is at the Three20 Google Group
EDIT:
A good way to start is to put some breakpoints in the Three20 source code to see what, and how, code is being run. I have found many undocumented (seriously, what is documented anyway?) hooks and callbacks. If you don't see anything you can use, the best part of Three20 is that it is open source — you can edit the Three20 source to suit your needs.

Related

Name of special alert view iphone

I have been looking for the name of this UI element for a while now, but I cant come up with anything. What is the name of the round rect with 'Reloading Data' in it? I thought that I remembered using a view like this a while back, and there was some open source library that made its use much easier.
Screen shot of cydia.
The Apple API is private and cannot be used in AppStore apps. I and many others use MBProgressHUD: http://cocoadev.com/wiki/MBProgressHUD.
It's MBProgressHUD.
You will get more opensource controls on this link.
Why don't you just use a UIActivityIndicator? It essentially provides the same utility without the need to implement 3rd party code? Do you really need any custom behavior the class does not already provide? The simpler the better you know..? ;)

Captch Integration

Is there any particular way to integrate Captch code validation in iPhone application?
is this possible to create captcha? (with or without web-service / any API)
If any kind of external library or any source is required to be imported, then also please let me know.
Any kind of link or source code is available then please suggest me.
Also suggest from where to start to do this, if possible.
Thanks in advance.
I know you probably don't want to hear this, but why do you need captcha on iPhone? It's completely useless since there are no bots or something.
But if you really need it then make some image with white background and then use this code
http://iphonesdksnippets.com/post/2009/05/05/Add-text-to-image-%28UIImage%29.aspx
to add text to the image... once you'll have this, then just check if the entered string is equal to the randomly generated one on the image and you are good to go.
I didn't find any libraries which could be used as a captcha, so I think this is probably the best solution right now.
Cya,
Nick

Is there a good iphone sdk documentation site that provides good examples / common usage?

The problem? I look up stuff in the xcode documentation and find very useful lists of objects, methods, etc... But then I still have to go somewhere else to find useful example code of how to use that object. For example, I looked up NSNumber yesterday and found all of the neat stuff it can do, but I still had no clue how to use it. That's just an example. I'm sure I could read the objective c pdf front to back and learn something there (which I plan on doing) but what about later? When I'm looking up some UIKit object? Do I have to go find a tutorial each time (or lately, I just ask StackOverflow and you guys take care of me).
Is there a part of the apple website / xcode documentation that shows the example code I'm looking for?
Is there a wiki site out there or something that has what I'm looking for? (I just tried a simple google search "iphone sdk wiki". this site could be good. iphone sdk wiki . I'll check it out. Anyone else have one they like? )
This is also sort of a mild complaint to Apple. Why not a section on each code definition page that shows usage?
I've found the sample code section on Apple's iPhone Developer Connection be extremely useful not only for samples of complete applications but also a best practices source. Going through the code of The Elements, for example, will expose you to how to use particular classes as well as how to structure your code. It is a wonderful example of how to create a non-trivial iPhone app.
Look in developer.apple.com/iphone they have pretty good documentation (you can use the search bar there) on all the classes and have a lot of good sample code..
I really would emphasize the "Related sample code" section on many, if not most, of the documented classes.
But, IMHO, there isn't any easy way of acquiring the knowledge to develop in Cocoa/Cocoa Touch. The API's are so numerous that it simply takes a lot of time and experience. You just have to work on it, look at a lot of books and study the sample source code where available.
I've tried to take a purposeful approach by carving out some time every week to learning a new API/class irrespective of whether my current project needs it or not.
Alternatively, search Joe Hewitt. He's the developer for iPhone facebook. He has a project you can download that demonstrates all the features of facebook. It's an awesome open source project!
When you look something up in Xcode Developer Documentation, you sometimes get a Related Sample Code: text that tells you what Sample the method or property is used in. Too bad you can't click on it to see the code, but if you do click it takes you to the page to download the sample. – mahboudz 0 secs ago
Apple Developer site has all kinds of code examples. Try searching google for a UICatalog project, it will show you all the basic UI stuff you can do, like adding buttons and progressbars through using only code.

unable to use three20 iphone library

Well I am a newbie, developing an app. I want to use library 320 to display a set of thumbnails generated from a specific image directory .
When user clicks on an image a particular action shold take place. Unable to understand how to implement this library due to poor documentation. Can any body suggest me a better tutorial or source or piece of code to understand this .
I googled it but the outcome was not profitable.
Please enlighten me on this.
Thnx in advance.
Check out the TTCatalog example project that comes with the Three20 source, it shows a fairly standard implementation of photo thumbnails.
Barring that, you can check out the slowly growing Three20 documentation.
Articles and tutorials:
http://three20.info/
API documentation:
http://api.three20.info/

iPhone Coverflow

I need to implement cover flow functionality to our iPhone application. I tried to find sample code online to get started with it, but I didn't have any luck. Can anyone tell me how to implement cover flow functionality or give me a sample?
Thanks In Advance!
Try FlowCover at
http://www.chaosinmotion.com/flowcover.m
the source code provides you with a FlowCoverView realizing the coverflow effect.
You simply need to customize a few delegate methods. Take a look at the example source code, customizing it to suit your needs should be straightforward.
You might also want to check out a library I released at iPhoneDevCamp -- OpenFlow. http://apparentlogic.com/openflow
It is all core animation-based, so it's easy to understand and customize to your needs. AFOpenFlowView is a subclass of UIView.
I included a demo application, and check out the blog entry on my personal website for a bit more information about its use. fajkowski.com
Drop me a line if you have any questions or comments!
-Alex
This one looks promising:
https://github.com/nicklockwood/iCarousel
Seems to be more actively maintained than the other two suggested above.