<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6648890339623102499</id><updated>2024-09-21T20:55:50.451-07:00</updated><title type='text'>Random Thoughts</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.valmikam.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6648890339623102499/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://www.valmikam.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6648890339623102499.post-986321451909998101</id><published>2011-09-10T18:22:00.000-07:00</published><updated>2011-09-10T18:22:13.765-07:00</updated><title type='text'>How to load a custom RootViewController in a NavigationController via XIB</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;This is basically an addendum to my previous post&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; line-height: 20px;&quot;&gt;&lt;a href=&quot;http://www.valmikam.com/2011/09/add-uinavigatorcontroller-ui-and-load.html&quot;&gt;Add a UINavigatorController UI and load from XIB in an empty (single window) iOS App&lt;/a&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; line-height: 20px;&quot;&gt;Once you have a base or customized UINavigationController loaded via XIB, you might want to load a custom UIViewController into that Navigation Controller. This is actually very simple.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; line-height: 20px;&quot;&gt;First write a custom UIViewController via the normal Objective-C derivation process. I am not going into that detail. Let&#39;s say, you call it, &lt;b&gt;RootViewController&lt;/b&gt;.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; line-height: 20px;&quot;&gt;Now, you just need to select the View Controller object in the tree under Navigation Controller. See below:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDDfosA8FcUWqfAmW5M4zxIJuSDwLCt4TMhA2BhU4-gll8vMWxzYS8JV_eAyVCxv1gm5YhUls1sVU4xgUGGOdyOujJg5HS-GLuPFXBgMKI0R-axup7ZBg18D99w219B3IS5JYt95oIm7ri/s1600/Screen+Shot+2011-09-10+at+9.13.20+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDDfosA8FcUWqfAmW5M4zxIJuSDwLCt4TMhA2BhU4-gll8vMWxzYS8JV_eAyVCxv1gm5YhUls1sVU4xgUGGOdyOujJg5HS-GLuPFXBgMKI0R-axup7ZBg18D99w219B3IS5JYt95oIm7ri/s1600/Screen+Shot+2011-09-10+at+9.13.20+PM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; line-height: 20px;&quot;&gt;Now, in the Identity inspector, set the class to &lt;b&gt;RootViewController&lt;/b&gt;. See below.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb0itaRJybX9sJQo4To9gO_428-d3hJyMf2EWQrr-vBiZpyk6R6OyDpDl2xckGsuGVxQ00XARFmkMA530QgX1wqlqEyskEJL1_fCG67yVFrXJkUs_unK89E9pKZrL7SV8UpGG_5RdoRous/s1600/Screen+Shot+2011-09-10+at+9.13.35+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb0itaRJybX9sJQo4To9gO_428-d3hJyMf2EWQrr-vBiZpyk6R6OyDpDl2xckGsuGVxQ00XARFmkMA530QgX1wqlqEyskEJL1_fCG67yVFrXJkUs_unK89E9pKZrL7SV8UpGG_5RdoRous/s1600/Screen+Shot+2011-09-10+at+9.13.35+PM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 20px;&quot;&gt;That&#39;s it. Now if you build and run, iOS automatically creates an instance of your customized RootViewController class and load it up in the Navigation Controller.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 20px;&quot;&gt;It&#39;s that simple.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.valmikam.com/feeds/986321451909998101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6648890339623102499/986321451909998101' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6648890339623102499/posts/default/986321451909998101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6648890339623102499/posts/default/986321451909998101'/><link rel='alternate' type='text/html' href='http://www.valmikam.com/2011/09/how-to-load-custom-rootviewcontroller.html' title='How to load a custom RootViewController in a NavigationController via XIB'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDDfosA8FcUWqfAmW5M4zxIJuSDwLCt4TMhA2BhU4-gll8vMWxzYS8JV_eAyVCxv1gm5YhUls1sVU4xgUGGOdyOujJg5HS-GLuPFXBgMKI0R-axup7ZBg18D99w219B3IS5JYt95oIm7ri/s72-c/Screen+Shot+2011-09-10+at+9.13.20+PM.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6648890339623102499.post-625027118930381452</id><published>2011-09-10T17:37:00.001-07:00</published><updated>2011-09-10T17:37:47.560-07:00</updated><title type='text'>Add a UINavigatorController UI and load from XIB in an empty (single window) iOS App.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
There are a zillion tutorials out there that do this. However, some of them got outdated a bit due to iOS 5 changes and some of them do not really focus on UINavigationController. So this is my attempt to go through the motions:&lt;br /&gt;
&lt;br /&gt;
The goal:&lt;br /&gt;
&lt;br /&gt;
Create an empty (single window app) and load up a customized UINavigationController class via a XIB.&lt;br /&gt;
&lt;br /&gt;
Why?&lt;br /&gt;
&lt;br /&gt;
Many times, you want to customize the crap out of&amp;nbsp;UINavigationController&amp;nbsp;and somehow Apple does not give enough flexibility in the API. &amp;nbsp;For example, you cannot create a customized UINavigationBar in a customized&amp;nbsp;UINavigationController&amp;nbsp;via the API.&lt;br /&gt;
&lt;br /&gt;
However, if you load up the customized UINavigationController (let&#39;s call it MyNavigationController) from XIB, you could attach a customized UINavigationBar to your NavigationController.&lt;br /&gt;
&lt;br /&gt;
Weird? May be, I don&#39;t know enough to say yes or no.&lt;br /&gt;
&lt;br /&gt;
Let&#39;s just get on with it.&lt;br /&gt;
&lt;br /&gt;
Step 1: Create a brand new project with an empty app. Call it &quot;TestApp&quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhL2UCmZOTNsmCZ9E8-7Pcju0MywKLqQhiDrckbU1HWkuxRsQsUGEVrvRbYfPd4TKz47pFl8YpQa6mG7-SIkBcr44ZbN8ANIdOk-gCojr4yuibTGmvJWAQghzlJOiC9cz3gof-iDomEU_K/s1600/Screen+Shot+2011-09-10+at+7.57.23+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhL2UCmZOTNsmCZ9E8-7Pcju0MywKLqQhiDrckbU1HWkuxRsQsUGEVrvRbYfPd4TKz47pFl8YpQa6mG7-SIkBcr44ZbN8ANIdOk-gCojr4yuibTGmvJWAQghzlJOiC9cz3gof-iDomEU_K/s1600/Screen+Shot+2011-09-10+at+7.57.23+PM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBYLJrr9t3dAt4NcMPhlkc0Idm_FozS5JNPcmaIxqlIWLpFe4PzD5HJH6MyT_cxOAfiDEPv1Q26SySHRac7K9zXXLmDVSQYAldVpsqjPDOmIzLbKJC77rHLzB4dqHkKneSfNN9zCyZF-wB/s1600/Screen+Shot+2011-09-10+at+7.58.31+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBYLJrr9t3dAt4NcMPhlkc0Idm_FozS5JNPcmaIxqlIWLpFe4PzD5HJH6MyT_cxOAfiDEPv1Q26SySHRac7K9zXXLmDVSQYAldVpsqjPDOmIzLbKJC77rHLzB4dqHkKneSfNN9zCyZF-wB/s1600/Screen+Shot+2011-09-10+at+7.58.31+PM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
2. Build and run the app, if you want. You will see a single window app with nothing in it.&lt;br /&gt;
&lt;br /&gt;
3. From file menu, choose &quot;New File&quot; and create UIViewController subclass. Name the class MyNavigationController and base class &quot;UINavigationController&quot;. Check the &#39;With XIB ..&#39; option. This will create 3 new files for you. MyNavigationController.[m,h,xib].&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI5flnt6mz9sNcyIevxcVQAPUY52qIielFHZ4kbLIERadZHs5bUVfmVN9LVAcZMOe4qSgZAD6hdmMyuZAVJwFyTJSDp2sFpmsQLc8Mr_kFsyeQLjrGvRYvPW4rHS5MRJ6hx9DB6FrjXtdr/s1600/Screen+Shot+2011-09-10+at+8.01.12+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI5flnt6mz9sNcyIevxcVQAPUY52qIielFHZ4kbLIERadZHs5bUVfmVN9LVAcZMOe4qSgZAD6hdmMyuZAVJwFyTJSDp2sFpmsQLc8Mr_kFsyeQLjrGvRYvPW4rHS5MRJ6hx9DB6FrjXtdr/s1600/Screen+Shot+2011-09-10+at+8.01.12+PM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlTao5Wqc_T9-UtLp2Y57uvS4EgStUND9UPpwLQCjjoGvdL7SPKH9QHkuHpzVqFORpRrY8Nkv0llh7y6KnPF_HMpNoD9TcbzN8P_PTP8ur-unrXnqZqHPP2SjXuM5d2rAI6am6AeotPI5C/s1600/uiviewcontroller.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlTao5Wqc_T9-UtLp2Y57uvS4EgStUND9UPpwLQCjjoGvdL7SPKH9QHkuHpzVqFORpRrY8Nkv0llh7y6KnPF_HMpNoD9TcbzN8P_PTP8ur-unrXnqZqHPP2SjXuM5d2rAI6am6AeotPI5C/s1600/uiviewcontroller.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
4. Edit and fix the XIB. Remove the &quot;View&quot; from it and add a &quot;Navigation Controller&quot; object from the library.&lt;br /&gt;
&lt;br /&gt;
Before you fix, it looks like this:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguTAvvuF347aIZ3xdhFl6Mt7pVXXxLglQUPJl4EQlgy3uJP1hAqLcmJwRTyWHQRLhIN_cEXwYes5dJUiFiDOLpRQDHvjraPlXIQINkt8rK9BnXUEv87scV-5834L1QVLPG9dIOF9c77b6q/s1600/newxib.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguTAvvuF347aIZ3xdhFl6Mt7pVXXxLglQUPJl4EQlgy3uJP1hAqLcmJwRTyWHQRLhIN_cEXwYes5dJUiFiDOLpRQDHvjraPlXIQINkt8rK9BnXUEv87scV-5834L1QVLPG9dIOF9c77b6q/s1600/newxib.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
After you fix it, it should look like this:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMjfMEfpCrz_PVKYluSKOxaBH6sf9NzQ1zFW3HczxyLFBnRxFHkcXMHYjivOkkAm8uf6ZtsL08uWdSJiGazEfMV-Su1PMGC71OGn5s48vfZthO_hZN8Quxr_5u1G4cn6rwuQtUujrPuNAF/s1600/fixedxib+copy.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMjfMEfpCrz_PVKYluSKOxaBH6sf9NzQ1zFW3HczxyLFBnRxFHkcXMHYjivOkkAm8uf6ZtsL08uWdSJiGazEfMV-Su1PMGC71OGn5s48vfZthO_hZN8Quxr_5u1G4cn6rwuQtUujrPuNAF/s1600/fixedxib+copy.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
5. Go ahead and add anything else you want in this view. For example, my view looks like this:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoZo1z7VTna8G43Dg8rPIaSH77RrEBRxWFIDbHNsB79ht9muhTfjiQK-DQL0tVoZz58T3RX3ynDk9Ruubc9OYtNngVhxFAlUFDEJaP3oR7rqennaJeylIcfh10PxFEKKw9nb-hzbejmvLb/s1600/Screen+Shot+2011-09-10+at+8.16.25+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoZo1z7VTna8G43Dg8rPIaSH77RrEBRxWFIDbHNsB79ht9muhTfjiQK-DQL0tVoZz58T3RX3ynDk9Ruubc9OYtNngVhxFAlUFDEJaP3oR7rqennaJeylIcfh10PxFEKKw9nb-hzbejmvLb/s320/Screen+Shot+2011-09-10+at+8.16.25+PM.png&quot; width=&quot;219&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzmqCtAAxiaclCFB0I9-bPZ5vsvAtcl_G2pwsJmN0daCSkTMtisnTQ1yHJLp2yxtIZL0sxDX1dKM3cTMYkCjcnckAXK33tN4-YPJMrLf5opd9GYWj8-Nh6hdpZZV1Wp0Om_IkJqqz2R2rm/s1600/updatedxib+copy.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzmqCtAAxiaclCFB0I9-bPZ5vsvAtcl_G2pwsJmN0daCSkTMtisnTQ1yHJLp2yxtIZL0sxDX1dKM3cTMYkCjcnckAXK33tN4-YPJMrLf5opd9GYWj8-Nh6hdpZZV1Wp0Om_IkJqqz2R2rm/s1600/updatedxib+copy.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
6. &amp;nbsp;Update the Class name for File&#39;s owner to MyNavigationController:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQZmRj_xBVQHBA_83HaaVyKJqusZspC-ynm_ZX7vlxkK3CjoSaKF1-FskeJRO2TUTflje__l_qoJhQEoYMUfdhtXpDgD4osuBaAaUPJOzYavomXobKGJvYbhCmrSTNrV1IM6mThlM5LtC0/s1600/Screen+Shot+2011-09-10+at+8.23.29+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQZmRj_xBVQHBA_83HaaVyKJqusZspC-ynm_ZX7vlxkK3CjoSaKF1-FskeJRO2TUTflje__l_qoJhQEoYMUfdhtXpDgD4osuBaAaUPJOzYavomXobKGJvYbhCmrSTNrV1IM6mThlM5LtC0/s1600/Screen+Shot+2011-09-10+at+8.23.29+PM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQbGzb5cVXN-LYvy5v8sV1PLNsZYhAObydTiSJAuS8nF12zL9oTFWTDbBxBRUnqrEkKaPjAwcMY9_mRDzgoRfufq-LZAuLVcXJYAE0p6UBRS3PNB1eW0gD13jcegIHxjQbEEGa2akBJFum/s1600/Screen+Shot+2011-09-10+at+8.23.42+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQbGzb5cVXN-LYvy5v8sV1PLNsZYhAObydTiSJAuS8nF12zL9oTFWTDbBxBRUnqrEkKaPjAwcMY9_mRDzgoRfufq-LZAuLVcXJYAE0p6UBRS3PNB1eW0gD13jcegIHxjQbEEGa2akBJFum/s1600/Screen+Shot+2011-09-10+at+8.23.42+PM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
7. Update the Nib name and class name for Navigation&amp;nbsp;Controller&amp;nbsp;object.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMjfMEfpCrz_PVKYluSKOxaBH6sf9NzQ1zFW3HczxyLFBnRxFHkcXMHYjivOkkAm8uf6ZtsL08uWdSJiGazEfMV-Su1PMGC71OGn5s48vfZthO_hZN8Quxr_5u1G4cn6rwuQtUujrPuNAF/s1600/fixedxib+copy.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMjfMEfpCrz_PVKYluSKOxaBH6sf9NzQ1zFW3HczxyLFBnRxFHkcXMHYjivOkkAm8uf6ZtsL08uWdSJiGazEfMV-Su1PMGC71OGn5s48vfZthO_hZN8Quxr_5u1G4cn6rwuQtUujrPuNAF/s1600/fixedxib+copy.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqHB3GrlC3PC2FlLMJmpgXdTaZOtvsdzukRramz1-BWDmwK6UQomsCd53yp-hjzNhck1RrDtdqogqVLgjXGL2I-f6nj4zb0l0lgy6LSWqCpGq8nUkgEzGB8_ZTedWi8-z3wKctk2TlRWcS/s1600/updateclassname.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqHB3GrlC3PC2FlLMJmpgXdTaZOtvsdzukRramz1-BWDmwK6UQomsCd53yp-hjzNhck1RrDtdqogqVLgjXGL2I-f6nj4zb0l0lgy6LSWqCpGq8nUkgEzGB8_ZTedWi8-z3wKctk2TlRWcS/s1600/updateclassname.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsMPYlsPre7q2OPI-BYLPMP_Q5yGVyp17LKEnQgKHoCll1R0hk_rn39v89KrhH-IUDp755DAP1zQ_Jk1pT1SnenLCWyvhNwRlmCq8pXej16hrnS39VKMIETOFM5T2_xCQFmt5IDVw8RFI1/s1600/updatenibname.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsMPYlsPre7q2OPI-BYLPMP_Q5yGVyp17LKEnQgKHoCll1R0hk_rn39v89KrhH-IUDp755DAP1zQ_Jk1pT1SnenLCWyvhNwRlmCq8pXej16hrnS39VKMIETOFM5T2_xCQFmt5IDVw8RFI1/s320/updatenibname.png&quot; width=&quot;249&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
8. &amp;nbsp;Add the following to your AppDelegate.h file into appropriate lines (I am assuming you know where).&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;








&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;#import &lt;/span&gt;&quot;MyNavigationController.h&quot;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
@property&lt;span class=&quot;s2&quot;&gt; (&lt;/span&gt;strong&lt;span class=&quot;s2&quot;&gt;, &lt;/span&gt;nonatomic&lt;span class=&quot;s2&quot;&gt;) &lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;ViewController&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; *viewController;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;9. Add the following to AppDelegate.m,&amp;nbsp;didFinishLaunchingWithOptions&amp;nbsp;function (an empty function should already be there)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;










&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;viewController&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; = [[[&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;NSBundle&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; &lt;/span&gt;mainBundle&lt;span class=&quot;s2&quot;&gt;] &lt;/span&gt;loadNibNamed&lt;span class=&quot;s2&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;@&quot;ChannelNavigatorViewController&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; &lt;/span&gt;owner&lt;span class=&quot;s2&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; &lt;/span&gt;options&lt;span class=&quot;s2&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;nil&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;] &lt;/span&gt;objectAtIndex&lt;span class=&quot;s2&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;];&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;.&lt;/span&gt;window&lt;span class=&quot;s2&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s7&quot;&gt;addSubview&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;:&lt;/span&gt;viewController&lt;span class=&quot;s2&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;view&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;];&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;After you add the above lines, the function would look like this:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;










