document.write("<div class=\"pastie\">\n");
document.write("  <link href=\"http://pastie.org/stylesheets/embed.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n");
document.write("  <link href=\"http://pastie.org/stylesheets/clean.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n");
document.write("  \n");
document.write("\n");
document.write("  \n");
document.write("  \n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("	\n");
document.write("	<div class=\"allcode\">\n");
document.write("		<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\n");
document.write("		<tr>\n");
document.write("			<td>\n");
document.write("				\n");
document.write("				<pre class=\"textmate-source-numbers\">1\n");
document.write("2\n");
document.write("3\n");
document.write("4\n");
document.write("5\n");
document.write("6\n");
document.write("7\n");
document.write("8\n");
document.write("9\n");
document.write("10\n");
document.write("11\n");
document.write("12\n");
document.write("13\n");
document.write("14\n");
document.write("15\n");
document.write("16\n");
document.write("17\n");
document.write("18\n");
document.write("19\n");
document.write("20\n");
document.write("<\/pre>\n");
document.write("			<\/td>\n");
document.write("		<td>\n");
document.write("		<pre class=\"textmate-source\"><pre class=\"sunburst\"><span class=\'comment comment_line comment_line_double-slash comment_line_double-slash_c++\'>// Customize the appearance of table view cells.<\/span>\n");
document.write("- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(<span class=\'support support_class support_class_cocoa\'>NSIndexPath<\/span> *)indexPath {\n");
document.write("\n");
document.write("    <span class=\'storage storage_modifier storage_modifier_c\'>static<\/span> <span class=\'support support_class support_class_cocoa\'>NSString<\/span> *CellIdentifier = <span class=\'string string_quoted string_quoted_double string_quoted_double_objc\'>@&quot;Cell&quot;<\/span>;\n");
document.write("\n");
document.write("    UITableViewCell *cell = <span class=\'meta meta_bracketed meta_bracketed_objc\'>[tableView <span class=\'meta meta_function-call meta_function-call_objc\'><span class=\'support support_function support_function_any-method support_function_any-method_objc\'>dequeueReusableCellWithIdentifier:<\/span>CellIdentifier<\/span>]<\/span>;\n");
document.write("    <span class=\'keyword keyword_control keyword_control_c\'>if<\/span><span class=\'meta meta_function meta_function_c\'> (cell == nil)<\/span> {\n");
document.write("        cell = <span class=\'meta meta_bracketed meta_bracketed_objc\'>[<span class=\'meta meta_bracketed meta_bracketed_objc\'>[<span class=\'meta meta_bracketed meta_bracketed_objc\'>[UITableViewCell <span class=\'meta meta_function-call meta_function-call_objc\'><span class=\'support support_function support_function_any-method support_function_any-method_objc\'>alloc<\/span><\/span>]<\/span> <span class=\'meta meta_function-call meta_function-call_objc\'><span class=\'support support_function support_function_any-method support_function_any-method_objc\'>initWithFrame:<\/span>CGRectZero <span class=\'support support_function support_function_any-method support_function_any-method_name-of-parameter support_function_any-method_name-of-parameter_objc\'>reuseIdentifier:<\/span>CellIdentifier<\/span>]<\/span> <span class=\'meta meta_function-call meta_function-call_objc\'><span class=\'support support_function support_function_any-method support_function_any-method_objc\'>autorelease<\/span><\/span>]<\/span>;\n");
document.write("    }\n");
document.write("\n");
document.write("    cell.text = <span class=\'string string_quoted string_quoted_double string_quoted_double_objc\'>@&quot;Add contact&quot;<\/span>;\n");
document.write("    <span class=\'keyword keyword_control keyword_control_c\'>return<\/span> cell;\n");
document.write("}\n");
document.write("\n");
document.write("\n");
document.write("- (<span class=\'storage storage_type storage_type_c\'>void<\/span>)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(<span class=\'support support_class support_class_cocoa\'>NSIndexPath<\/span> *)indexPath {\n");
document.write("	<span class=\'keyword keyword_control keyword_control_c\'>if<\/span>(indexPath.row == <span class=\'constant constant_numeric constant_numeric_c\'>0<\/span>) {\n");
document.write("	     <span class=\'meta meta_bracketed meta_bracketed_objc\'>[<span class=\'variable variable_language variable_language_objc\'>self<\/span> <span class=\'meta meta_function-call meta_function-call_objc\'><span class=\'support support_function support_function_any-method support_function_any-method_objc\'>personObject<\/span><\/span>]<\/span>;\n");
document.write("	}\n");
document.write("}\n");
document.write("<\/pre><\/pre>\n");
document.write("		<\/td>\n");
document.write("		<\/tr>\n");
document.write("		<\/table>\n");
document.write("	\n");
document.write("	<\/div>\n");
document.write("\n");
document.write("\n");
document.write("  \n");
document.write("  \n");
document.write("  <div class=\"credit\">\n");
document.write("    <div class=\"buttons\">\n");
document.write("      <a href=\"http://pastie.org/pastes/388160.txt\">\n");
document.write("      <img src=\"http://pastie.org/images/view.png\" height=\"20\" width=\"67\" /><\/a>\n");
document.write("    <\/div>\n");
document.write("  \n");
document.write("    <a href=\"http://pastie.org/388160\">Pastie #388160<\/a> linked directly from <a href=\"http://pastie.org/\">Pastie<\/a>.\n");
document.write("  <\/div><\/div>");
