EzDev.org

three20

Three20 is an Objective-C library for iPhone developers


Are there libraries similar to the Three20 Project for Android?

The Three20 project is really nice for building iPhone apps quickly using common libraries:

https://github.com/facebook/three20

Is there anything like this for Android?


Source: (StackOverflow)

How to remove Three20 from the project

Adding Three20 in your project has been made simple by the ttmodule.py script file. I was initially planning on using it in my project but i'm not, so i want to clean my project by getting rid of it. How can i remove it from my project?


Source: (StackOverflow)

why can't Xcode find this header file?

Hi I'm getting an xcode "no such file or directory" for:

#import "Three20Core.h"

I also note when I'm typing in the #import statement it recognises, and helps autocomplete, the "Three20Core.h" file, however when I compile I get the error?

This is the main library file header for the Three20 library (from Facebook). So I've got the three20 directory at the same level as my app directory. In the Xcode application target build settings:

  1. Header Search Paths - "$(BUILT_PRODUCTS_DIR)/../../../three20" and recursive, and
  2. User Header Search Paths - same as above.

Any fault finding advice?


Source: (StackOverflow)

How to Start Three20 Photo Viewer in Thumbnail view?

I followed How To Use the Three20 Photo Viewer by Ray Wenderlich tutorial it was very clear and working perfectly, my question as the title, How to Start Three20 Photo Viewer in Thumbnail view?

I am greatly appreciative of any guidance or help.


Source: (StackOverflow)

Three20 : how to pass a class of objects between 2 views

I have a TTableView. The items in this table a mapped to an url, so that when I click on an item, another view appear with informations about this item. All these informations are attributes of a class. So, how can I build my TTableTextItem URL in order to transmit the class containing informations to the view responsible for the display of these informations ?

Thanks in advance.


Source: (StackOverflow)

How to make the blue bar on the top disappear for tttableview with list datasource (program running on ios 5 beta)

There is a blue bar appearing on the top of my tttableview when the program is running on ios 5 beta, it was not there if I run the program on ios 4.3. The table is configured to use a list datasource. Does anyone know what the problem could be? Is it the tableview api changed in someway for ios 5? Thanks.


Source: (StackOverflow)

How can I make clickable links like the Twitter and Facebook app? [duplicate]

Possible Duplicate:
How to make an expression clickable on iOS?

On Twitter and Facebook, usernames like @ and hashtags like # are clickable, and do something native within the app.

What is the best way to implement something like this? It would be nice if there was a drop in replacement for a UILabel for example.


Source: (StackOverflow)

three20 and iOS 6 not working

I was just trying out a project of mine which had Three20 in it and it seems that it doesn't compile/gives me build error. Seems like it's because some of the UITouch interface has changed. Wonder if there's a quick fix to do this?

Seems like here is the issue:

UITouch ivars have been removed of the iOS 6 SDK headers: private API access in UIViewAdditions breaks the build on iOS 6.


Source: (StackOverflow)

Three20 Photo Scroller alternative?

I wan to add a view in my iPhone app where the user can scroll (paged) through a series of web loaded images.

I've been reading many threads and most of them end up suggesting the Three20 lib. I've tried that and looks complicated to integrate and quite heavy in size (1.2Mb added to my app). Additionally I only need the TTPhotoViewContoller class, but I have to integrate with the whole Three20 bundle.

Is there a lighter solution or component to do a image scroller on iPhone?

Thanks in advance.

Gonso


Source: (StackOverflow)

Couldn't load a xcode project because it is already opened from another project or workspace

I have a project that has one target dependency. The target dependency is dependent on a framework called Three20.

The dependency tree looks like this.

myProject
   -> myCustomFramework
         -> Three20

When I tried to build and run I get the following error message.

Workspace Integrity Couldn't load Three20.xcodeproj because it is already opened from another projet or workspace.

I have only one project open. Any suggestions on why I am getting this message?


Source: (StackOverflow)

Monotouch Three20 app launcher or bindings

From what I've read about btouch; the bindings are not complete for three20.

Is there a project that provides either bindings for the Three20 app launcher or a pure MonoTouch implementation of a launcher UI element?

http://three20.info/showcase/launcher

enter image description here


Source: (StackOverflow)

UINavigationController custom animation [duplicate]

Possible Duplicate:
Custom animation for pushing a UIViewController

Any of you achieved to make custom animation like expand from middle in UINavigationController? (for example Facebook app when you select news feed from the launcher view)

I seen one of trick like animating the view of the desired next controller but I am using Three20 framework and getting the next controller view is difficult.

So my only option is to play around with CATransition. I could manage to get some sort of animation that close to what I want using this piece of code.

CATransition* transition = [CATransition animation];
transition.duration = 1;
transition.timingFunction = [CAMediaTimingFunction
functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
transition.type = kCATransitionFade;
transition.subtype = kCATransitionReveal;
[self.navigationController.view.layer addAnimation:transition forKey:kCATransition];

what it will do? It will animate fading type of animation. What I want is something like scale the view frame from CABasicAnimation.

anim.fromValue = [NSValue valueWithCATransform3D:CATransform3DMakeScale(0.1, 0.1, 1.0)];
anim.toValue = [NSValue valueWithCATransform3D:CATransform3DMakeScale(1.0, 1.0, 1.0)];

do you guys know how to achieve this? Something like transformation animation inside CATransition.


Source: (StackOverflow)

Xcode 4 & three20 & create IPA archive: No such file or directory

In Xcode 3.2.5 I use "Build And Archive" to create an IPA file without any problems. How can I do that in Xcode 4? I think I have to use "Product -> Archive", but I get over 100 error messages in the three20 framework. Most are "No such file or directory". ("Product -> Build For -> Build For Archiving" works. No errors.)

For example, this is the first error message:

../scripts/Protect.command: line 23: cd: /Users/[USERNAME]/Library/Developer/Xcode/DerivedData/[PROJECTNAME]-blabla/ArchiveIntermediates/[PROJECTNAME]/BuildProductsPath/Release-iphoneos/../three20/Three20Core: No such file or directory

The path "/[PROJECTNAME]/BuildProductsPath/three20/" really doesn't exists, but this path exists: "/[PROJECTNAME]/three20/"

What can I do?


Source: (StackOverflow)

TTPickerTextField example

I've been trying all day and just can't make the the TTPickerTextField work. It displays, I set its dataSource to the example code's MockDataSource and type in a name from the mock and it doesn't work. There doesn't seem to be any documentation or any examples anywhere on the internet, something that I find surprising.

So: does anyone have (or can anyone throw together) a really simple example of how the TTPickerTextField works? All I want to do is have someone type something in and put it in a bubble, like in the iPhone Mail app.


Source: (StackOverflow)

iphone / ipad - Compile three20 under xcode 4?

anyone successfully compiled three20 under XCode 4?

I tried, and changed all Base SDK to latest 4.2, but there is alway a error:

error: There is no SDK with the name or path '..../three20/src/Three20Core/iphoneos4.0'

in Three20UICommon and its Unit tests.

Anyone has a clue about this?

Also, in Xcode 3, I know I can let all UnitTests not to be compiled by deselecting the bulleye for UnitTests. How can I do it in XCode 4?

thanks


Source: (StackOverflow)