&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
- (&lt;span class=&quot;s1&quot;&gt;BOOL&lt;/span&gt;)application:(&lt;span class=&quot;s2&quot;&gt;UIApplication&lt;/span&gt; *)application didFinishLaunchingWithOptions:(&lt;span class=&quot;s2&quot;&gt;NSDictionary&lt;/span&gt; *)launchOptions&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
{&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;window&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; = [[[&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;UIWindow&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;alloc&lt;span class=&quot;s3&quot;&gt;] &lt;/span&gt;initWithFrame&lt;span class=&quot;s3&quot;&gt;:[[&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;UIScreen&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;mainScreen&lt;span class=&quot;s3&quot;&gt;] &lt;/span&gt;bounds&lt;span class=&quot;s3&quot;&gt;]] &lt;/span&gt;autorelease&lt;span class=&quot;s3&quot;&gt;];&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;// Override point for customization after application launch.&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;window&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;.&lt;/span&gt;backgroundColor&lt;span class=&quot;s3&quot;&gt; = [&lt;/span&gt;UIColor&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;whiteColor&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;];&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;viewController&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; = [[[&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;NSBundle&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;mainBundle&lt;span class=&quot;s3&quot;&gt;] &lt;/span&gt;loadNibNamed&lt;span class=&quot;s3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;@&quot;MyNavigationController&quot;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;owner&lt;span class=&quot;s3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;options&lt;span class=&quot;s3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;nil&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;] &lt;/span&gt;objectAtIndex&lt;span class=&quot;s3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s7&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;];&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p6&quot;&gt;
&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; [&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;.&lt;/span&gt;window&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;addSubview&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;:&lt;/span&gt;viewController&lt;span class=&quot;s3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;view&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;];&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; [&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;window&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;makeKeyAndVisible&lt;span class=&quot;s3&quot;&gt;];&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p7&quot;&gt;
&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;return&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;YES&lt;span class=&quot;s3&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
}&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
10. Now you are almost done. Build and run. You should have an app that loads your XIB and your custom MyNavigationController object.&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwfY_e6JxU9ekrwGIRiq12d2jIvdp4TWY5-BCLYf09oyEoK_JWCMt9rd20KSUvb41HJCywkYxcViiJaanQtyw2-5M-HaDmWXzyfWHPhY4Roe0OMtxaOXHjSh8E3ER93N3fKg1-j7TxnzYG/s1600/appwithoutcustomization.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwfY_e6JxU9ekrwGIRiq12d2jIvdp4TWY5-BCLYf09oyEoK_JWCMt9rd20KSUvb41HJCywkYxcViiJaanQtyw2-5M-HaDmWXzyfWHPhY4Roe0OMtxaOXHjSh8E3ER93N3fKg1-j7TxnzYG/s1600/appwithoutcustomization.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
11. Let&#39;s customize your NavigationController a bit. For fun, lets change the Navigation Bar color to red. After all, this was the whole point of this whole&amp;nbsp;exercise.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
In your MyNavigationController.m file, function viewDidLoad, add the following lines to change the Navigation Bar color.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;








