Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development > iPhone SDK Development - Advanced Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 06-02-2010, 05:59 PM   #1 (permalink)
Banned
 
Join Date: Jun 2010
Posts: 91
maxk77 is on a distinguished road
Default Table View Trouble

Hi, i am trying to implement this into my source code and i am finding it very difficult :
Code:
launch:
if (alertView.title == @"Launch Application WithIdentifier") {
			[[[SBManagerAppDelegate sharedAppDelegate] userDefaults] setObject:[[alertView textField] text] forKey:@"launchApplicationWithIdentifier"];

			
			[[UIApplication sharedApplication] launchApplicationWithIdentifier:[[alertView textField] text] suspended:NO];
		}

uuid:

if (indexPath.row == 0) {
			cell.textLabel.text = @"uniqueIdentifier";
			cell.detailTextLabel.text = [[UIDevice currentDevice] uniqueIdentifier];
		}
could anyone tell me how i could implement this into my source code here:
Code:
- (void)viewDidLoad {
    [super viewDidLoad];
	
	tableList = [[NSMutableArray alloc] init];
	[tableList addObject:@"Open Application With Identifier"];
	[tableList addObject:@"UUID"];
	[self setTitle:@"YourInfo"];

    // Uncomment the following line to display an Edit button in the navigation bar for this view controller.
    // self.navigationItem.rightBarButtonItem = self.editButtonItem;
}


/*
- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
}
*/
/*
- (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];
}
*/
/*
- (void)viewWillDisappear:(BOOL)animated {
	[super viewWillDisappear:animated];
}
*/
/*
- (void)viewDidDisappear:(BOOL)animated {
	[super viewDidDisappear:animated];
}
*/

/*
 // Override to allow orientations other than the default portrait orientation.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
	// Return YES for supported orientations.
	return (interfaceOrientation == UIInterfaceOrientationPortrait);
}
 */

- (void)didReceiveMemoryWarning {
	// Releases the view if it doesn't have a superview.
    [super didReceiveMemoryWarning];
	
	// Release any cached data, images, etc that aren't in use.
}

- (void)viewDidUnload {
	// Release anything that can be recreated in viewDidLoad or on demand.
	// e.g. self.myOutlet = nil;
}


#pragma mark Table view methods

- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
    return 1;
}


// Customize the number of rows in the table view.
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return [tableList count];
}


// Customize the appearance of table view cells.
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    
    static NSString *CellIdentifier = @"Cell";
    
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    if (cell == nil) {
        cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
    }
    
	[cell setText:[[tableList objectAtIndex:indexPath.row] retain]];
	[cell setAccessoryType:UITableViewCellAccessoryNone];

    return cell;
}




// Override to support row selection in the table view.
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
}
thanks in advance
maxk77 is offline   Reply With Quote
Old 06-02-2010, 06:01 PM   #2 (permalink)
Banned
 
Join Date: Jun 2010
Posts: 91
maxk77 is on a distinguished road
Default

sorry posted in the wrong area!
maxk77 is offline   Reply With Quote
Reply

Bookmarks

Tags
return, table view, uuid

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 362
6 members and 356 guests
.Snipe, AragornSG, baja_yu, guusleijsten, NSString, Paul Slocum
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,645
Threads: 94,111
Posts: 402,862
Top Poster: BrianSlick (7,990)
Welcome to our newest member, leighec68
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:32 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0