<?xml version="1.0" encoding="utf-8"?>
<feed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom">
  <title>bencoffman.com/blog</title>
  <link rel="alternate" type="text/html" href="http://bencoffman.com/blog/" />
  <link rel="self" href="http://bencoffman.com/blog/SyndicationService.asmx/GetAtom" />
  <icon>favicon.ico</icon>
  <updated>2010-07-14T06:43:58.3603965-07:00</updated>
  <author>
    <name>Ben Coffman</name>
  </author>
  <subtitle>Tech and a few other things</subtitle>
  <id>http://bencoffman.com/blog/</id>
  <generator uri="http://dasblog.info/" version="2.1.8102.813">DasBlog</generator>
  <entry>
    <title>System.IndexOutOfRangeException: with a datareader</title>
    <link rel="alternate" type="text/html" href="http://bencoffman.com/blog/2010/07/14/SystemIndexOutOfRangeExceptionWithADatareader.aspx" />
    <id>http://bencoffman.com/blog/PermaLink,guid,045e6f8a-b43f-4c79-8d7f-545b9eb95304.aspx</id>
    <published>2010-07-13T21:14:10.884-07:00</published>
    <updated>2010-07-14T06:36:38.3157961-07:00</updated>
    <category term=".Net" label=".Net" scheme="http://bencoffman.com/blog/CategoryView,category,Net.aspx" />
    <category term="SQL" label="SQL" scheme="http://bencoffman.com/blog/CategoryView,category,SQL.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <img src="http://bencoffman.com/blog/content/binary/microsoft_.net_logo.png" height="75px" width="120px" border="0" />
        <br />
        <br />
        <b>
          <br />
          <br />
Error Readout:<br /></b>System.IndexOutOfRangeException:<b><br /><br /></b><b>Fix:<br /></b>I encountered the above error when I tried to run the query, 
<br /><pre><span style="color: Black; background-color: Transparent; font-family: Courier New; font-size: 11px;"><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">SELECT</span><span style="color: Fuchsia; background-color: Transparent; font-family: Courier New; font-size: 11px;">MAX</span>(expression
)<br /><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">FROM</span> tables<br /><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">WHERE</span> predicates;</span><br /></pre>
and then loop through the results using a datareader with code like this,<br /><br /><pre><span style="color: Black; background-color: Transparent; font-family: Courier New; font-size: 11px;"><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">while</span>(rdr.Read())<br />
{<br />
someLabel.Items.Add(rdr[<span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"ColumnName"</span>].ToString());<br />
}<br /></span></pre>I got the error above, because when you do a "max" sql query it doesn't
return any column header. 
<br /><br />
All you need to do is give the sql result set a column header.<br /><span style="color: Black; background-color: Transparent; font-family: Courier New; font-size: 11px;"><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"><br /><b></b></span></span><pre><span style="color: Black; background-color: Transparent; font-family: Courier New; font-size: 11px;"><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">SELECT</span><span style="color: Fuchsia; background-color: Transparent; font-family: Courier New; font-size: 11px;">MAX</span>(expression) <span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">as</span> "ColumnName" <span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"><br />
FROM</span><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">table</span><br /><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">where</span> predicates;</span></pre><b><br />
Explanation:<br /></b>This is another one of my bone head mistakes. It's such a simple little thing
I overlook, and gets me so disappointed in myself when I realize I spent time trying
to figure this out. It's generally followed by me looking over my shoulder and seeing
if any of my peers saw it. I'm mostly blogging this in hopes I won't make a silly
mistake like this again<b>. 
<br /><br /></b>Why is it always the baby errors that hang me up the most? It can never be something
deep in the CLR, or possibly find a mistake in .Net. Nope, noway, not gonna happen
.Net is pretty solid...for the most part.<b><br /></b><p></p><img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=045e6f8a-b43f-4c79-8d7f-545b9eb95304" /></div>
    </content>
  </entry>
  <entry>
    <title>Debug: Double Backslashes In String, 2 Backslashes in String</title>
    <link rel="alternate" type="text/html" href="http://bencoffman.com/blog/2010/06/30/DebugDoubleBackslashesInString2BackslashesInString.aspx" />
    <id>http://bencoffman.com/blog/PermaLink,guid,ee2aea41-6f52-4b82-8416-d135b7d4a27f.aspx</id>
    <published>2010-06-30T12:10:24.682-07:00</published>
    <updated>2010-07-14T06:41:45.5941996-07:00</updated>
    <category term=".Net" label=".Net" scheme="http://bencoffman.com/blog/CategoryView,category,Net.aspx" />
    <category term="Visual Studio" label="Visual Studio" scheme="http://bencoffman.com/blog/CategoryView,category,VisualStudio.aspx" />
    <category term="Windows" label="Windows" scheme="http://bencoffman.com/blog/CategoryView,category,Windows.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <img src="http://bencoffman.com/blog/content/binary/images.jpeg" border="0" />
        <b>
          <br />
          <br />
          <br />
