<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>iCapps - iPhone Custom Applications</title>
	<atom:link href="http://icapps.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://icapps.wordpress.com</link>
	<description>We bring fun and poductivity into your mobile life!</description>
	<lastBuildDate>Mon, 07 Nov 2011 20:09:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='icapps.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/ba4e91ae3c2aa1aa27493033fb0ede40?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>iCapps - iPhone Custom Applications</title>
		<link>http://icapps.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://icapps.wordpress.com/osd.xml" title="iCapps - iPhone Custom Applications" />
	<atom:link rel='hub' href='http://icapps.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Xcode code sense not working</title>
		<link>http://icapps.wordpress.com/2011/11/07/xcode-4-code-sense-not-working/</link>
		<comments>http://icapps.wordpress.com/2011/11/07/xcode-4-code-sense-not-working/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 20:08:40 +0000</pubDate>
		<dc:creator>Olivier Dupont</dc:creator>
				<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[Xcode]]></category>
		<category><![CDATA[auto completion]]></category>
		<category><![CDATA[code sense]]></category>

		<guid isPermaLink="false">http://icapps.wordpress.com/?p=231</guid>
		<description><![CDATA[If you have problems with the auto complete function of Xcode then one of the options to solve this issue is to delete your current project in the organizer. To do this: Go to Window -&#62; Organiser and then choose the project icon. Select the project you have problems with and delete it. Be sure [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=icapps.wordpress.com&amp;blog=9376433&amp;post=231&amp;subd=icapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you have problems with the auto complete function of Xcode then one of the options to solve this issue is to delete your current project in the organizer. </p>
<p>To do this:<br />
Go to Window -&gt; Organiser and then choose the project icon.<br />
Select the project you have problems with and delete it.</p>
<p><a href="http://icapps.files.wordpress.com/2011/11/screen-shot-2011-11-07-at-21-05-23.png"><img src="http://icapps.files.wordpress.com/2011/11/screen-shot-2011-11-07-at-21-05-23.png?w=300&#038;h=214" alt="" title="Organiser" width="300" height="214" class="aligncenter size-medium wp-image-232" /></a></p>
<p>Be sure to save your work first!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/icapps.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/icapps.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/icapps.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/icapps.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/icapps.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/icapps.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/icapps.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/icapps.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/icapps.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/icapps.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/icapps.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/icapps.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/icapps.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/icapps.wordpress.com/231/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=icapps.wordpress.com&amp;blog=9376433&amp;post=231&amp;subd=icapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://icapps.wordpress.com/2011/11/07/xcode-4-code-sense-not-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/628076e809a5cf2df9f3604421643d45?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">duponol</media:title>
		</media:content>

		<media:content url="http://icapps.files.wordpress.com/2011/11/screen-shot-2011-11-07-at-21-05-23.png?w=300" medium="image">
			<media:title type="html">Organiser</media:title>
		</media:content>
	</item>
		<item>
		<title>The iCapps Plist-Translator, translate your plist online or convert them to excel</title>
		<link>http://icapps.wordpress.com/2011/10/14/the-icapps-plist-translator-translate-your-plist-online-or-convert-them-to-excel/</link>
		<comments>http://icapps.wordpress.com/2011/10/14/the-icapps-plist-translator-translate-your-plist-online-or-convert-them-to-excel/#comments</comments>
		<pubDate>Thu, 13 Oct 2011 22:13:16 +0000</pubDate>
		<dc:creator>Olivier Dupont</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Xcode]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[plist]]></category>

		<guid isPermaLink="false">http://icapps.wordpress.com/?p=221</guid>
		<description><![CDATA[A lot of our iOS applications are multi-language and every time we use a plist for each language with key values and translations. It&#8217;s difficult to get those translations done by someone else like a customer, especially if the person isn&#8217;t technical or doesn&#8217;t have a mac. That&#8217;s why we wrote a small online tool [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=icapps.wordpress.com&amp;blog=9376433&amp;post=221&amp;subd=icapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A lot of our iOS applications are multi-language and every time we use a plist for each language with key values and translations.<br />
It&#8217;s difficult to get those translations done by someone else like a customer, especially if the person isn&#8217;t technical or doesn&#8217;t have a mac.</p>
<p>That&#8217;s why we wrote a small online tool to help us in this process, the iCapps Plist-Translator can be found on <a href="http://www.icapps.be/plist-translator/" title="iCapps Plist-Translator">http://www.icapps.be/plist-translator/</a> .<br />
To summerise the tool has the next functionalities:</p>
<ul>
<ol>- Select up to 5 languages to translate your plist. Add languages later on in your development process.</ol>
<ol>- Import your plist, add the new keys and optionally overwrite extisting translations. Export the plist to excel, send them to your customers and copy paste all the translations from excel in one time.</ol>
<ol>- Let business users make the translations online, translate labels for all the languages in a single screen.</ol>
<ol>- Choose the correct language and export your plist.</ol>
</ul>
<p><strong>Registration and use is free of charge.</strong></p>
<p>Happy Translating!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/icapps.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/icapps.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/icapps.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/icapps.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/icapps.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/icapps.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/icapps.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/icapps.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/icapps.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/icapps.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/icapps.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/icapps.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/icapps.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/icapps.wordpress.com/221/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=icapps.wordpress.com&amp;blog=9376433&amp;post=221&amp;subd=icapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://icapps.wordpress.com/2011/10/14/the-icapps-plist-translator-translate-your-plist-online-or-convert-them-to-excel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/628076e809a5cf2df9f3604421643d45?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">duponol</media:title>
		</media:content>
	</item>
		<item>
		<title>viewDidLoad vs init with ViewControllers</title>
		<link>http://icapps.wordpress.com/2011/10/08/viewdidload-vs-init-with-viewcontrollers/</link>
		<comments>http://icapps.wordpress.com/2011/10/08/viewdidload-vs-init-with-viewcontrollers/#comments</comments>
		<pubDate>Sat, 08 Oct 2011 13:50:42 +0000</pubDate>
		<dc:creator>Olivier Dupont</dc:creator>
				<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://icapps.wordpress.com/?p=203</guid>
		<description><![CDATA[Initializing variables in an iOS application is something you will face every project. Choosing the right place to init your variables can sometimes be tricky. I recently faced a problem that was difficult to reproduce and changed some variables who were initialized in my viewDidLoad method and for who I couldn&#8217;t understand that they were [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=icapps.wordpress.com&amp;blog=9376433&amp;post=203&amp;subd=icapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Initializing variables in an iOS application is something you will face every project.<br />
Choosing the right place to init your variables can sometimes be tricky.  I recently faced a problem that was difficult to reproduce and changed some variables who were initialized in my viewDidLoad method and for who I couldn&#8217;t understand that they were changing.</p>
<p>Possible methods to init variables in your viewcontroller are:<br />
- init<br />
- viewDidLoad<br />
- viewWillAppear<br />
- viewDidAppear</p>
<p>To explain my point I started a new project with the template <strong>Tab Bar Application</strong>.  I added logging statements to the viewDidLoad methods in both view controllers. A also added a button to the second view controller who would initialize some images that would give me a memory warning.</p>
<p>After logging some statements and came to the following conclusion:<br />
<code><br />
15:11:40.077 testblog2[4865:707] FirstViewController viewdidload<br />
15:11:56.720 testblog2[4865:707] SecondViewController viewDidLoad<br />
15:12:05.710 testblog2[4865:707] Pressed loading images button<br />
15:12:19.025 testblog2[4865:707] Received memory warning. Level=1<br />
15:12:21.272 testblog2[4865:707] SecondViewController didReceiveMemoryWarning</p>
<p>=&gt; Now changing to the first tab</p>
<p>15:12:30.822 testblog2[4865:707] FirstViewController viewdidload<br />
</code></p>
<p>If you initialize variables in the <strong>viewDidLoad</strong> method then please keep in mind that these variables could be <strong>reinitialized</strong> after receiving a <strong>memory warning</strong>. Cocoa will remove the view and your viewDidLoad method will be triggered again once you go to that specific view controller.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/icapps.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/icapps.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/icapps.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/icapps.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/icapps.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/icapps.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/icapps.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/icapps.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/icapps.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/icapps.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/icapps.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/icapps.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/icapps.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/icapps.wordpress.com/203/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=icapps.wordpress.com&amp;blog=9376433&amp;post=203&amp;subd=icapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://icapps.wordpress.com/2011/10/08/viewdidload-vs-init-with-viewcontrollers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/628076e809a5cf2df9f3604421643d45?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">duponol</media:title>
		</media:content>
	</item>
		<item>
		<title>iOS Address Book programming guide (part I)</title>
		<link>http://icapps.wordpress.com/2011/08/26/ios-address-book-programming-guide-part-i/</link>
		<comments>http://icapps.wordpress.com/2011/08/26/ios-address-book-programming-guide-part-i/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 11:58:03 +0000</pubDate>
		<dc:creator>Olivier Scalais</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[Address Book]]></category>
		<category><![CDATA[Contacts]]></category>

		<guid isPermaLink="false">http://icapps.wordpress.com/?p=136</guid>
		<description><![CDATA[The iOS address book programming guide will be discussed in two separate blog posts. In this blog post we will be discussing the standard view controllers provided by Apple for address book interaction. In part two we will be discussing how to programmatically access the address book. Available view controllers The Address Book UI framework [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=icapps.wordpress.com&amp;blog=9376433&amp;post=136&amp;subd=icapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The iOS address book programming guide will be discussed in two separate blog posts. In this blog post we will be discussing the standard view controllers provided by Apple for address book interaction. In part two we will be discussing how to programmatically access the address book.</p>
<h3>Available view controllers</h3>
<p>The Address Book UI framework provides developers with three view controllers and one navigation controller for working with the Address Book database. We can use these view controllers to reduce develop time and to provide a consistent experience to the users.</p>
<p>The four controllers provided by the Address Book UI framework:</p>
<ul>
<li>ABPeoplePickerNavigationController</li>
<li>ABPersonViewController</li>
<li>ABNewPersonViewController</li>
<li>ABUnknownPersonViewController</li>
</ul>
<p><img src="http://img546.imageshack.us/img546/5458/views.jpg" alt="views" width="100%" /></p>
<p>To use these controllers, you must set a delegate for them which implements there appropriate delegate protocols.</p>
<h3>Adding Address Book framework and delegates</h3>
<p>Before we can use these controllers, we need to add the Address Book UI framework to our project. We do this by selecting the ‘build phases’ in our target. Then we select the ‘link binary with libraries’ category. Here we add references to the Address Book and Address Book UI framework.</p>
<p><img src="http://img3.imageshack.us/img3/8623/schermafbeelding2011082e.png" alt="framework" width="75%" align="middle" /></p>
<p>After we add the framework references to our binary, we need to add the framework references and delegate protocols in our header file:</p>
<pre><code><span style="font-size:10px;">#import &lt;UIKit/UIKit.h&gt; #import &lt;AddressBook/AddressBook.h&gt; #import &lt;AddressBookUI/AddressBookUI.h&gt; @interface AddressBookTutorialViewController : UIViewController &lt;ABPeoplePickerNavigationControllerDelegate, ABPersonViewControllerDelegate, ABUnknownPersonViewControllerDelegate, ABNewPersonViewControllerDelegate&gt; { } @end </span></code></pre>
<p>Ok, everything set up? Let’s go!</p>
<h3>ABPeoplePickerNavigationController</h3>
<p>The ABPeoplePickerNavigationController allows users to browse their list of contacts and access their properties.</p>
<p>We can present an ABPeoplePickerNavigationController in a view controller which implements the ABPeoplePickerNavigationControllerDelegate protocol.</p>
<pre><code><span style="font-size:10px;">- (IBAction)presentABPeoplePickerNavigationController { ABPeoplePickerNavigationController *picker = [[ABPeoplePickerNavigationController alloc] init]; [picker setPeoplePickerDelegate:self]; [self presentModalViewController:picker animated:YES]; [picker release]; }</span></code></pre>
<p>The three delegate methods we need to implement are:</p>
<ul>
<li>(void)peoplePickerNavigationControllerDidCancel:(ABPeoplePickerNavigationController *)peoplePicker<em>This method gets called when the user cancels the picker. We dismiss the picker.</em></li>
<li>(BOOL)peoplePickerNavigationController:(ABPeoplePickerNavigationController *)peoplePicker shouldContinueAfterSelectingPerson:(ABRecordRef)person<em>This method gets called when the user selects a person. We now determine if the picker should continue to prompt the user to choose a specific property of the person. If so, we return YES. If not, we return NO and dismiss the picker.</em></li>
<li>(BOOL)peoplePickerNavigationController:(ABPeoplePickerNavigationController *)peoplePicker shouldContinueAfterSelectingPerson:(ABRecordRef)person property:(ABPropertyID)property identifier:(ABMultiValueIdentifier)identifier<em>This method gets called when the user selects a persons property. We now determine if the picker should continue. If we want to perform an action like dialing a phone number, starting a new e-mail, etc. we return YES. If not, we return NO and dismiss the picker.</em></li>
</ul>
<p>An important sidenote is that it’s best to dismiss the picker using animation.</p>
<h3>ABPersonViewController</h3>
<p>The ABPersonViewController is used to present a person to the user.</p>
<p>In order for the ABPersonViewController to function properly, we need to present it in a navigation controller. We can present an ABPersonViewController in a view controller which implements the ABPersonViewControllerDelegate protocol.</p>
<pre><code><span style="font-size:10px;">- (IBAction)presentABPersonViewController { ABPersonViewController *view = [[ABPersonViewController alloc] init]; [view setPersonViewDelegate:self]; [view setDisplayedPerson:person]; // Assume person is already defined. [self.navigationController pushViewController:view animated:YES]; [view release]; } </span></code></pre>
<p>If the user selects a person’s property, the following delegate method gets called:</p>
<ul>
<li>(BOOL)personViewController:(ABPersonViewController *)personViewController shouldPerformDefaultActionForPerson:(ABRecordRef)person property:(ABPropertyID)property identifier:(ABMultiValueIdentifier)identifier<em>This method determines if the default action of the selected property, such as dialing a phone number, should be performed. If we want this behavior we return YES. If not, we return NO and dismiss the controller with animation.</em></li>
</ul>
<h3>ABNewPersonViewController</h3>
<p>The ABNewPersonViewController allows users to create a new person.</p>
<p>New-person view controllers must be used with a navigation controller in order to function properly. It is recommended that you present a new-person view controller modally. We can present a ABNewPersonViewController in a view controller which implements the ABNewPersonViewControllerDelegate protocol.</p>
<pre><code><span style="font-size:10px;">- (IBAction)presentABNewPersonViewController { ABNewPersonViewController *view = [[ABNewPersonViewController alloc] init]; [view setNewPersonViewDelegate:self]; UINavigationController *newNavigationController = [[UINavigationController alloc] initWithRootViewController:view]; [self presentModalViewController:newNavigationController animated:YES]; [view release]; [newNavigationController release]; } </span></code></pre>
<p>When the users taps the save or cancel button the following delegate method is called:</p>
<ul>
<li>(void)newPersonViewController:(ABNewPersonViewController *)newPersonView didCompleteWithNewPerson:(ABRecordRef)person<em>If the user saved, the record will be added to the address book. If the user cancelled, the value of person will be equal to NULL. We dismiss the controller using animation.</em></li>
</ul>
<h3>ABUnknownPersonViewController</h3>
<p>The ABUnknownPersonViewController allows users to add data to an existing person or to create a new person for the data.</p>
<p>Unknown-person view controllers must be used with a navigation controller in order to function properly. We can present an ABUnknownPersonViewController in a view controller which implements the ABUnknownPersonViewControllerDelegate protocol.</p>
<pre><code><span style="font-size:10px;">- (IBAction)presentABNewPersonViewController { ABUnknownPersonViewController *view = [[ABUnknownPersonViewController alloc] init]; [view setUnknownPersonViewDelegate:self]; [view setDisplayedPerson:person]; // Assume person is already defined. [view setAllowsAddingToAddressBook:YES]; [self.navigationController pushViewController:view animated:YES]; [view release]; } </span></code></pre>
<p>When the user finishes creating a new contact or adding the properties to an existing contact, the unknown-person view controller calls the following delegate method:</p>
<ul>
<li>(void)unknownPersonViewController:(ABUnknownPersonViewController *)unknownCardViewController didResolveToPerson:(ABRecordRef)person<em>If the user cancels the value of person is equal to NULL and we dismiss the controller using animation.</em></li>
</ul>
<h3>Conclusion</h3>
<p>This concludes the first part of the iOS Address Book programming guide. We hope you realize that using the standard controllers provided by the Address Book UI Framework saves lots of precious development time. Stay tuned for the second part of this guide where we will be accessing the Address Book programmatically.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/icapps.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/icapps.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/icapps.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/icapps.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/icapps.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/icapps.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/icapps.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/icapps.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/icapps.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/icapps.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/icapps.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/icapps.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/icapps.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/icapps.wordpress.com/136/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=icapps.wordpress.com&amp;blog=9376433&amp;post=136&amp;subd=icapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://icapps.wordpress.com/2011/08/26/ios-address-book-programming-guide-part-i/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1eed23aac4a2faad9e90ab4bacf792cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oli4scalais</media:title>
		</media:content>

		<media:content url="http://img546.imageshack.us/img546/5458/views.jpg" medium="image">
			<media:title type="html">views</media:title>
		</media:content>

		<media:content url="http://img3.imageshack.us/img3/8623/schermafbeelding2011082e.png" medium="image">
			<media:title type="html">framework</media:title>
		</media:content>
	</item>
		<item>
		<title>Code snippets: what they can mean to fasten your development</title>
		<link>http://icapps.wordpress.com/2011/08/15/code-snippets-what-they-can-mean-to-fasten-your-development/</link>
		<comments>http://icapps.wordpress.com/2011/08/15/code-snippets-what-they-can-mean-to-fasten-your-development/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 11:48:53 +0000</pubDate>
		<dc:creator>Nikki Vergracht</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[Code snippets]]></category>

		<guid isPermaLink="false">http://icapps.wordpress.com/?p=117</guid>
		<description><![CDATA[The Code Snippet Library is something many developers forget, but this is native in Xcode and can help you make your development faster. There are certain things that you type everyday more than once (e.g. comment blocks, custom logs, …), things that you most likely just copy over from a few lines above and change [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=icapps.wordpress.com&amp;blog=9376433&amp;post=117&amp;subd=icapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The Code Snippet Library is something many developers forget, but this is native in Xcode and can help you make your development faster.</p>
<p>There are certain things that you type everyday more than once (e.g. comment blocks, custom logs, …), things that you most likely just copy over from a few lines above and change the parameters or the text.</p>
<p>You can do this with copying of course, but you can also use code snippets!</p>
<p>Xcode is already predefined with a bunch of code snippets which you will find in the Code Snippet Library.</p>
<p>If you open Xcode and show the utilities, you will find the predefined code snippets on the bottom right.</p>
<p>It should look like this:</p>
<p><img src="http://img534.imageshack.us/img534/237/screenshot20110814at113.png" alt="Code snippet window" /></p>
<p>If you want to add a custom code snippet, all you have to do is write some code, it doesn’t matter what you write, and drag it to the list of code snippets.</p>
<p>Let’s add an NSLog code snippet to use with a single string parameter. </p>
<p>Write the following code:</p>
<p>NSLog(@&#8221;%@&#8221;,);</p>
<p>The  notation is used whenever you want to specify that the user has to fill in a value. You can name it into whatever you want.</p>
<p>Now drag it to the code snippet list, and the following window will appear:</p>
<p><img src="http://img713.imageshack.us/img713/8734/screenshot20110814at114.png" alt="Edit window" /></p>
<p>Now give your code snippet a title, summary and select the platform and language where you want the code snippet to be used.</p>
<p>After filling these in, give your code snippet a completion shortcut for example “NSSingleLog” so that it will show up when typing for auto-completion in Xcode.</p>
<p><img src="http://img98.imageshack.us/img98/5076/screenshot20110814at115.png" alt="Autocompletion" /></p>
<p>After this choose where you want the code snippet to occur. “Completion scopes”</p>
<p><img src="http://img830.imageshack.us/img830/5076/screenshot20110814at115.png" alt="Completion scope" /></p>
<p>After this is done, you just press “Done” and you have successfully created your first code snippet.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/icapps.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/icapps.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/icapps.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/icapps.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/icapps.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/icapps.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/icapps.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/icapps.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/icapps.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/icapps.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/icapps.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/icapps.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/icapps.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/icapps.wordpress.com/117/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=icapps.wordpress.com&amp;blog=9376433&amp;post=117&amp;subd=icapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://icapps.wordpress.com/2011/08/15/code-snippets-what-they-can-mean-to-fasten-your-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ef9148bf137afbc8785d29ae70a43198?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lewion</media:title>
		</media:content>

		<media:content url="http://img534.imageshack.us/img534/237/screenshot20110814at113.png" medium="image">
			<media:title type="html">Code snippet window</media:title>
		</media:content>

		<media:content url="http://img713.imageshack.us/img713/8734/screenshot20110814at114.png" medium="image">
			<media:title type="html">Edit window</media:title>
		</media:content>

		<media:content url="http://img98.imageshack.us/img98/5076/screenshot20110814at115.png" medium="image">
			<media:title type="html">Autocompletion</media:title>
		</media:content>

		<media:content url="http://img830.imageshack.us/img830/5076/screenshot20110814at115.png" medium="image">
			<media:title type="html">Completion scope</media:title>
		</media:content>
	</item>
		<item>
		<title>Xcode crashes after installing Lion</title>
		<link>http://icapps.wordpress.com/2011/07/24/xcode-crashes-after-installing-lion/</link>
		<comments>http://icapps.wordpress.com/2011/07/24/xcode-crashes-after-installing-lion/#comments</comments>
		<pubDate>Sun, 24 Jul 2011 08:31:46 +0000</pubDate>
		<dc:creator>Olivier Dupont</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://icapps.wordpress.com/?p=114</guid>
		<description><![CDATA[I recently upgraded to Lion and installed Xcode 4.0.2. From then on Xcode fails to launch with almost every time the same error message: Couldn&#8217;t load plug-in &#8216;com.apple.dt.IDE.IDEiPhoneSupport. A quick look around on Apple Support Forums gave me the next solution: The key problem is that your Itunes installation is missing a key component. So [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=icapps.wordpress.com&amp;blog=9376433&amp;post=114&amp;subd=icapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently upgraded to Lion and installed Xcode 4.0.2.  From then on Xcode fails to launch with almost every time the same error message: <strong>Couldn&#8217;t load plug-in &#8216;com.apple.dt.IDE.IDEiPhoneSupport</strong>.</p>
<p>A quick look around on Apple Support Forums gave me the next solution:</p>
<p><em>The key problem is that your Itunes installation is missing a key component. So we need to reinstall it.<br />
1) Close Itunes<br />
2) Use Activity Monitor to stop the ItunesHelper process.     Important!<br />
3) Download Itunes from http://www.apple.com/itunes/download/<br />
4) Install Itunes once it finishes downloading.</em></p>
<p>Done!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/icapps.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/icapps.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/icapps.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/icapps.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/icapps.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/icapps.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/icapps.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/icapps.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/icapps.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/icapps.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/icapps.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/icapps.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/icapps.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/icapps.wordpress.com/114/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=icapps.wordpress.com&amp;blog=9376433&amp;post=114&amp;subd=icapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://icapps.wordpress.com/2011/07/24/xcode-crashes-after-installing-lion/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/628076e809a5cf2df9f3604421643d45?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">duponol</media:title>
		</media:content>
	</item>
		<item>
		<title>Blue screen when upgrading to Lion</title>
		<link>http://icapps.wordpress.com/2011/07/23/blue-screen-when-upgrading-to-lion/</link>
		<comments>http://icapps.wordpress.com/2011/07/23/blue-screen-when-upgrading-to-lion/#comments</comments>
		<pubDate>Sat, 23 Jul 2011 18:02:51 +0000</pubDate>
		<dc:creator>Olivier Dupont</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://icapps.wordpress.com/?p=105</guid>
		<description><![CDATA[Today I updated my iMac and MacBook Pro to Lion. The upgrade on my iMac went ok without any problems and after 40 minutes the job was already done. On my MacBook Pro however things went not the way the supposed too. After the first reboot I got a blue screen (not windows like) and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=icapps.wordpress.com&amp;blog=9376433&amp;post=105&amp;subd=icapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img src="http://icapps.files.wordpress.com/2011/07/mac-os-x-lion-review.jpg?w=300&#038;h=224" alt="" title="Mac-OS-X-Lion-review" width="300" height="224" class="aligncenter size-medium wp-image-107" /></p>
<p>Today I updated my iMac and MacBook Pro to Lion.  The upgrade on my iMac went ok without any problems and after 40 minutes the job was already done.</p>
<p>On my MacBook Pro however things went not the way the supposed too.  After the first reboot I got a blue screen (not windows like) and a progress indicator that seemed to stay forever.  After half an hour I pressed the power button for several seconds so I could reboot my MacBook.  This gave me some progress, a Disk Utility Tool fired up with several choices.  I had no clue what to choose so I first tried to &#8220;Repair Disk&#8221; but that gave no solution.</p>
<p>Seeing I was prepared (backup in time machine form night before), I choose to reinstall Lion.  After 50 minutes the job was done and I could login into Lion.  After a short inspection everything seemed to be ok, all files and folders where still in place and since then on I&#8217;m running without any problems.</p>
<p>I noticed already one thing: the iPhone Configuration Utility was missing, I had this installed with Snow Leopard.  I downloaded it again from the <a href="http://support.apple.com/kb/dl851" title="Apple Support Website" target="_blank">Apple Support Website</a> and installed it without any problems.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/icapps.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/icapps.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/icapps.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/icapps.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/icapps.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/icapps.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/icapps.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/icapps.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/icapps.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/icapps.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/icapps.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/icapps.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/icapps.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/icapps.wordpress.com/105/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=icapps.wordpress.com&amp;blog=9376433&amp;post=105&amp;subd=icapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://icapps.wordpress.com/2011/07/23/blue-screen-when-upgrading-to-lion/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/628076e809a5cf2df9f3604421643d45?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">duponol</media:title>
		</media:content>

		<media:content url="http://icapps.files.wordpress.com/2011/07/mac-os-x-lion-review.jpg?w=300" medium="image">
			<media:title type="html">Mac-OS-X-Lion-review</media:title>
		</media:content>
	</item>
		<item>
		<title>CoreGraphics: some basic functions</title>
		<link>http://icapps.wordpress.com/2011/07/21/coregraphics-some-basic-functions/</link>
		<comments>http://icapps.wordpress.com/2011/07/21/coregraphics-some-basic-functions/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 14:50:51 +0000</pubDate>
		<dc:creator>Kéké Dandois</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[CoreGraphics]]></category>
		<category><![CDATA[gradient]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://icapps.wordpress.com/?p=75</guid>
		<description><![CDATA[So you&#8217;re an iOS developer who can make apps. But sometimes you hit a snag when you need to apply graphics to your application but you don&#8217;t want to rely on images. There is a solution for that: CoreGraphics. CoreGraphics is a library available in the iOS SDK which brings custom drawing to the table. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=icapps.wordpress.com&amp;blog=9376433&amp;post=75&amp;subd=icapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So you&#8217;re an iOS developer who can make apps. But sometimes you hit a snag when you need to apply graphics to your application but you don&#8217;t want to rely on images.</p>
<p>There is a solution for that: <strong>CoreGraphics</strong>.</p>
<p>CoreGraphics is a library available in the iOS SDK which brings custom drawing to the table. It allows you to do all kinds of advanced stuff, but we will cover 2 basic functions here.</p>
<p>The easiest way to apply coreGraphics in your view is to apply this in your drawRect function.</p>
<p><code><span style="color:#c0c0c0;">- (void) drawRect</span><br />
<span style="color:#c0c0c0;"> {</span><br />
<span style="color:#c0c0c0;"> }</span><br />
</code></p>
<p>Simple things first, lets draw a line:</p>
<p><span style="color:#999999;"><code>- (void) drawRect<br />
{<br />
// get the current context<br />
CGContextRef currenctContext = UIGraphicsGetCurrentContext();</code></span></p>
<p><span style="color:#999999;">// set our color to black, for the drawing</span><br />
<span style="color:#999999;"> [[UIColor blackColor] set];</span></p>
<p><span style="color:#999999;">// set the width</span><br />
<span style="color:#999999;"> CGContextSetLineWidth(currenctContext, 1.0f);</span></p>
<p><span style="color:#999999;">// set how the lines will join</span><br />
<span style="color:#999999;"> CGContextSetLineJoin(currenctContext,kCGLineJoinRound);</span></p>
<p><span style="color:#999999;">//startPoint</span><br />
<span style="color:#999999;"> CGContextMoveToPoint(currenctContext, 0, 0);</span></p>
<p><span style="color:#999999;">//draw the top line</span><br />
<span style="color:#999999;"> CGContextAddLineToPoint(currenctContext, self.frame.size.width, 0);</span></p>
<p><span style="color:#999999;">//right line</span><br />
<span style="color:#999999;"> CGContextAddLineToPoint(currenctContext, self.frame.size.width, self.frame.size.height);</span></p>
<p><span style="color:#999999;">//bottom line</span><br />
<span style="color:#999999;"> CGContextAddLineToPoint(currenctContext, 0, self.frame.size.height);</span></p>
<p><span style="color:#999999;">//left line</span><br />
<span style="color:#999999;"> CGContextAddLineToPoint(currenctContext, 0, 0);</span></p>
<p><span style="color:#999999;">CGContextStrokePath(currenctContext);</span></p>
<p><span style="color:#999999;">}</span></p>
<p>So what are we doing here? We are drawing a square around the border of our view. To do this we need to get the current context of the view first.</p>
<p><span style="color:#c0c0c0;">CGContextRef currenctContext = UIGraphicsGetCurrentContext();</span></p>
<p>After that we set our drawing color to black and we set how we will draw the line in its specific context. In this case it&#8217;s a line with a thickness of 1 pixel and the point where the lines join they will round themselves. </p>
<p>// set our color to black, for the drawing<br />
<span style="color:#c0c0c0;">[[UIColor blackColor] set];</span></p>
<p>// set the width<br />
<span style="color:#c0c0c0;">CGContextSetLineWidth(currenctContext, 1.0f);</span></p>
<p>// set how the lines will join<br />
<span style="color:#c0c0c0;">CGContextSetLineJoin(currenctContext,kCGLineJoinRound);</span></p>
<p>Next we move to the point in the context where we want to start the drawing. And from there one we start drawing the lines.</p>
<p><span style="color:#c0c0c0;">CGContextMoveToPoint(currenctContext, 0, 0);</span></p>
<p><span style="color:#c0c0c0;">CGContextAddLineToPoint(currenctContext, self.frame.size.width, 0);</span></p>
<p>After all that we will execute &#8220;strokePath&#8221; to commit what we&#8217;ve done to our context.</p>
<p><span style="color:#c0c0c0;">CGContextStrokePath(currenctContext);</span></p>
<p>Ok, on to the next example. We want to add a gradient to a view we have. It&#8217;s not that hard when you got an example:</p>
<p><code><br />
<span style="color:#c0c0c0;">- (void)drawRect:(CGRect)rect {</span></code></p>
<p><span style="color:#c0c0c0;">// get the context</span><br />
<span style="color:#c0c0c0;"> CGContextRef context = UIGraphicsGetCurrentContext();</span><br />
<span style="color:#c0c0c0;"> // set the fill color</span><br />
<span style="color:#c0c0c0;"> CGContextSetFillColor(context, CGColorGetComponents( [UIColor redColor]));</span><br />
<span style="color:#c0c0c0;"> // fill the whole view with the color</span><br />
<span style="color:#c0c0c0;"> CGContextFillRect(context, rect);</span></p>
<p><span style="color:#c0c0c0;">// the gradient</span><br />
<span style="color:#c0c0c0;"> CGGradientRef glossGradient;</span><br />
<span style="color:#c0c0c0;"> // create the colorspace</span><br />
<span style="color:#c0c0c0;"> CGColorSpaceRef rgbColorspace;</span><br />
<span style="color:#c0c0c0;"> // there are 2 locations where we start with a new color</span><br />
<span style="color:#c0c0c0;"> size_t num_locations = 2;</span><br />
<span style="color:#c0c0c0;"> // where they are</span><br />
<span style="color:#c0c0c0;"> CGFloat locations[2] = { 0.0, 1.0 };</span><br />
<span style="color:#c0c0c0;"> // the colors we are going to use</span><br />
<span style="color:#c0c0c0;"> CGFloat components[8] = { 1.0, 1.0, 1.0, 0.7, // Start color</span><br />
<span style="color:#c0c0c0;"> 1.0, 1.0, 1.0, 0.06 }; // End color</span></p>
<p><span style="color:#c0c0c0;">// use the device colors</span><br />
<span style="color:#c0c0c0;"> rgbColorspace = CGColorSpaceCreateDeviceRGB();</span><br />
<span style="color:#c0c0c0;"> // create the gradient with these parameters</span><br />
<span style="color:#c0c0c0;"> glossGradient = CGGradientCreateWithColorComponents(rgbColorspace, components, locations, num_locations);</span></p>
<p><span style="color:#c0c0c0;">// get our screensize</span><br />
<span style="color:#c0c0c0;"> CGRect currentBounds = self.bounds;</span><br />
<span style="color:#c0c0c0;"> // the point from where we start drawing</span><br />
<span style="color:#c0c0c0;"> CGPoint topCenter = CGPointMake(CGRectGetMidX(currentBounds), 0.0f);</span><br />
<span style="color:#c0c0c0;"> // the point where we switch te color</span><br />
<span style="color:#c0c0c0;"> CGPoint midCenter = CGPointMake(CGRectGetMidX(currentBounds), CGRectGetMidY(currentBounds));</span><br />
<span style="color:#c0c0c0;"> // finaly draw it</span><br />
<span style="color:#c0c0c0;"> CGContextDrawLinearGradient(context, glossGradient, topCenter, midCenter, 0);</span></p>
<p><span style="color:#c0c0c0;">// release your stuff</span><br />
<span style="color:#c0c0c0;"> CGGradientRelease(glossGradient);</span><br />
<span style="color:#c0c0c0;"> CGColorSpaceRelease(rgbColorspace);</span></p>
<p><span style="color:#c0c0c0;">}</span></p>
<p>So we created a red view and on top of that we draw the gradient.</p>
<p><span style="color:#c0c0c0;">CGContextSetFillColor(context, CGColorGetComponents( [UIColor redColor]));</span><br />
// fill the whole view with the color<br />
<span style="color:#c0c0c0;">CGContextFillRect(context, rect);</span></p>
<p>// the gradient<br />
<span style="color:#c0c0c0;">CGGradientRef glossGradient;</span></p>
<p>The gradient consists of 2 colors (locations and num_locations), but if you want you can define more.<br />
In the components we define the 2 colors:</p>
<p><span style="color:#c0c0c0;">CGFloat components[8] = { 1.0, 1.0, 1.0, 0.7, // Start color</span><br />
<span style="color:#c0c0c0;"> 1.0, 1.0, 1.0, 0.06 }; // End color</span></p>
<p>For the colors we will use the default RGB colors available on our device. After we created the gradient we will define positions.</p>
<p>// use the device colors<br />
<span style="color:#c0c0c0;">rgbColorspace = CGColorSpaceCreateDeviceRGB();</span><br />
// create the gradient with these parameters<br />
<span style="color:#c0c0c0;">glossGradient = CGGradientCreateWithColorComponents(rgbColorspace, components, locations, num_locations);</span></p>
<p>The first position is a point on top of you screen from where you will draw your first color. The second position is halfway the screen where you will draw the second color. These 2 colors will give the impression that there is a gradient.</p>
<p><span style="color:#c0c0c0;">CGPoint topCenter = CGPointMake(CGRectGetMidX(currentBounds), 0.0f);</span><br />
// the point where we switch the color<br />
<span style="color:#c0c0c0;">CGPoint midCenter = CGPointMake(CGRectGetMidX(currentBounds), CGRectGetMidY(currentBounds));</span></p>
<p>Draw everything on the context, release it and we are done.</p>
<p><span style="color:#c0c0c0;">CGContextDrawLinearGradient(context, glossGradient, topCenter, midCenter, 0);</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/icapps.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/icapps.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/icapps.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/icapps.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/icapps.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/icapps.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/icapps.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/icapps.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/icapps.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/icapps.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/icapps.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/icapps.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/icapps.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/icapps.wordpress.com/75/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=icapps.wordpress.com&amp;blog=9376433&amp;post=75&amp;subd=icapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://icapps.wordpress.com/2011/07/21/coregraphics-some-basic-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/22f76ba896773ff4318b12d11ce00f76?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kekedandois</media:title>
		</media:content>
	</item>
		<item>
		<title>iCapps Breakfast Session 2011</title>
		<link>http://icapps.wordpress.com/2011/07/06/icapps-breakfast-session-2011/</link>
		<comments>http://icapps.wordpress.com/2011/07/06/icapps-breakfast-session-2011/#comments</comments>
		<pubDate>Wed, 06 Jul 2011 09:09:23 +0000</pubDate>
		<dc:creator>Kéké Dandois</dc:creator>
				<category><![CDATA[iCapps]]></category>

		<guid isPermaLink="false">http://icapps.wordpress.com/?p=70</guid>
		<description><![CDATA[Subscribe now!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=icapps.wordpress.com&amp;blog=9376433&amp;post=70&amp;subd=icapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.icapps.be/breakfast/registration.html" target="_blank">Subscribe now!</a></p>
<p><img class="aligncenter" src="http://www.icapps.be/breakfast/index_files/breakfast.jpg" alt="" width="598" height="741" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/icapps.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/icapps.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/icapps.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/icapps.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/icapps.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/icapps.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/icapps.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/icapps.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/icapps.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/icapps.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/icapps.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/icapps.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/icapps.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/icapps.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=icapps.wordpress.com&amp;blog=9376433&amp;post=70&amp;subd=icapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://icapps.wordpress.com/2011/07/06/icapps-breakfast-session-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/22f76ba896773ff4318b12d11ce00f76?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kekedandois</media:title>
		</media:content>

		<media:content url="http://www.icapps.be/breakfast/index_files/breakfast.jpg" medium="image" />
	</item>
		<item>
		<title>We attended the iPhone Tech Talk Paris World Tour</title>
		<link>http://icapps.wordpress.com/2009/12/01/we-attended-the-iphone-tech-talk-paris-world-tour/</link>
		<comments>http://icapps.wordpress.com/2009/12/01/we-attended-the-iphone-tech-talk-paris-world-tour/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 16:16:12 +0000</pubDate>
		<dc:creator>Niels Leunen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://icapps.wordpress.com/?p=49</guid>
		<description><![CDATA[This post comes a little late but we first had to focus on the release of the Solo Open Kitchen app for iPhone! The 9th of November we attended the iPhone Tech Talk! Were we the only Belgians there? We already arrived in Paris on Sunday evening (8 November). As my colleague Olivier had never [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=icapps.wordpress.com&amp;blog=9376433&amp;post=49&amp;subd=icapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post comes a little late but we first had to focus on the release of the Solo Open Kitchen app for iPhone!</p>
<p>The 9th of November we attended the iPhone Tech Talk! Were we the only Belgians there?</p>
<p>We already arrived in Paris on Sunday evening (8 November). As my colleague Olivier had never been in Paris before, we visited the most important things like the &#8220;Eiffel Tower&#8221; and the &#8220;Louvre&#8221;. Even it was already 9 o&#8217;clock in the evening, the &#8220;Louvre&#8221; was still open for visitors. This was strange&#8230; So we entered the building and wandered around. But what a coincidence!!! The biggest Apple Store in Europe just opened the day before, and this store is located in the &#8220;Louvre&#8221;!!! It was a beautiful, fancy store. Our Paris trip was already a success <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Monday morning we arrived at the buildings where the iPhone Tech talk took place. It was a typically French building with nothing &#8220;Apple like&#8221; to attract the attention from the outside. Also inside it was very sober. Let&#8217;s say that everything (food, drinks, &#8230;) was correct but not the big Apple thing you&#8217;d expect. Bummer&#8230; no Apple gadgets for today.</p>
<p>Now the first (introduction) session was a session that was intended for everybody. Witness the first minute over here&#8230;</p>
<span style="text-align:center; display: block;"><a href="http://icapps.wordpress.com/2009/12/01/we-attended-the-iphone-tech-talk-paris-world-tour/"><img src="http://img.youtube.com/vi/AWqEXeo8kE0/2.jpg" alt="" /></a></span>
<p>After that, we split, so we could follow as much sessions as possible. I will list out the sessions that we attended:</p>
<p>- Effective iPhone app Development (2 sessions)<br />
- iPhone interface Design Essentials<br />
- Adding In App Purchase to your App<br />
- Integrating Web Content into iPhone Apps<br />
- Testing and Debugging Your iPhone Application<br />
- Finding Your Way with Location and Maps<br />
- Implementing Push Notification</p>
<p>Let me say that all these sessions were very interesting ! We learned a lot.</p>
<p>There is one thing they told in the &#8220;iPhone interface Design Essentials&#8221; that I like to share with you:<strong> Invest in your App icon !!! </strong>It is &#8220;the&#8221; first impression of your iPhone App.<br />
- People should immediately understand what your application is about<br />
- Your icon should be beautifull, attractive, inviting, &#8230;<br />
- If you don&#8217;t have the skills to design a good icon, spend some money on it !</p>
<p>And maybe one other thing from the &#8220;Testing and Debugging Your iPhone Application&#8221;&#8230; Upgrade your Mac to Snow Leopard and<strong> use the Static Analyzer t</strong>hat is available in Xcode ! It will help you find all code flaws.</p>
<p>After this long day, we enjoyed a lovely wine and cheese reception !</p>
<p>If you want some more information on a specific topic, don&#8217;t hesitate to contact me at niels.leunen@me.com !</p>
<p>You can find some pictures of our trip on <a href="http://www.facebook.com/pages/iCapps/161306540926?ref=ts" target="_blank">facebook</a> !</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/icapps.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/icapps.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/icapps.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/icapps.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/icapps.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/icapps.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/icapps.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/icapps.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/icapps.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/icapps.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/icapps.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/icapps.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/icapps.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/icapps.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=icapps.wordpress.com&amp;blog=9376433&amp;post=49&amp;subd=icapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://icapps.wordpress.com/2009/12/01/we-attended-the-iphone-tech-talk-paris-world-tour/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bdbf809029770cb1766db4305fb384e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Niels Leunen</media:title>
		</media:content>
	</item>
	</channel>
</rss>
