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("<\/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++\'>// Creates and returns a person object.<\/span>\n");
document.write("- (ABRecordRef)personObject {\n");
document.write("	<span class=\'comment comment_line comment_line_double-slash comment_line_double-slash_c++\'>// Create a new Person object.<\/span>\n");
document.write("	ABRecordRef newRecord = ABPersonCreate();\n");
document.write("	\n");
document.write("	<span class=\'comment comment_line comment_line_double-slash comment_line_double-slash_c++\'>// Setting the value to the ABPerson object.<\/span>\n");
document.write("	ABRecordSetValue(newRecord, <span class=\'constant constant_other constant_other_variable constant_other_variable_mac-classic constant_other_variable_mac-classic_c\'>kABPersonFirstNameProperty<\/span>, <span class=\'string string_quoted string_quoted_double string_quoted_double_objc\'>@&quot;Christian&quot;<\/span>, <span class=\'constant constant_language constant_language_objc\'>nil<\/span>);\n");
document.write("	ABRecordSetValue(newRecord, <span class=\'constant constant_other constant_other_variable constant_other_variable_mac-classic constant_other_variable_mac-classic_c\'>kABPersonLastNameProperty<\/span>, <span class=\'string string_quoted string_quoted_double string_quoted_double_objc\'>@&quot;Linder&quot;<\/span>, <span class=\'constant constant_language constant_language_objc\'>nil<\/span>);\n");
document.write("	ABRecordSetValue(newRecord, <span class=\'constant constant_other constant_other_variable constant_other_variable_mac-classic constant_other_variable_mac-classic_c\'>kABPersonNoteProperty<\/span>, <span class=\'string string_quoted string_quoted_double string_quoted_double_objc\'>@&quot;sweetsnippets - Address book example&quot;<\/span>, <span class=\'constant constant_language constant_language_objc\'>nil<\/span>);\n");
document.write("\n");
document.write("	<span class=\'keyword keyword_control keyword_control_c\'>return<\/span> newRecord;\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/388167.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/388167\">Pastie #388167<\/a> linked directly from <a href=\"http://pastie.org/\">Pastie<\/a>.\n");
document.write("  <\/div><\/div>");