Error Readout:<br /></b>None, it's not an error silly.<br /><br /><b>The Problem:<br /></b>When I debug, and look at a string that contains my file path I see 2 backslashs
(escape characters) in my string when I only wanted 1.<br /><br /><b>The Solution:</b><br />
It's nothing, don't worry about it, that's just the way Visual Studio "debug" shows
your path when you catch it while debugging. When the path is used in the code for
the file system there will only be 1 backslash and it will work correctly.<br /><br />
This is such a stupid little thing, but for some reason every once in a blue moon,
I forget and freak out on why it's doing this, thus wasting a solid five minutes of
my life. I put this post up in hopes I will never forget again and that if someone
happens to Google this, my post will pop up and help them move on quickly....maybe
only wasting 1 to 2 minutes. :)<br /><p></p><img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=ee2aea41-6f52-4b82-8416-d135b7d4a27f" /></div>
    </content>
  </entry>
  <entry>
    <title>Commerce Bank iPhone App</title>
    <link rel="alternate" type="text/html" href="http://bencoffman.com/blog/2010/06/25/CommerceBankIPhoneApp.aspx" />
    <id>http://bencoffman.com/blog/PermaLink,guid,760da6ad-b4f4-401b-9a0b-283fb644183e.aspx</id>
    <published>2010-06-25T06:50:55.408-07:00</published>
    <updated>2010-07-14T06:43:58.3603965-07:00</updated>
    <category term="apple" label="apple" scheme="http://bencoffman.com/blog/CategoryView,category,apple.aspx" />
    <category term="iphone" label="iphone" scheme="http://bencoffman.com/blog/CategoryView,category,iphone.aspx" />
    <category term="Mac" label="Mac" scheme="http://bencoffman.com/blog/CategoryView,category,Mac.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Apple expects to sell 1 million to 1.4 million iPhones this weekend, this is excluding
the 900,000 pre-orders. It has the possibilty to be the biggest selling product release
in history!<br /><br /><a href="http://online.wsj.com/article/SB10001424052748704629804575325661775151320.html?mod=WSJ_Tech_LEADTop">http://online.wsj.com/article/SB10001424052748704629804575325661775151320.html?mod=WSJ_Tech_LEADTop</a></p>
        <p>
          <br />
        </p>
        <p>
          <b>UPDATE:</b> They sold <b>1.7</b> million. Apple's most successful product release
in it's history. 
</p>
        <img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=760da6ad-b4f4-401b-9a0b-283fb644183e" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Incorrect syntax near ')'.</title>
    <link rel="alternate" type="text/html" href="http://bencoffman.com/blog/2010/06/23/IncorrectSyntaxNear.aspx" />
    <id>http://bencoffman.com/blog/PermaLink,guid,0d2ec25e-74da-411e-9530-f9969dbee498.aspx</id>
    <published>2010-06-23T10:41:51.148-07:00</published>
    <updated>2010-06-23T10:41:51.1486802-07:00</updated>
    <category term="SQL" label="SQL" scheme="http://bencoffman.com/blog/CategoryView,category,SQL.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <img src="http://bencoffman.com/blog/content/binary/database1.PNG" border="0" />
        <b>
          <br />
          <br />
Error Readout:</b>
        <br />
