Yosi
unread,Oct 23, 2009, 5:38:53 AM10/23/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Three20
The following code makes the table view go crazy things by moving the
cells into view in a jumpy animation.
click on the different cells to get them into view and you'll notice
that sometimes the keyboard goes away, the placeholders for the text
disappears , some of the cells are becoming impossible to click - they
stop responding.
also if you set the boldness of the fonts not all cells use the bolded
text.
any idea?
Assume you have this init function in your derived class from
TTTableViewController
- (id)init {
if (self = [super init]) {
self.tableViewStyle = UITableViewStyleGrouped;
self.autoresizesForKeyboard = YES;
self.variableHeightRows = YES;
UITextField* email = [[[UITextField alloc] init] autorelease];
email.placeholder = @"Email";
UITextField* password = [[[UITextField alloc] init] autorelease];
password.placeholder = @"Password";
password.secureTextEntry = YES;
UITextField* firstName = [[[UITextField alloc] init] autorelease];
firstName.placeholder = @"First Name";
UITextField* lastName = [[[UITextField alloc] init] autorelease];
lastName.placeholder = @"Last Name";
UITextField* twitterUsername = [[[UITextField alloc] init]
autorelease];
twitterUsername.placeholder = @"Username";
UITextField* twitterPassword = [[[UITextField alloc] init]
autorelease];
twitterPassword.placeholder = @"Password";
twitterPassword.secureTextEntry = YES;
//firstname, lastname, phone, email, password, gender, twitter,
password
self.dataSource = [TTSectionedDataSource dataSourceWithObjects:
@"Sign Up",
email,
password,
firstName,
lastName,
@"Twitter Login",
twitterUsername,
twitterPassword,
nil];
}
return self;
}