three20

Three20 for iPad

微笑、不失礼 提交于 2019-12-30 05:13:29
问题 I have a requirement of using Three20 in my iPad project. I was wondering if the Three20 project of iPhone version is directly usable in iPad or should we wait for the this timeline to complete: http://three20.info/timeline/roadmap Are there any alternatives for Three20 in OS 3.2? Thanks, Raj 回答1: I am also building an iPad app with three20 and started using the master git repository. Big mistake. There were a lot of problems that were driving me crazy! It is from the fact that three20 has a

Runtime change the language/localization in Three20

霸气de小男生 提交于 2019-12-29 06:29:10
问题 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 回答1: There's a "hack" for it. You can load your own NSBundle with the localized text and use that NSBundle instead. Note that if the localized language file is missing, the app won't run, so make sure you set a correct language. Above your AppDelegate implementation, add a custom NSBundle

Using Three20's TTLauncherView: Need help with splitting and adding remaining objects from an NSMutableArray to an NSArray in Objective-C

不羁岁月 提交于 2019-12-25 01:52:38
问题 I am now using this code: - (void)loadLauncher:(NSMutableArray *)categoriesArray { _launcherView = [[TTLauncherView alloc] initWithFrame:self.view.bounds]; _launcherView.columnCount = 3; // Number of pages in your launcherView. NSMutableArray *pages = [[NSMutableArray alloc] initWithCapacity:2]; int numberOfObjects = [categoriesArray count]; // The launcherItems in each page, calculate automatically the number of objects available for the launcher. NSMutableArray *launcherItems = [

Change thumbs size in TTThumbsViewController

回眸只為那壹抹淺笑 提交于 2019-12-24 06:37:31
问题 Does anybody know if there is a way to increase the size of the images on the grid in a TTThumbsViewController in the three20 framework? Thanks 回答1: If you're using the TTThumbsViewController , you'll have to edit that file. Change the kThumbSize to the size you want, and kThumbnailRowHeight to that value+4 (for the padding). Then, in tableView:cell:willAppearAtIndexPath: , set: thumbsCell.thumbSize = kThumbSize; so the thumbs know what size to be. 回答2: Another way is to create a category of

Three20 and iOS 4

拈花ヽ惹草 提交于 2019-12-22 18:43:28
问题 I'm trying to complie my app for iOS 4. It includes Three20. I've set the base SDK to "iPhone Device 4.0" and the Deployment Target to "iPhone OS 3.0" but I get this message: "_OBJC_CLASS_$_TTURLRequestModel", referenced from: _OBJC_CLASS_$_MockPhotoSource in MockPhotoSource.o What do I have to do? 回答1: I think this thread explains most of the problems. http://groups.google.com/group/three20/browse_thread/thread/90a57d469dfcc32d/85750d0c9b7c79de?lnk=gst&q=ios4#85750d0c9b7c79de Also the

custom mail composer just like Three20 Message Composer

假如想象 提交于 2019-12-22 18:06:54
问题 My team is trying to design a mail client for lotus notes on iPad. Before we start I want to know if there is a third party custom MFMailComposeViewController available. It should have To field just like Three20 MessageComposeViewController (with the email address entered in round blue box). I want the same for Cc and BCc . Not sure how I could extend the Three20 MessageComposeViewController to add Cc , Bcc and use their delegate methods to send email request to my server. 回答1: It is

How to change the size of the grid of TTThumbsViewController

孤街浪徒 提交于 2019-12-22 18:05:08
问题 I'm using the Three20 Photo Gallery and wondered if it's possible to have two different grid sizes in two different galleries. So in Gallery one I use the standard size (up to 4x4 thumbs) and in the other I only want a 2x2 gallery size. Is that possible and if yes how (I suppose subclassing comes into play)? I would really appreciate some code samples. Thanks a lot. 回答1: I did the same thing and my solution was like this 1, Extend TTThumbsDataSource and override (NSInteger)columnCount { //

Passing url to Three20 TTURLMap

岁酱吖の 提交于 2019-12-21 23:12:10
问题 I am trying to pass in a URL as a parameter to a TTURLMap like this: [map from@"tt://person/(initWithURL:)" toViewController: [PersonViewController class]]; I then have a TTStyledTableItemCell with links that render like this: <a href="tt://person/http://persons.url.com/blah">Person name</a> but when I click on these links the link doesn't call the initWithURL: method in the PersonViewConroller class. I've verified things are wired up correctly by passing in a simple string. I believe this

Which one is a better iOS Photo Viewer: Three20 or EGOPhotoViewer [closed]

拜拜、爱过 提交于 2019-12-21 21:42:22
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I am making an app for showing an image gallery in iOS, and I came across two samples. I want to know the differences between Three20

Multi-parameter mapping with Three20 and TTURLMap

旧城冷巷雨未停 提交于 2019-12-21 21:24:32
问题 I'm following this tutorial and declare the following mappings in my app delegate: [map from:@"x://profile/(initWithId:)/(name:)" toViewController:[ProfileViewController class]]; [map from:@"*" toViewController:[TTWebController class]]; In ProfileViewController.m I implement the - (id)initWithId:(int)anIdentifier name:(NSString *)name selector to handle such mapping. I suppose opening URLs like x://profile/1/John Doe would invoke [[ProfileViewController alloc] initWithId:1 name:@"John Doe"] ,