Incorrect syntax near ')'<br /><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span class="Apple-style-span" style="color: rgb(206, 226, 234); font-family: arial,sans-serif; font-size: 13px; line-height: 15px; white-space: pre-wrap;"></span></span><br /><b>The Problem:</b><br />
When I was trying to pass in <i>getdate()</i> as a parameter to execute a stored procedure
i got the above error.<br /><br /><b><i>Example:</i></b><br />
exec dbo.storedProcedure<br />
    @param1 = '8D8DF077-7491-491B-AFA2-8F088821A073',<br />
    @param2 = '8D8DF077-7491-491B-AFA2-8F088821A073',<br />
    @param3 = 'Market: SAP 4 Eva',<br />
    @param4 = getdate()<br /><br /><br /><b>The Solution:</b><br />
A sql execute statement can't pass a function such as <i>getdate()</i> in through
a parameter. To fix this either: 
<br /><br /><ol><li>
Put <i>getdate() </i>directly in your sql statement that resides in the stored procedure 
</li><li>
Pass a <i>null </i>if your table definition allows you to.</li><li>
Create a temp variable store the value of <i>getdate() </i>in that variable and pass
in that variable through the datetime parameter.<br /></li></ol><p></p><img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=0d2ec25e-74da-411e-9530-f9969dbee498" /></div>
    </content>
  </entry>
  <entry>
    <title>When to use the * (star) with Objective C</title>
    <link rel="alternate" type="text/html" href="http://bencoffman.com/blog/2010/06/12/WhenToUseTheStarWithObjectiveC.aspx" />
    <id>http://bencoffman.com/blog/PermaLink,guid,aa6568ba-48f1-4b14-bfed-332818037c31.aspx</id>
    <published>2010-06-12T08:59:04.158-07:00</published>
    <updated>2010-07-13T21:26:26.6184697-07:00</updated>
    <category term=".Net" label=".Net" scheme="http://bencoffman.com/blog/CategoryView,category,Net.aspx" />
    <category term="Mac" label="Mac" scheme="http://bencoffman.com/blog/CategoryView,category,Mac.aspx" />
    <category term="Mac OS X" label="Mac OS X" scheme="http://bencoffman.com/blog/CategoryView,category,MacOSX.aspx" />
    <category term="Objective C" label="Objective C" scheme="http://bencoffman.com/blog/CategoryView,category,ObjectiveC.aspx" />
    <category term="Windows" label="Windows" scheme="http://bencoffman.com/blog/CategoryView,category,Windows.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <img src="http://bencoffman.com/blog/content/binary/Screen%20shot%202009-09-17%20at%208.55.44%20PM.png" />
        <br />
        <br />
It's a good question. 
<br /><br />
There are some types that are not derived from NSObject, these types are called "Primitive
Types." Some examples of these types are 
<br /><ol><li>
int</li><li>
bool</li><li>
short</li><li>
long</li><li>
double</li><li>
char</li></ol>
Sooooo basically any type that is not derived from the NSObject class is a Primitive
type and does not require a "*".<br /><br />
Now I bet you are wondering how do I figure out if it's a primitive type or not. 
<br /><ol><li>
An easy way is to look at the color of the syntax in xCode, is it deep blue or a sky
blue? Deep blue = primitive type, but this is not entirely reliable as the standards
for coloring syntax can fluctuate or change.<br /></li></ol><br /><img src="http://bencoffman.com/blog/content/binary/Screen%20shot%202010-06-12%20at%2011.44.07%20AM.png" border="0" /><br /><br /><li>
You can option-click on the object after you have typed it in xCode, click the little
book in the upper right hand corner, when the class reference viewer comes up, look
and see if it inherits from NSObject. If it doesn't it's Primitive and you don't need
a "*".<br /><br /><img src="http://bencoffman.com/blog/content/binary/Screen%20shot%202010-06-12%20at%2011.49.43%20AM.png" border="0" /><br /><br /><br /><img src="http://bencoffman.com/blog/content/binary/Screen%20shot%202010-06-12%20at%2011.55.21%20AM.png" border="0" /></li><br /><br /><b>Note:</b><br />
There are some alternatives to using the primitive type <i>int</i>, such as the reference
type <i>NSInteger,</i> which has some nice baked in functionality of distinguishing
between 32 bit and 64 bit, but not all primitive types have an alternative reference
type in Objective C.<br /><br /><br /><b>Just for fun:</b><br />
In .Net they have primitive types too(I believe they call them <i>value types</i>),
kinda. The compiler recognizes traditional primitive types and therefore lets you
use the syntax<br /><br /><i>int i = 5;</i><br /><br />
But despite the compiler letting you do this, this type still maps back to System.Int32.
All things in .Net are mapped back to System.Object. Everything is a reference type,
but .Net lets you keep the traditional syntax instead of writing:<br /><br /><i>System.Int32 i = new System.Int32(5);</i><br /><code><br /><br /><br /></code><br /><p></p><br /><img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=aa6568ba-48f1-4b14-bfed-332818037c31" /></div>
    </content>
  </entry>
  <entry>
    <title>Accessorizer: Hate making those accessors?</title>
    <link rel="alternate" type="text/html" href="http://bencoffman.com/blog/2010/06/07/AccessorizerHateMakingThoseAccessors.aspx" />
    <id>http://bencoffman.com/blog/PermaLink,guid,e31f1b02-a938-4da5-a7ac-b0e374a9570f.aspx</id>
    <published>2010-06-06T18:12:06.805-07:00</published>
    <updated>2010-06-06T18:15:08.1493241-07:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <img src="http://bencoffman.com/blog/content/binary/acc_saw_clock_icon_512_version14.png" border="0" />
        <p>
        </p>
        <a href="http://www.kevincallahan.org/software/accessorizer.html">Accessorizer </a>I