&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;.&lt;/span&gt;navigationBar&lt;span class=&quot;s2&quot;&gt;.&lt;/span&gt;tintColor&lt;span class=&quot;s2&quot;&gt; = [&lt;/span&gt;UIColor&lt;span class=&quot;s2&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;redColor&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;];&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;After you add, the function should look like this:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;










&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
- (&lt;span class=&quot;s1&quot;&gt;void&lt;/span&gt;)viewDidLoad&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
{&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;&amp;nbsp; &amp;nbsp; [&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;super&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; &lt;/span&gt;viewDidLoad&lt;span class=&quot;s2&quot;&gt;];&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;.&lt;/span&gt;navigationBar&lt;span class=&quot;s2&quot;&gt;.&lt;/span&gt;tintColor&lt;span class=&quot;s2&quot;&gt; = [&lt;/span&gt;UIColor&lt;span class=&quot;s2&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;redColor&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;];&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
}&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
If you compile and run, you will see a customized Navigation Bar.&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizQE_y0cyDK7fbNGpSJ71E9hhKRuQOl8UkelV7Z0Q9odDCKS0fbxYRVhVK8OAJrEfOE7Jzaxe6scsT70b9I8WjInGl6vOSEqYSCiTo2zowPW1Zlj_idf3JqkZ_ZWDTU3Gka475rp8agNwy/s1600/appwithcustomization.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizQE_y0cyDK7fbNGpSJ71E9hhKRuQOl8UkelV7Z0Q9odDCKS0fbxYRVhVK8OAJrEfOE7Jzaxe6scsT70b9I8WjInGl6vOSEqYSCiTo2zowPW1Zlj_idf3JqkZ_ZWDTU3Gka475rp8agNwy/s1600/appwithcustomization.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
12. Well, really, the fun just started. After this step, you can create a custom UINavigatorBar and attach it to your MyNavigatorController. However, I will document that part another day.&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.valmikam.com/feeds/625027118930381452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6648890339623102499/625027118930381452' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6648890339623102499/posts/default/625027118930381452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6648890339623102499/posts/default/625027118930381452'/><link rel='alternate' type='text/html' href='http://www.valmikam.com/2011/09/add-uinavigatorcontroller-ui-and-load.html' title='Add a UINavigatorController UI and load from XIB in an empty (single window) iOS App.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhL2UCmZOTNsmCZ9E8-7Pcju0MywKLqQhiDrckbU1HWkuxRsQsUGEVrvRbYfPd4TKz47pFl8YpQa6mG7-SIkBcr44ZbN8ANIdOk-gCojr4yuibTGmvJWAQghzlJOiC9cz3gof-iDomEU_K/s72-c/Screen+Shot+2011-09-10+at+7.57.23+PM.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6648890339623102499.post-3942976805601429499</id><published>2010-09-04T20:51:00.000-07:00</published><updated>2010-09-04T20:59:42.132-07:00</updated><title type='text'>vim auto backup configuration</title><content type='html'>Long story short, if you use vim for your editing chores and if you want to enable a full fledged auto backup solution, copy paste the following into your .vimrc.&lt;br /&gt;&lt;br /&gt;It creates backup files in ~/vimbackup/DATE/OrigFileName.HOUR.MIN.SEC each time you modify the file &quot;OrigFileName&quot;.&lt;br /&gt;&lt;br /&gt;&quot; AUTOMATIC BACKUPS =====================================================&lt;br /&gt;&quot;enable backup&lt;br /&gt;set backup&lt;br /&gt;&quot;&lt;br /&gt;&quot;Create a backup folder, I like to have it in $HOME/vimbackup/date/&lt;br /&gt;let day = strftime(&quot;%Y.%m.%d&quot;)&lt;br /&gt;let backupdir = $HOME.&quot;/vimbackup/&quot;.day&lt;br /&gt;silent! let xyz = mkdir(backupdir, &quot;p&quot;)&lt;br /&gt;&quot;&lt;br /&gt;&quot;Set the backup folder&lt;br /&gt;let cmd = &quot;set backupdir=&quot;.backupdir&lt;br /&gt;execute cmd&lt;br /&gt;&quot;&lt;br /&gt;&quot;Create an extention for backup file, useful when you are modifying the &lt;br /&gt;&quot;same file multiple times in a day. I like to have an extention with&lt;br /&gt;&quot;time hour.min.sec&lt;br /&gt;let time = strftime(&quot;.%H.%M.%S&quot;)&lt;br /&gt;let cmd = &quot;set backupext=&quot;. time&lt;br /&gt;execute cmd&lt;br /&gt;&quot;&lt;br /&gt;&quot;test.cpp is going to be backed up as HOME/vimbackup/date/test.cpp.hour.min.sec&lt;br /&gt;&quot; ===================================================== AUTOMATIC BACKUPS</content><link rel='replies' type='application/atom+xml' href='http://www.valmikam.com/feeds/3942976805601429499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6648890339623102499/3942976805601429499' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6648890339623102499/posts/default/3942976805601429499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6648890339623102499/posts/default/3942976805601429499'/><link rel='alternate' type='text/html' href='http://www.valmikam.com/2010/09/vim-auto-backup-configuration.html' title='vim auto backup configuration'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6648890339623102499.post-257153215685316951</id><published>2008-08-03T16:14:00.000-07:00</published><updated>2008-08-03T16:40:17.303-07:00</updated><title type='text'>Ripping CDs with Windows Media Player 11</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://picasaweb.google.com/valmikam/RandomThoughts/photo?authkey=oOM7zL_Y2VE#5230439189049377250&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;&quot; src=&quot;http://picasaweb.google.com/valmikam/RandomThoughts/photo?authkey=oOM7zL_Y2VE#5230439189049377250&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://picasaweb.google.com/valmikam/RandomThoughts/photo?authkey=oOM7zL_Y2VE#5230435767529627202&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;&quot; src=&quot;http://picasaweb.google.com/valmikam/RandomThoughts/photo?authkey=oOM7zL_Y2VE#5230435767529627202&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;I am sure you will find this information on hundreds of sites on the net. A friend I met in a store asked me and I thought why don&#39;t I just write it here instead of sending him an email.&lt;br /&gt;&lt;br /&gt;Its pretty simple really.&lt;br /&gt;&lt;br /&gt;Just make sure you install Windows Media Player 11. If you are on Windows Vista, you already have it. if you are on XP, you can download it from &lt;a href=&quot;http://www.microsoft.com/windows/windowsmedia/player/download/download.aspx&quot;&gt;Microsoft&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Once you have it, make sure you select the correct destination folder and format. See the picture below. You can get to these options via Tools-&gt;Options menu.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi037iiZkweWHC76aGLfFgLerH7Gw4JEW_wLZ_9Pnj9qj0Zg3gPDNg0CG5AKgq7qc7kBB5TtS1RVaBODL5LobL6TL477sNalxpaUs4NPaLSYIqYSGR-8D7F_i-tkd3-41vuBirOXICnirvu/s1600-h/wma-rip-options.JPG&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi037iiZkweWHC76aGLfFgLerH7Gw4JEW_wLZ_9Pnj9qj0Zg3gPDNg0CG5AKgq7qc7kBB5TtS1RVaBODL5LobL6TL477sNalxpaUs4NPaLSYIqYSGR-8D7F_i-tkd3-41vuBirOXICnirvu/s400/wma-rip-options.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5230435350044108482&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To get to the Tools menu, right click on the Title Bar.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://picasaweb.google.com/valmikam/RandomThoughts/photo?authkey=oOM7zL_Y2VE#5230439189049377250&quot;&gt;&lt;img src=&quot;http://lh3.ggpht.com/valmikam/SJZAuvqSAeI/AAAAAAAABWo/L9s9AOFXbUE/s800/wmp-menu.JPG&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Once have that, just go to the RIP tab on the Windows Media Player main window. If you have the CD inserted, ripping should start automatically.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://picasaweb.google.com/valmikam/RandomThoughts/photo?authkey=oOM7zL_Y2VE#5230435767529627202&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/valmikam/SJY9nlgZ3kI/AAAAAAAABWU/-i3YXAGYkGo/s800/wma-rip.JPG&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Well, during this screen shot, I did not have an audio CD handy, but if you insert one, the ripping should start immediately and the resulting audio files should go in to the folder you chose in options.</content><link rel='replies' type='application/atom+xml' href='http://www.valmikam.com/feeds/257153215685316951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6648890339623102499/257153215685316951' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6648890339623102499/posts/default/257153215685316951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6648890339623102499/posts/default/257153215685316951'/><link rel='alternate' type='text/html' href='http://www.valmikam.com/2008/08/ripping-cds-with-windows-media-player.html' title='Ripping CDs with Windows Media Player 11'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi037iiZkweWHC76aGLfFgLerH7Gw4JEW_wLZ_9Pnj9qj0Zg3gPDNg0CG5AKgq7qc7kBB5TtS1RVaBODL5LobL6TL477sNalxpaUs4NPaLSYIqYSGR-8D7F_i-tkd3-41vuBirOXICnirvu/s72-c/wma-rip-options.JPG" height="72" width="72"/><thr:total>0</thr:total></entry></feed>