EzDevInfo.com

three20

Three20 is an Objective-C library for iPhone developers

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)

Advertisements

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)

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 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)

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 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)

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)

toSharedViewController not re-using existing controller

My URL map is as follows:

[map from:@"tt://webPage/(initWithPage:)" toSharedViewController:[WebPageController class]];

and in the WebPageController

- (id) initWithPage:(WebPage)page
{
    if (self = [super init])
    {
    ...

Then I called the url several times in my code

tt://webPage/1
tt://webPage/2
tt://webPage/1 (still called the initWithPage: everytime, not cached)

Why it is not cached as it is a SharedViewController?


Source: (StackOverflow)

Strange layout issue on 3GS device with iOS 4.2.1 - Compiled with iOS 5

We had a strange bug report from a user who has iOS 4.2.1 on an iPhone 3GS. A lot of the UITextLabels in the app are offset at strange locations. Has anyone else come across this issue.

The app is laid out correctly on all devices we have tested on and we have only heard of this issue from 2 users out of over 100,000.

This could be related to Three20 styles.

misaligned text

enter image description here


Source: (StackOverflow)

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 TThumbsViewController view controller, the navigation controller is stuck in a mode where its view controllers are drawn UNDER the navigation bar (which is now translucent).

Start

alt text

Push

alt text

Pop

alt text


Source: (StackOverflow)

TTThumbsViewController + navigationController issue

I am only using Three20 for a gallery in my app.

When I push my .. : TTThumbsViewController from another view, the navigation bar is not the color I want it to be (as per the rest of my app). I have set up a TTDefaultStyleSheet as per this stackoverflow QA. Is there something special I have to do as I am only using the TTThumbsViewController?

The thumbs view is also created with extra space at the top, as though it is leaving room for a navigation controller, without knowing that one is already there. How can I tell the TTThumbsViewController to use the existing uinavigationcontroller? Or behave as though it is?

MYThumbsViewController *mYThumbsViewController = [MYThumbsViewController alloc];
[self.navigationController pushViewController:mYThumbsViewController animated:YES];

The problem depicted graphically:

alt text

Thanks!


Source: (StackOverflow)

Are Facebook and Path using an open source library for their root navigation UI?

The latest update to Path includes a root navigation UI that is strikingly similar to the one Facebook included in v4 of their app a few months ago. Is there an open source version of this implementation or did Path build it from scratch? It doesn't appear that Three20 got an update from what I can see in their documentation.

enter image description here


Source: (StackOverflow)

Three20 v1.1 and Xcode 4

Is there an easy way of getting Three20 v1.1 to work under xCode 4? I followed the steps on http://three20.info/article/2011-03-10-Xcode4-Support but that seems to be for the master. I use v1.1 as I use the TTLauncher.

The project builds fine with a normal build, and runs perfect on an iPhone. But when I want to create the archive (for the IPA for distribution) then I get 18 errors and 8 warnings.

The first one is:

../scripts/Protect.command: line 23: cd: /Users/XXX/Library/Developer/Xcode/DerivedData/iDoms-cmyivarwxpbvqdfnyclqdrikrtmw/ArchiveIntermediates/iDoms/BuildProductsPath/Release-iphoneos/../three20/Three20UICommon: No such file or directory

Most others are 'no such file or directory' on e.g.: #import "Three20Core/TTGlobalCoreLocale.h"

or 'undeclared (first use of function)' which comes from the 'no such file or directory issue I presume'.

In my 'Header search paths' I have:

$(BUILT_PRODUCTS_DIR)/../three20
$(BUILT_PRODUCTS_DIR)/../../three20
../../three20/Build/Products/three20
/usr/include/libxml2

Any help would be very appreciated!


Source: (StackOverflow)