have been told if you do any kind of serious development in Objective C this is the
tool to use. At 15 bucks I'll be making it part of my Objective C toolbox especially
since I hate typing out all those accessors (variables, @property @synthesize.) The
time saved will surely out weigh the cost.<br /><p></p><img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=e31f1b02-a938-4da5-a7ac-b0e374a9570f" /></div>
    </content>
  </entry>
  <entry>
    <title>Why you need to create a controller in some projects in interface builder and not in others.</title>
    <link rel="alternate" type="text/html" href="http://bencoffman.com/blog/2010/06/07/WhyYouNeedToCreateAControllerInSomeProjectsInInterfaceBuilderAndNotInOthers.aspx" />
    <id>http://bencoffman.com/blog/PermaLink,guid,23858b2f-27e7-41b3-9d4d-6453a521ac19.aspx</id>
    <published>2010-06-06T18:05:58.127-07:00</published>
    <updated>2010-06-06T18:05:58.1275193-07:00</updated>
    <category term="Objective C" label="Objective C" scheme="http://bencoffman.com/blog/CategoryView,category,ObjectiveC.aspx" />
    <category term="xCode" label="xCode" scheme="http://bencoffman.com/blog/CategoryView,category,xCode.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <img src="http://bencoffman.com/blog/content/binary/Screen%20shot%202009-09-17%20at%208.55.44%20PM.png" border="0" />
        <p>
        </p>
When starting a new project you have the ability to  select a template of premade
projects. Two examples of this are<br />
    1. Navigation Based Application<br />
    2. View Based application<br /><br />
When these templates are selected xCode will create the appropriate base controller
for you in interface builder, such as "Navigation Controller" or a "View Controller"
it will also create the appropriate classes for you with some of the most commonly
used delegate and datasource methods along with the appropriate methods to override.<br /><br />
With a new project and selecting Window-based application, you are simply creating
a blank slate in which you have to create nearly everything. It's rarely advantageous
to use this unless, you are creating something outside the templates offered or you
are learning how all the pieces fit together.<p></p><img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=23858b2f-27e7-41b3-9d4d-6453a521ac19" /></div>
    </content>
  </entry>
  <entry>
    <title>The Woz is at it again.</title>
    <link rel="alternate" type="text/html" href="http://bencoffman.com/blog/2010/05/21/TheWozIsAtItAgain.aspx" />
    <id>http://bencoffman.com/blog/PermaLink,guid,2b212308-ba98-44ba-b20d-066fa865c639.aspx</id>
    <published>2010-05-20T21:56:23.574-07:00</published>
    <updated>2010-05-20T21:57:21.2041448-07:00</updated>
    <category term="iPhone" label="iPhone" scheme="http://bencoffman.com/blog/CategoryView,category,iPhone.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I saw this picture on<a href="http://www.davemark.com/?p=1823"> Dave Mark's blog</a>.
