three20

TTThumbsViewController example

Hello, anyone has a working example of a TTThumbsViewController used with files included in the bundle? I tried on my own but I think I'm missing something relevant. My controller instantiates correctly and it's initialized with a photo source and objects with the TTPhoto protocol. maxPhotoIndex is called correctly but photoAtIndex...

Using Localizable.strings in iPhone application

I downloaded the three20 library: http://three20.info/ And I opened the TTCatalog sample project that comes with this library: http://img16.imageshack.us/img16/3183/screenshot20100302at752.png As you can see, there are lots of Localizable.strings files. When I opened the iPhone simulator and changed its language to for example Frenc...

three20 - can the query added to an openURLAction also be passed back to the parent

I am setting up routing to a TTTableViewController as follows: [map from:@"myurl://filter/(initWithName:)" toViewController:[FilterViewController class]]; and then, in another view controller I set up a mutable dictionary to pass through as my query: // Set up dictionary and populate a field NSMutableDictionary *filterDictiona...

Three20 dependency problem

Hello all! I checked out the three20 source and was trying to follow this guide to build an iphone app using the framework. Within this guide, Templates are used which I checked out too. They ought to compile properly, but I get the following error: File /Users/myUser/programming/three20/src/build/Debug-iphonesimulator/libThree20.a de...

TTTableView hidden after returning to TTTableViewController

I'm writing an application based off of the Three20 framework, and I seem to be having some trouble... I'm using the TTTableViewController to load data from an endpoint and display a list of the titles, which can be clicked to present a new UIViewController which contains a UIWebView that shows the URL (gotten from the JSON data). Howev...

Three20 iPhone - Sending XML-RPC Request instead of HTTP?

I am new to Three20 and have been trying to develop an iPhone app with Three20 for the past week. This app has to access to a xmlrpc server. I know it is possible to receive responses in other formats like JSON. But for requests, instead of the provided HTTP class TTURLRequest, is it possible to send request by XML-RPC? ...

How to call a method of a specific class from another class (created in this specific class) ?

I created a TTModelViewController. in the createModel Method i created a TTURLRequestModel. after Loading content in the TTURLRequestModel i want to call a method in my TTModelViewController. TTModelViewController - (void) createModel { requestModel = [[singlePostModel alloc] initWithId:@"54"]; } - (void)didLoadModel:(BOOL)firstT...

iPhone framework three20

What's the best way to customize the Table Items to include two images. I'd like to set one as a background with another layered above it along with text. Any help is much appreciated. ...

Change background color/image of TTThumbsViewController

Hi together, can I change the background image of my TTThumbsViewController. It's the thumbnail overview screen and at the moment it is white. Can I turn it to transparent? Thx :-) ...

TTPhotoViewController thumbnails rotate but images don't

I have PhotoTest1Controller very similiar to the one in Three20 samples. I implemented necessary shouldRotate methods in necessary places in UITabBarController and UINavController derived classes as well as the table that contains PhotoTest1Controller. A funny thing is happening, when in thumbnail mode, the view rotates properly, but wh...

Three20 TTLauncherView Tutorial?

Hi, I'm attempting to use TTLauncherView from the Facebook Three20 project in my app, but I'm not having much luck (I'm a bit of a newbie at this). Does anyone have any good tutorials at using it that I could read? FYI basically I need to pull images that a user chooses from the iPhone camera album, and display them as icons that when...

Problem with Three20 TTPhotoViewController

Hi there, I am not sure if this is the right place to ask or report this... but i hope someone here can help me out with the following problem I'm currently creating an app which offers several functionalities. anyways it also includes the TTPhotoViewController which Three20 offers. Well this controller is absolutely awesome but i'm ha...

iPhone App rejected because of Three20 private API undocumented, private UITouch instance variables:

I got a notification mail after submitting my iphone application to apple store.. "During our review of your application we found it is using private APIs, which is in violation of the iPhone Developer Program License Agreement section 3.3.1; "3.3.1 Applications may only use Documented APIs in the manner prescribed by Apple and must no...

Problem releasing UIImageView after adding to UIScrollView

I'm having a memory problem related to UIImageView. After adding this view to my UIScrollView, if I try to release the UIImageView the application crashes. According to the stack trace, something is calling [UIImageView stopAnimating] after [UIImageView dealloc] is called. However, if I don't release the view the memory is never freed up...

TTImageView not working

Guys, I am new to IPhone and using following code to render the image from remote server using TTImageView from Three20 framework with the help of following code TTImageView* imageView = [[[TTImageView alloc] initWithFrame:CGRectMake(30, 30, 0, 0)] autorelease]; //Working OK //imageView.urlPath = @"http://prosares.co.cc/Images/b...

Three20 - SIGABRT on setting TTTableLongTextItem to TTStyledText

My code is as follows TTTableLongTextItem *descItem = [[TTTableLongTextItem alloc] autorelease]; TTStyledText *styledDesc = [[TTStyledText alloc] autorelease]; styledDesc = [TTStyledText textWithURLs:@"howdy http://www.google.com"]; //this line causes the SIGABRT: descItem.text = styledDesc; //I also get a warning on this line that say...

three20 p31 syntax error with UIAccessibilityTraits

i downlaoded three20 p31. when i tried to build i got errors in following places - (UIAccessibilityTraits) accessibilityTraits { return [super accessibilityTraits] | UIAccessibilityTraitStaticText; } the same function is used in 3 classes. TTbutton.m,TTLabel.m,TTstyledTestlabel.m . i simply commented all funnctions containing U...

Displaying Photos on iPhone

Hi all, I'm working on an iPhone app and I need to be able to display images to users. I have already gotten the code that takes the photo and stores it into the filesystem working well. Now I just need to figure out how to display the image. I've looked at the Three20 project I've read about on a few of the posts here, but it seems ...

Building a complex view with Three20 - resources?

I'm using three20 for most of my iPhone app. One of the views I need to create is relatively complex. It needs a top bar (under the nav bar) with some controls and label, an image view below this bar (which occupies most of the body) and another bottom bar with more controls and labels (above the tab bar control). I don't have much UI e...

TTSpeechBubbleShape in Three20 only draws "speech" triangles top and bottom

So I am using the Three20 library for an iPhone app, and want to use the TTSpeechBubbleShape style for a view. But the triangle doesn't seem to want to draw on the left or right sides. I see in the source that it's a lot of geometry and was wondering if anyone had tackled this or knew how to fix it. ...