Questions tagged [three20]

Three20 is an open-source Objective-C library originally created at Facebook, that provides a number of features for people writing iOS (iPhone/iPad) applications.

External resources:

883 questions
3
votes
2 answers

TTPhotoViewController get current center image?

Is there a way to get a current image to an object of UIImage? I have tried casting TTPhoto to UIImage, but it doesn't work.
Saleh
  • 380
  • 3
  • 19
3
votes
1 answer

Runtime change the language/localization in Three20

Is it possible to change the Three20 language/localization at runtime without restarting the app? Currently, I managed to change the language via altering the value of AppleLanguages in the main.m
Howard
  • 19,215
  • 35
  • 112
  • 184
3
votes
1 answer

the TTTwitter seems to be wrong in the three20 example

the TTTwitter seems to be wrong,when i click the more Button,the following method runs twice,and first time more is true,second time more is false,so we can see that the table can't load data right. - (void)load:(TTURLRequestCachePolicy)cachePolicy…
changweitu
  • 31
  • 2
3
votes
2 answers

How does the three20 gallery load images?

On my server, I have three files per image. A thumbnail file, which is cropped to 128 by 128. A small file, which I aspect fit to a max of 160 by 240. A large file, which I aspect fit to a max of 960 by 540. My method for returning these URLs to…
Alex Coplan
  • 13,211
  • 19
  • 77
  • 138
3
votes
1 answer

Is it safe to add ARCHS_STANDARD_32_BIT = armv6 armv7 in XCode 4.2?

I have an iOS project that requires compatibility with iOS 3.X devices. Thus, I must target both armv6 and armv7 architectures. I have added an xcconfig file to my project and to my dependent projects (I use three20 and it comes with a common…
esilver
  • 27,713
  • 23
  • 122
  • 168
3
votes
1 answer

Three20 “pull down to update”: How to change the text and datetime format?

I'm using a TTTableViewController with a TTURLRequestModel and implemented the "Drag to refresh" feature with these lines in my ViewController: - (id)createDelegate { return [[[TTTableViewDragRefreshDelegate alloc]…
d4n13l
  • 263
  • 2
  • 6
3
votes
1 answer

How to choose TTURLRequestCachePolicy?

I'm building an app with Three20 and I'm using the photo gallery component. I can't find any documentation about the different cache policy available. Could you explain to me each of them…
Quentin Hayot
  • 7,786
  • 6
  • 45
  • 62
3
votes
1 answer

TTRequestLoader max content size issue

I'm getting these errors when trying to load big files using TTRequestLoader: 2011-06-30 07:25:21.782 xxxxxxx[1261:607] -[TTRequestLoader connection:didReceiveResponse:](317): TTDASSERT failed: 0 == _queue.maxContentLength || contentLength…
aporat
  • 5,922
  • 5
  • 32
  • 54
3
votes
1 answer

Three20 - open url for a shared view controller

I know that if map a url with from:toViewController:, then open that url will create a new view controller and if from:toSharedViewController is used then a shared instance will be used. But for example [map from:@"tt://tabbar/(initWithString:)"…
Bryan Chen
  • 45,816
  • 18
  • 112
  • 143
3
votes
3 answers

Setting object to nil after release -- TT_RELEASE_SAFELY

I have started to study Three20 and I have a simple question about TT_RELEASE_SAFELY Up till now I like to write code in this way: UILabel *lab = [[UILabel alloc] initWithFrame:rect]; [self.view addSubview:lab]; [lab release]; Here I think the main…
scorpiozj
  • 2,687
  • 5
  • 34
  • 60
3
votes
1 answer

Why is it called Three20? Any meaning?

I'm very curious, why is it called Three20? I can't seems to find it anywhere. Haha. Cheers, Mickey
Mickey Cheong
  • 2,980
  • 6
  • 38
  • 50
3
votes
3 answers

three20 - TTTableViewController Memory warning gives blank screen, how to fix?

This is driving me nuts. I am using three20's TTTableViewController and when I get a memory warning, the screen goes white. Now, after reading on the three20 google group is seems that the tableView got released. But, I cannot for the life of me…
Nic Hubbard
  • 41,587
  • 63
  • 251
  • 412
3
votes
1 answer

Custom table cell background image

I'm taking my first stab at the three20 iPhone framework and I can't seem to figure out how to change the background of a table cell to a UIImage instead of just the color. Can anyone help me out?
kristy4life
  • 103
  • 1
  • 7
3
votes
3 answers

Three20 framework, how to change default row height TTTableView?

I am using a TTListDataSource to populate a TTTableViewController. This is the code I am using to populate the TTListDatSource items array: NSString *text = [NSString stringWithFormat:@"%@
%@", someObject.title,…
yeforriak
  • 1,705
  • 2
  • 18
  • 26
3
votes
3 answers

TTPhotoViewController: deactivate gallery auto zoom

In my project, I use the Facebook API "three20": https://github.com/facebook/three20/ Now, I need to customize the TTPhotoViewController. In the gallery, there's an "auto zoom". The complete width and height are always used: The disadvantage is…
Manni
  • 11,108
  • 15
  • 49
  • 67