Dave is a very talented Objective C developer. The picture really got me so I had
to post it.<br /><br />
Enjoy.
</p>
        <br />
        <br />
        <img border="0" src="http://bencoffman.com/blog/content/binary/wozgray.jpg" />
        <img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=2b212308-ba98-44ba-b20d-066fa865c639" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Falling Upstairs</title>
    <link rel="alternate" type="text/html" href="http://bencoffman.com/blog/2010/05/20/FallingUpstairs.aspx" />
    <id>http://bencoffman.com/blog/PermaLink,guid,0a93a0cf-f105-4afc-9db9-cb3ba88c19fd.aspx</id>
    <published>2010-05-19T19:34:04.388-07:00</published>
    <updated>2010-05-20T11:11:30.4016767-07:00</updated>
    <category term=".Net" label=".Net" scheme="http://bencoffman.com/blog/CategoryView,category,Net.aspx" />
    <category term="Me" label="Me" scheme="http://bencoffman.com/blog/CategoryView,category,Me.aspx" />
    <category term="SAP" label="SAP" scheme="http://bencoffman.com/blog/CategoryView,category,SAP.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <br />
        <div id="u_bg" style="text-align: left;">
          <div id="yz-t" style="text-align: left;">
            <div id="y:d2" style="text-align: left;">
              <img src="http://bencoffman.com/blog/content/binary/May_19_2010_7303.jpg" style="height: 768px; width: 1024px;" />
            </div>
            <br />
          </div>
          <br />
        </div>
        <br />
What a wild month! London, Paris (loved Paris), and Barcelona, followed up with a
gig in Philly working for the second biggest software developer in the world on their
up front website, SAP.com. Before I dive into the limited aspects I can speak about
SAP.com's technology I would like to point out the facet of SAP that has had, and
will have, a lasting effect on me, the cafateria. These people (SAP) treat their people
good! Made to order sushi, made to order Thai, a Philly cheese steak that will challenge
South Philly's finest and a Starbucks that feels like it was made just for me, all
this within a short walk from my desk. Really, next to the BMW the Germans know how
to do it.<br /><br />
Lets dive into my first day. I was sitting at my desk, after enjoying my oh-so-delicious
lunch of Alaskan Cod; I hear this loud noise getting louder. Turns out it was a helicopter
flying in with the American Co-CEO. As he gets out, much like a scene you might expect
to see from Iron Man, he has a dream effect on me. He waves at the people there to
greet him and follow's up with a mock gun shot (I can only hope he made the clicking
sound that goes with the mock gun shot) at one of the security guards as he steps
into the Escalade, in my mind I say YES, awesome! I know right then and there I'm
going to love it for my limited time here.<br /><br />
I digress lets talk about a website that needs to address more nations than a senator
trying to get votes in NYC. In short, because this is all I will say and feel comfortable,
they follow a Model View Presenter (MVP) development process in making their site.
SAP's site addresses content based on what nation/region you are coming from all while
maintaining a similar look and feel for every end user. Think localization is easy
with .Net...not on this scale boys and girls! Now add a level complexity comprising
of several teams in more countries than you can count on one hand, developing for
this one site. To create a level of consistency across so many sites a template format
was built and an engine on top of the .Net engine to address what should be displayed....this
is all I will give up, but I can say it's fun and challenging.<br /><br />
Thanks to VML for making this small yet, incredible contract, possible.<br /><img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=0a93a0cf-f105-4afc-9db9-cb3ba88c19fd" /></div>
    </content>
  </entry>
  <entry>
    <title>loadView vs viewDidLoad</title>
    <link rel="alternate" type="text/html" href="http://bencoffman.com/blog/2010/05/09/loadViewVsViewDidLoad.aspx" />
    <id>http://bencoffman.com/blog/PermaLink,guid,60d38687-6c10-4c11-b9c9-2594afd9018c.aspx</id>
    <published>2010-05-09T16:55:43.924-07:00</published>
    <updated>2010-05-25T09:01:28.4351018-07:00</updated>
    <category term="iPhone" label="iPhone" scheme="http://bencoffman.com/blog/CategoryView,category,iPhone.aspx" />
    <category term="Objective C" label="Objective C" scheme="http://bencoffman.com/blog/CategoryView,category,ObjectiveC.aspx" />
    <category term="xCode" label="xCode" scheme="http://bencoffman.com/blog/CategoryView,category,xCode.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <img src="http://bencoffman.com/blog/content/binary/Screen%20shot%202009-09-17%20at%208.55.44%20PM.png" />
        <br />
        <b>The Problem:</b>
        <br />
