three20

TTThumbView/TTPhotoView no autorotation

Hi, In my app I try to use the TTphotoView, so in a ViewController I push the TTphotoView with my navigationController like this: if(self.photoViewController == nil { PhotoViewController *viewController = [[PhotoViewController alloc] init]; self.photoViewController = viewController; viewController.hidesBottomBarWhenPushed = YE...

TTStyledTextLabel offset between link and regular text when changing from default font

I'm using Three20 TTStyledTextLabel and when I change the default font (Helvetica) to something else it creates some kind of height difference between links and regular text The following code demonstrate my problem: #import <Three20/Three20.h> @interface TestController : UIViewController { } @end @implementation...

large scrollable "something" with TTStyledText in it

Hi, im searching for a solution of the following problem: i got a "larger" XHTML string that i want to display in an area that is scrollable. I already used TTStyledTextLabel for a small text-caption and it works pretty well. But now i want display it more like a UITextView that scrolls or a UIScrollView with my TTStyled Content in it...

didSelectRowAtIndexPath not beeing called

Hi, The challenge: i'd like to do some action if the user touches a TableItem. The problem: The didSelectRowAtIndexPath method is never called? Did i miss sth? PortfolioViewController.h @interface PortfolioViewController : TTTableViewController <TTTableViewDelegate> { } @end PortfolioViewController.m @implementation Portfoli...

How to configure Three20 Lib so that it displays images of variable width/height

I'm using the Three20 library to display a photo gallery in my iphone app but the images are getting cut off when I click on them. Where do I specify in my Three20 lib (or preferably in my call to Three20) what the image dimensions should be? ...

URLs and Images in TTStyledText

Hi i created a TTStyledTextLabel, works well. Now i want to make URL clickable, i've done this: textLabel.text = [TTStyledText textFromXHTML:[content objectForKey:@"content"] lineBreaks:YES URLs:YES]; but my links are still unclickable. Do i have to setup a UIWebView first? Where to declare it? Another thing is, is it possible to re...

Three20's UIKit extensions don't seem to be being "included" properly

So, we have a project using the Three20 Library from Facebook (http://github.com/facebook/three20), and we're trying to compile against the latest version (HEAD from Github). Previously it's worked fine, but something has now changed :) The error I'm getting is an unrecognized selector on TTTableViewController: [TTViewControllerSubCl...

Iphone: Three20 slow on displaying thumnails for local images

I have been trying to display local images using three20 library. But, it is extremely slow in displaying thumbnails of large images. Can anyone please please provide me with some hint on how I can optimize it to generate the thumbnails faster? ...

View controller is drawing under my navigation bar after popping ttthumbsviewcontroller

I'm implementing the TTThumbsViewController from the Three20 project and things are finally starting to take shape. I push the TTThumbsViewController from the current view controller by just pushing it onto the current stack and animate the transition (common navigation controller push). My problem is that when I pop the TThumbsViewC...

How can I make Three20's TTStyledTextLabel work with external images?

I found an old post in the three20 Google Group about external image support not being implemented yet, but that's a few months old and it looks like TTStyledText is trying to support external images in the newer releases. I'm pulling out my hair trying to figure out why it isn't working for me. To reproduce, you can change the sampl...

Three20: How to acces the model in the next ViewController?

Hi there, The Situation I populate my TTTableViewController with a TTListDatasource(with TTModel). My didSelectObject methods opens a TTViewController. The Question I d like to show more informationen in the TTViewController. 1.Question: Should i hand over the datasource (and run a new query) or should i hand over a specific VO (with ...

How do I implement a basic menu navigation system with Three20?

I'm trying to get started with Three20 and just want to get a basic menu navigation system going. I'm looking for a way to create menu that's just a list view with static text. Selecting an item should be able to move to another menu or a different view controller. Looking at the documentation for Three20, I'm a bit confused by the need...

Three20 TTThumbsViewController

I need to show some images in my app. So, I decided to use three20 and especially the TTThumbsViewController. i have tried to put it in my tabbar application, but it doesn't work. What I have to do?? Is there another way to make an image gallery?? Link to the project P.S. Sorry for my English, i can't write but i understand very well...

understanding TTNavigator

Hi, following situation: in a TTTableViewController i added some Cells with URLs. they are opening a class with @"tt://photos" for example. this works quite fine. the first thing is, i saw some urls in TT Examples like @"tt/photos/1". is it possible to fetch this "1" in my photos class and say, for example okay, please open picture on...

Three20's URL-based navigation + tab bar example?

Hi, I just found out how easy it is (or at least is supposed to be) to do state persistence with Three20 library. However, I am unable to figure out how to use the URL mapper with a tab bar (UITabBarController). The situation is this: I have four tabs and different controllers for them: FirstViewController, SecondViewController, Thir...

Reloading TTableView after DataSource items are added

Hi, This is the code of my initializer: if (self = [super init]) { self.title = @"Posts"; self.variableHeightRows = YES; //XLog(""); PostsDataSource *dataSource = [[[PostsDataSource alloc] init] autorelease]; [dataSource.delegates addObject:self]; [dataSource load:TTURLRequestCachePolicyMemory nextPage:NO]; ...

three20 App crashes after some view changes

hi everybody, first, i followed this tutorial: three20 github tutorial i have a memory management problem i think, which crashes my application. i think, _properties in my postsModel crashes my application. the first time i launch my application and changing view to my postsTableViewController works quite fine. i created a TTLaunche...

Three20 getting started

Hello! I have been trying to get started with the Three20 project in order to get to display some images the way they are implemented 'defaultly' on your IPhone. So far, documentation for it is poor and I have had problems to get it working - are there any good beginner's hints on how to use it? Searching for tutorials did not help to...

UITextField: Text Entered Programmatically but not Visible in the Text Field

I have a weird behaviour that has only shown up in the last week. I don't use IB, all the controls are created in code. I have a text field with a keyboard active. The first time I load the text field and use the keyboard, everything works normally. The second time I use it, the typed text does not show in the text field. However, the t...

three20 - loading external Data for TTViewController

Hi, i created a TTViewController that should show some Informations from a external (web) source. i already worked with some TTableViewControllers where i used the TTModel System (i created a TTURLRequestModel and a TTListDataSource for my TTTableViewControllers) whats the way to do this with a TTViewController? is there also something...