I was getting a white screen with no data in a <i>UITableView</i> on it in the iPhone
simulator.<br /><br /><b>The Solution:</b><br />
I had my initialization code for the array in the the "loadView" method and not the
"viewDidLoad" method<br /><br /><b>Explanation:</b><br />
Don't read self.view in -loadView. Only set it, don't get it. The self.view property
accessor calls -loadView if the view isn't currently loaded. There's your infinite
recursion. I'm guessing UITableView calls a View [pretty good guess since "view" is
in the name. :)] which in turn caused my recursion.<br /><br />
This was a stupid little error that caused me about 30 minutes of my life due to the
fact I didn't get any build errors. A simple copy and paste moved me forward.<br /><br /><p><b>Update:</b> I think it might be important to distinguish the differece between
loadView and viewDidLoad. (below)<br /><br />
loadView is the method in UIViewController that will actually load up the view and
assign it to the "view" property. This is also the location that a subclass of UIViewController
would override if you wanted to programatically set up the "view" property. viewDidLoad
is the method that is called once the view has been loaded. This is called after loadView
is called. It is a place where you can override and insert code that does further
initial setup of the view once it has been loaded. 
</p><img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=60d38687-6c10-4c11-b9c9-2594afd9018c" /></div>
    </content>
  </entry>
  <entry>
    <title>Mission Repair -- Getting all things Apple repaired outside of the Apple store.</title>
    <link rel="alternate" type="text/html" href="http://bencoffman.com/blog/2010/04/24/MissionRepairGettingAllThingsAppleRepairedOutsideOfTheAppleStore.aspx" />
    <id>http://bencoffman.com/blog/PermaLink,guid,4111d2ef-0738-4e14-8140-55e87febe47e.aspx</id>
    <published>2010-04-23T19:48:33.971-07:00</published>
    <updated>2010-05-02T20:00:43.3242585-07:00</updated>
    <category term="Mac" label="Mac" scheme="http://bencoffman.com/blog/CategoryView,category,Mac.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <img src="http://bencoffman.com/blog/content/binary/Capture.PNG" />
        <br />
        <br />
Last night around 3:30am I was having a little trouble sleeping, consequently I picked
up my laptop pulled up the most recent edition of <a href="http://revision3.com/diggnation/">Diggnation</a> and
hoped the wonderful drunk-tech humor would push me off to a restful sleep land. It
worked! Then disaster struck, as I was closing the laptop on my night stand, the laptop
fell off.  In slow motion I watched my laptop hit the ground and the backlight
on the monitor break. Damn, I’m more tired than disappointed; I’ll address it in the
morning.<br /><br />
I woke up in the morning hoping the laptop would have somehow healed itself. It didn’t.
Apple store here I come.  $1200 bucks, ahhh no thank you, any other solutions
I ask the genius dude. He gently says, yes, <a href="http://www.missionrepair.com/">Mission
Repair</a>. Doing a little research I find them online, <a href="http://www.engadget.com/2010/02/02/apple-ipad-rumor-roundup-abraham-zapruder-edition/">engadget </a>has
recognized these guys! Instantly a legit shop in my mind and they are based in KC,
happiness throughout the body, though most of their business is web based mail-ins.
I walk in and find out a good amount of their employees are ex-Apple employees. My
lapy is in good hands. They quote me $400 for a new glossy screen, a third of the
cost of Apple, I asked if they could fix it in the next hour, they replied with a
warming, "yup." At this point I want to hug somebody, anybody really. Flash forward
10 minutes and Mission computer says they are out of the glossy screens, they can
have some in tomorrow or they will install a mat finish for 100 dollars less, due
to the inconvenience, making my total 300.  Done Deal. 30 minutes later I walk
out with a fully functional screen on my Macbook<br /><br />
I will be working with <a href="http://www.missionrepair.com">Mission Repair</a> quite
a bit more for my out of warranty repairs.<img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=4111d2ef-0738-4e14-8140-55e87febe47e" /></div>
    </content>
  </entry>
</feed>