<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>bencoffman.com/blog - Mac</title>
    <link>http://bencoffman.com/blog/</link>
    <description>News about Tech and a few other things.</description>
    <language>en-us</language>
    <copyright>Ben Coffman</copyright>
    <lastBuildDate>Fri, 25 Jun 2010 13:50:55 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.1.8102.813</generator>
    <managingEditor>coffmanben@gmail.com</managingEditor>
    <webMaster>coffmanben@gmail.com</webMaster>
    <item>
      <trackback:ping>http://bencoffman.com/blog/Trackback.aspx?guid=760da6ad-b4f4-401b-9a0b-283fb644183e</trackback:ping>
      <pingback:server>http://bencoffman.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://bencoffman.com/blog/PermaLink,guid,760da6ad-b4f4-401b-9a0b-283fb644183e.aspx</pingback:target>
      <dc:creator>Ben Coffman</dc:creator>
      <wfw:comment>http://bencoffman.com/blog/CommentView,guid,760da6ad-b4f4-401b-9a0b-283fb644183e.aspx</wfw:comment>
      <wfw:commentRss>http://bencoffman.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=760da6ad-b4f4-401b-9a0b-283fb644183e</wfw:commentRss>
      <body 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" />
      </body>
      <title>Commerce Bank iPhone App</title>
      <guid isPermaLink="false">http://bencoffman.com/blog/PermaLink,guid,760da6ad-b4f4-401b-9a0b-283fb644183e.aspx</guid>
      <link>http://bencoffman.com/blog/2010/06/25/CommerceBankIPhoneApp.aspx</link>
      <pubDate>Fri, 25 Jun 2010 13:50:55 GMT</pubDate>
      <description>&lt;p&gt;
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!&lt;br&gt;
&lt;br&gt;
&lt;a href="http://online.wsj.com/article/SB10001424052748704629804575325661775151320.html?mod=WSJ_Tech_LEADTop"&gt;http://online.wsj.com/article/SB10001424052748704629804575325661775151320.html?mod=WSJ_Tech_LEADTop&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;UPDATE:&lt;/b&gt; They sold &lt;b&gt;1.7&lt;/b&gt; million. Apple's most successful product release
in it's history. 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=760da6ad-b4f4-401b-9a0b-283fb644183e" /&gt;</description>
      <comments>http://bencoffman.com/blog/CommentView,guid,760da6ad-b4f4-401b-9a0b-283fb644183e.aspx</comments>
      <category>apple</category>
      <category>iphone</category>
      <category>Mac</category>
    </item>
    <item>
      <trackback:ping>http://bencoffman.com/blog/Trackback.aspx?guid=aa6568ba-48f1-4b14-bfed-332818037c31</trackback:ping>
      <pingback:server>http://bencoffman.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://bencoffman.com/blog/PermaLink,guid,aa6568ba-48f1-4b14-bfed-332818037c31.aspx</pingback:target>
      <dc:creator>Ben Coffman</dc:creator>
      <wfw:comment>http://bencoffman.com/blog/CommentView,guid,aa6568ba-48f1-4b14-bfed-332818037c31.aspx</wfw:comment>
      <wfw:commentRss>http://bencoffman.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=aa6568ba-48f1-4b14-bfed-332818037c31</wfw:commentRss>
      <body 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" /></body>
      <title>When to use the * (star) with Objective C</title>
      <guid isPermaLink="false">http://bencoffman.com/blog/PermaLink,guid,aa6568ba-48f1-4b14-bfed-332818037c31.aspx</guid>
      <link>http://bencoffman.com/blog/2010/06/12/WhenToUseTheStarWithObjectiveC.aspx</link>
      <pubDate>Sat, 12 Jun 2010 15:59:04 GMT</pubDate>
      <description>&lt;img src="http://bencoffman.com/blog/content/binary/Screen%20shot%202009-09-17%20at%208.55.44%20PM.png"&gt;
&lt;br&gt;
&lt;br&gt;
It's a good question. 
&lt;br&gt;
&lt;br&gt;
There are some types that are not derived from NSObject, these types are called "Primitive
Types." Some examples of these types are 
&lt;br&gt;
&lt;ol&gt;
&lt;li&gt;
int&lt;/li&gt;
&lt;li&gt;
bool&lt;/li&gt;
&lt;li&gt;
short&lt;/li&gt;
&lt;li&gt;
long&lt;/li&gt;
&lt;li&gt;
double&lt;/li&gt;
&lt;li&gt;
char&lt;/li&gt;
&lt;/ol&gt;
Sooooo basically any type that is not derived from the NSObject class is a Primitive
type and does not require a "*".&lt;br&gt;
&lt;br&gt;
Now I bet you are wondering how do I figure out if it's a primitive type or not. 
&lt;br&gt;
&lt;ol&gt;
&lt;li&gt;
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.&lt;br&gt;
&lt;/li&gt;
&lt;br&gt;
&lt;img src="http://bencoffman.com/blog/content/binary/Screen%20shot%202010-06-12%20at%2011.44.07%20AM.png" border="0"&gt;
&lt;br&gt;
&lt;br&gt;
&lt;li&gt;
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 "*".&lt;br&gt;
&lt;br&gt;
&lt;img src="http://bencoffman.com/blog/content/binary/Screen%20shot%202010-06-12%20at%2011.49.43%20AM.png" border="0"&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;img src="http://bencoffman.com/blog/content/binary/Screen%20shot%202010-06-12%20at%2011.55.21%20AM.png" border="0"&gt;
&lt;/li&gt;&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Note:&lt;/b&gt;
&lt;br&gt;
There are some alternatives to using the primitive type &lt;i&gt;int&lt;/i&gt;, such as the reference
type &lt;i&gt;NSInteger,&lt;/i&gt; 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.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Just for fun:&lt;/b&gt;
&lt;br&gt;
In .Net they have primitive types too(I believe they call them &lt;i&gt;value types&lt;/i&gt;),
kinda. The compiler recognizes traditional primitive types and therefore lets you
use the syntax&lt;br&gt;
&lt;br&gt;
&lt;i&gt;int i = 5;&lt;/i&gt;
&lt;br&gt;
&lt;br&gt;
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:&lt;br&gt;
&lt;br&gt;
&lt;i&gt;System.Int32 i = new System.Int32(5);&lt;/i&gt;
&lt;br&gt;
&lt;code&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/code&gt;
&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;br&gt;
&lt;img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=aa6568ba-48f1-4b14-bfed-332818037c31" /&gt;</description>
      <comments>http://bencoffman.com/blog/CommentView,guid,aa6568ba-48f1-4b14-bfed-332818037c31.aspx</comments>
      <category>.Net</category>
      <category>Mac</category>
      <category>Mac OS X</category>
      <category>Objective C</category>
      <category>Windows</category>
    </item>
    <item>
      <trackback:ping>http://bencoffman.com/blog/Trackback.aspx?guid=4111d2ef-0738-4e14-8140-55e87febe47e</trackback:ping>
      <pingback:server>http://bencoffman.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://bencoffman.com/blog/PermaLink,guid,4111d2ef-0738-4e14-8140-55e87febe47e.aspx</pingback:target>
      <dc:creator>Ben Coffman</dc:creator>
      <wfw:comment>http://bencoffman.com/blog/CommentView,guid,4111d2ef-0738-4e14-8140-55e87febe47e.aspx</wfw:comment>
      <wfw:commentRss>http://bencoffman.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=4111d2ef-0738-4e14-8140-55e87febe47e</wfw:commentRss>
      <body 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" /></body>
      <title>Mission Repair -- Getting all things Apple repaired outside of the Apple store.</title>
      <guid isPermaLink="false">http://bencoffman.com/blog/PermaLink,guid,4111d2ef-0738-4e14-8140-55e87febe47e.aspx</guid>
      <link>http://bencoffman.com/blog/2010/04/24/MissionRepairGettingAllThingsAppleRepairedOutsideOfTheAppleStore.aspx</link>
      <pubDate>Sat, 24 Apr 2010 02:48:33 GMT</pubDate>
      <description>&lt;img src="http://bencoffman.com/blog/content/binary/Capture.PNG"&gt;
&lt;br&gt;
&lt;br&gt;
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 &lt;a href="http://revision3.com/diggnation/"&gt;Diggnation&lt;/a&gt; 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.&amp;nbsp; 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.&lt;br&gt;
&lt;br&gt;
I woke up in the morning hoping the laptop would have somehow healed itself. It didn’t.
Apple store here I come.&amp;nbsp; $1200 bucks, ahhh no thank you, any other solutions
I ask the genius dude. He gently says, yes, &lt;a href="http://www.missionrepair.com/"&gt;Mission
Repair&lt;/a&gt;. Doing a little research I find them online, &lt;a href="http://www.engadget.com/2010/02/02/apple-ipad-rumor-roundup-abraham-zapruder-edition/"&gt;engadget &lt;/a&gt;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.&amp;nbsp; Done Deal. 30 minutes later I walk
out with a fully functional screen on my Macbook&lt;br&gt;
&lt;br&gt;
I will be working with &lt;a href="http://www.missionrepair.com"&gt;Mission Repair&lt;/a&gt; quite
a bit more for my out of warranty repairs.&lt;img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=4111d2ef-0738-4e14-8140-55e87febe47e" /&gt;</description>
      <comments>http://bencoffman.com/blog/CommentView,guid,4111d2ef-0738-4e14-8140-55e87febe47e.aspx</comments>
      <category>Mac</category>
    </item>
    <item>
      <trackback:ping>http://bencoffman.com/blog/Trackback.aspx?guid=2da74c67-1ee4-47f8-9bdc-8f5472d2f731</trackback:ping>
      <pingback:server>http://bencoffman.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://bencoffman.com/blog/PermaLink,guid,2da74c67-1ee4-47f8-9bdc-8f5472d2f731.aspx</pingback:target>
      <dc:creator>Ben Coffman</dc:creator>
      <wfw:comment>http://bencoffman.com/blog/CommentView,guid,2da74c67-1ee4-47f8-9bdc-8f5472d2f731.aspx</wfw:comment>
      <wfw:commentRss>http://bencoffman.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=2da74c67-1ee4-47f8-9bdc-8f5472d2f731</wfw:commentRss>
      <body 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 />
When is the right time to use dot notation vs bracket notation in objective C, or
should I not use dot notation at all? I searched around for information on this, read
quite a few opinions, but this <a href="http://eschatologist.net/blog/?p=160">blog
post</a> seems to give an answer of <i>why</i>.  I quote the most important part;
I suggest you don't read the blog post. The post is very technical and what you really
want to know is right below here. If you need to know the details, eschatology does
a great job at giving them. 
<br /><br />
Most important parts of blog post:<br /><ul><li>
Use dot notation to get and set objects’ state.</li><li>
Use bracket notation to invoke objects’ behavior.</li></ul><br />
Eschatology -- <a href="http://eschatologist.net/blog/?p=160">http://eschatologist.net/blog/?p=160</a><br /><br />
A bit of a dark name for a blog, but the name doesn't affect the quality of the post.<br /><p></p><img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=2da74c67-1ee4-47f8-9bdc-8f5472d2f731" /></body>
      <title>Objective C -- When to use dot notation vs bracket notation</title>
      <guid isPermaLink="false">http://bencoffman.com/blog/PermaLink,guid,2da74c67-1ee4-47f8-9bdc-8f5472d2f731.aspx</guid>
      <link>http://bencoffman.com/blog/2010/04/22/ObjectiveCWhenToUseDotNotationVsBracketNotation.aspx</link>
      <pubDate>Thu, 22 Apr 2010 00:50:48 GMT</pubDate>
      <description>&lt;img src="http://bencoffman.com/blog/content/binary/Screen%20shot%202009-09-17%20at%208.55.44%20PM.png"&gt;
&lt;br&gt;
When is the right time to use dot notation vs bracket notation in objective C, or
should I not use dot notation at all? I searched around for information on this, read
quite a few opinions, but this &lt;a href="http://eschatologist.net/blog/?p=160"&gt;blog
post&lt;/a&gt; seems to give an answer of &lt;i&gt;why&lt;/i&gt;.&amp;nbsp; I quote the most important part;
I suggest you don't read the blog post. The post is very technical and what you really
want to know is right below here. If you need to know the details, eschatology does
a great job at giving them. 
&lt;br&gt;
&lt;br&gt;
Most important parts of blog post:&lt;br&gt;
&lt;ul&gt;
&lt;li&gt;
Use dot notation to get and set objects’ state.&lt;/li&gt;
&lt;li&gt;
Use bracket notation to invoke objects’ behavior.&lt;/li&gt;
&lt;/ul&gt;
&lt;br&gt;
Eschatology -- &lt;a href="http://eschatologist.net/blog/?p=160"&gt;http://eschatologist.net/blog/?p=160&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;
A bit of a dark name for a blog, but the name doesn't affect the quality of the post.&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=2da74c67-1ee4-47f8-9bdc-8f5472d2f731" /&gt;</description>
      <comments>http://bencoffman.com/blog/CommentView,guid,2da74c67-1ee4-47f8-9bdc-8f5472d2f731.aspx</comments>
      <category>Mac</category>
      <category>Objective C</category>
    </item>
    <item>
      <trackback:ping>http://bencoffman.com/blog/Trackback.aspx?guid=431e0740-bc17-4b05-b9bb-157fa113fea8</trackback:ping>
      <pingback:server>http://bencoffman.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://bencoffman.com/blog/PermaLink,guid,431e0740-bc17-4b05-b9bb-157fa113fea8.aspx</pingback:target>
      <dc:creator>Ben Coffman</dc:creator>
      <wfw:comment>http://bencoffman.com/blog/CommentView,guid,431e0740-bc17-4b05-b9bb-157fa113fea8.aspx</wfw:comment>
      <wfw:commentRss>http://bencoffman.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=431e0740-bc17-4b05-b9bb-157fa113fea8</wfw:commentRss>
      <title>Comparing Values with Objective C, Alpha Or Numeric</title>
      <guid isPermaLink="false">http://bencoffman.com/blog/PermaLink,guid,431e0740-bc17-4b05-b9bb-157fa113fea8.aspx</guid>
      <link>http://bencoffman.com/blog/2010/01/02/ComparingValuesWithObjectiveCAlphaOrNumeric.aspx</link>
      <pubDate>Sat, 02 Jan 2010 01:51:02 GMT</pubDate>
      <description>&lt;img src="http://bencoffman.com/blog/content/binary/Screen%20shot%202009-09-17%20at%208.55.44%20PM.png"&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;The Problem:&lt;/b&gt;
&lt;br&gt;
Not being able to do a simple compare in an "if statement" between two alpha or numerical
statements while programing in objective C.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;The Solution:&lt;/b&gt;&lt;span style="color: Black; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;
&lt;br&gt;
&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;a href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html#//apple_ref/doc/c_ref/NSOrderedSame"&gt;NSOrderedSame&lt;/a&gt;&lt;/b&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Example Of Use:&lt;/b&gt;
&lt;br&gt;
This compares the value of "key" to the value of "support." If they are equal then
you get a return value of true.&lt;span style="color: Black; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;
&lt;br&gt;
&lt;/span&gt;&lt;/span&gt;&lt;blockquote&gt;
&lt;div align="left"&gt;&lt;span style="color: Black; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;if&lt;/span&gt; ([key
compare:Support] == NSOrderedSame) &lt;/span&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;/blockquote&gt;&lt;b&gt;Explanation:&lt;/b&gt;
&lt;br&gt;
For some reason Objective-C decided to make it a little bit harder to compare values.
Instead of just using the traditional way "[key compare:Support]" return a true value
for the if statement OR "([key compare:Support] == 0) OR "([key compare:Support] ==
true)" they decided to make it a little bit more complex. As demonstrated above. I'm
sure the writers of Objective-C have a good reason for this, but one more level of
abstraction could make Objective-C that much friendlier to it's programmers and isn't
that what it's all about in the end...getting more people to develop in your language.&lt;br&gt;
&lt;br&gt;
&lt;i&gt;Some of other comparisons you might want to use are:&lt;br&gt;
&lt;/i&gt;&lt;a href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html#//apple_ref/doc/c_ref/NSOrderedAscending"&gt;&lt;b&gt;NSOrderedAscending&lt;/b&gt;&lt;/a&gt; --
The left operand is smaller than the right operand. 
&lt;br&gt;&lt;" in most languages.&lt;br&gt;
This is equivalent to using "&lt;br&gt;
&lt;a href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html#//apple_ref/doc/c_ref/NSOrderedDescending"&gt;&lt;b&gt;NSOrderedDescending&lt;/b&gt;&lt;/a&gt; --
The left operand is greater than the right operand.&lt;br&gt;
This is equivalent to using "&gt;" in most languages.&lt;img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=431e0740-bc17-4b05-b9bb-157fa113fea8" /&gt;</description>
      <comments>http://bencoffman.com/blog/CommentView,guid,431e0740-bc17-4b05-b9bb-157fa113fea8.aspx</comments>
      <category>Mac</category>
      <category>Mac OS X</category>
      <category>Objective C</category>
    </item>
    <item>
      <trackback:ping>http://bencoffman.com/blog/Trackback.aspx?guid=eb945d61-1ed0-4b34-aab0-b711813b9b60</trackback:ping>
      <pingback:server>http://bencoffman.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://bencoffman.com/blog/PermaLink,guid,eb945d61-1ed0-4b34-aab0-b711813b9b60.aspx</pingback:target>
      <dc:creator>Ben Coffman</dc:creator>
      <wfw:comment>http://bencoffman.com/blog/CommentView,guid,eb945d61-1ed0-4b34-aab0-b711813b9b60.aspx</wfw:comment>
      <wfw:commentRss>http://bencoffman.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=eb945d61-1ed0-4b34-aab0-b711813b9b60</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <div style="text-align: left;">
          <img src="http://bencoffman.com/blog/content/binary/Screen%20shot%202009-09-17%20at%208.55.44%20PM.png" style="width: 151px; height: 145px;" />
        </div>
        <b>
          <br />
Error Readout:</b>
        <br />
unable to read unknown load command 0x80000022<br /><br /><b>Fix:</b><br />
Upgrade to xCode 3.2 with the 10.6 libraries.<br /><br /><b>Explanation:</b><br />
This error doesn't do anything to your application except provide some really annoying
output to your <i>Debugger Console</i>. File under annoying. You can get xCode 3.2 <b><a href="https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20481">DOWNLOAD
HERE</a></b> for free at the apple website. It will require you to create a login. 
<br /><img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=eb945d61-1ed0-4b34-aab0-b711813b9b60" /></body>
      <title>unable to read unknown load command 0x80000022</title>
      <guid isPermaLink="false">http://bencoffman.com/blog/PermaLink,guid,eb945d61-1ed0-4b34-aab0-b711813b9b60.aspx</guid>
      <link>http://bencoffman.com/blog/2009/09/18/unableToReadUnknownLoadCommand0x80000022.aspx</link>
      <pubDate>Fri, 18 Sep 2009 02:01:43 GMT</pubDate>
      <description>&lt;div style="text-align: left;"&gt;&lt;img src="http://bencoffman.com/blog/content/binary/Screen%20shot%202009-09-17%20at%208.55.44%20PM.png" style="width: 151px; height: 145px;"&gt;
&lt;/div&gt;
&lt;b&gt;
&lt;br&gt;
Error Readout:&lt;/b&gt;
&lt;br&gt;
unable to read unknown load command 0x80000022&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Fix:&lt;/b&gt;
&lt;br&gt;
Upgrade to xCode 3.2 with the 10.6 libraries.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Explanation:&lt;/b&gt;
&lt;br&gt;
This error doesn't do anything to your application except provide some really annoying
output to your &lt;i&gt;Debugger Console&lt;/i&gt;. File under annoying. You can get xCode 3.2 &lt;b&gt;&lt;a href="https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20481"&gt;DOWNLOAD
HERE&lt;/a&gt;&lt;/b&gt; for free at the apple website. It will require you to create a login. 
&lt;br&gt;
&lt;img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=eb945d61-1ed0-4b34-aab0-b711813b9b60" /&gt;</description>
      <comments>http://bencoffman.com/blog/CommentView,guid,eb945d61-1ed0-4b34-aab0-b711813b9b60.aspx</comments>
      <category>Mac</category>
      <category>Mac OS X</category>
      <category>Objective C</category>
    </item>
    <item>
      <trackback:ping>http://bencoffman.com/blog/Trackback.aspx?guid=07d96b0d-b1c5-451b-ba43-c26bc272ac9e</trackback:ping>
      <pingback:server>http://bencoffman.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://bencoffman.com/blog/PermaLink,guid,07d96b0d-b1c5-451b-ba43-c26bc272ac9e.aspx</pingback:target>
      <dc:creator>Ben Coffman</dc:creator>
      <wfw:comment>http://bencoffman.com/blog/CommentView,guid,07d96b0d-b1c5-451b-ba43-c26bc272ac9e.aspx</wfw:comment>
      <wfw:commentRss>http://bencoffman.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=07d96b0d-b1c5-451b-ba43-c26bc272ac9e</wfw:commentRss>
      <title>Mac OS X Snow Leopard</title>
      <guid isPermaLink="false">http://bencoffman.com/blog/PermaLink,guid,07d96b0d-b1c5-451b-ba43-c26bc272ac9e.aspx</guid>
      <link>http://bencoffman.com/blog/2009/08/30/MacOSXSnowLeopard.aspx</link>
      <pubDate>Sun, 30 Aug 2009 20:10:00 GMT</pubDate>
      <description>&lt;img src="http://bencoffman.com/blog/content/binary/Snow%20Leopard.jpg" style="float: left; margin-left: 0px; margin-right: 1em; width: 200px; height: 200px;"&gt;Snow
Leopard has only been out since Friday, but a few people got the OS upgrade early
and blogged all the good stuff. Knowing this, I'm still going to blog about the new
OS from Apple.&lt;br&gt;
&lt;div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;I'll cover the price, the security upgrade, the cool new features, the size reduction
and make a fun little video demonstrating some of the features in Snow Leopard.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;$29 dollars. The low price is largely because Snow Leopard is more of an upgrade
than a whole new OS. It offers only a few new flashy features that mac users have
come to expect. Most of its added features are in unseen functionality such as &lt;a id="a:jv" href="http://www.apple.com/macosx/technology/" title="Grand Central Dispatch"&gt;Grand
Central Dispatch,&lt;/a&gt; that most will never see or care about. Just knowing their computer
runs faster is good enough. Examining these aspects Apple marketing said $29 bucks
is a fair price. I agree, skip a few drinks this weekend and you have your new upgrade.
&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;Security has always been a big aspect enthusiast place on Apple vs. Windows.
Sadly even with this new upgrade, Snow Leopard is not as secure Windows 7. Windows
7 has some new security functionality, such as&amp;nbsp;Address Space Layout Randomization
(ASLR) and Data Execution Prevention (DEP). Elinor Mills wrote a great article on
it &lt;a id="xh:x" href="http://news.cnet.com/8301-27080_3-10318943-245.html?tag=newsLeadStoriesArea.1" title="here"&gt;here&lt;/a&gt;.
The real question about Max OS X security: does Apple need to have the latest security
practices incorporated into their OS? If their OS isn't being targeted, yet, why put
a large costly focus on having the newest security practices when it doesn't reduce
any potential threats on their OS. This is a small advantage Apple has by having 5%
market share next to Windows world domination market share. 
&lt;br&gt;
&lt;b&gt;SIDE NOTE:&lt;/b&gt; This will most likely be changing with future generations, have
you seen a college lecture hall these days, it looks like a &lt;a id="f.hw" href="http://tusb.stanford.edu/Computers%20and%20Lecture.jpg" title="glowing apple orchard"&gt;glowing
apple orchard&lt;/a&gt;.
&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;apple great="" adding="" functionality="" that="" you="" can="" show="" your="" friends="" which="" invokes="" response="" awe="" cool,="" usually="" ending="" statement="" i="" really="" need="" just="" get="" mac.="" most="" notable="" to="" me="" is="" snow="" leopard="" s="" integration="" with="" exchange="" server,="" this="" helps="" move="" computers="" into="" the="" corporate="" market="" largely="" untaped="" world="" for="" apple.="" very="" cool="" new="" preview="" features,="" demonstrated="" below,="" more="" information="" about="" surrounding="" wifi="" networks,="" scrollable="" stacks,="" and="" a="" handful="" of="" other="" small="" refinements.=""&gt;
&lt;/apple&gt;
&lt;/div&gt;
&lt;div&gt;Finally the upgrade has the potential to reduce the size of the OS's footprint
on your hard drive up to half in some cases. Curiosity has me wondering how they did
such dramatic size reductions while still adding functionality.
&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;object width="750" height="480"&gt;
&lt;param name="movie" value="http://www.bencoffman.com/2009-08-30_1438.swf"&gt;
&lt;embed src="http://www.bencoffman.com/2009-08-30_1438.swf" width="750" height="480"&gt; 
&lt;/object&gt;
&lt;img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=07d96b0d-b1c5-451b-ba43-c26bc272ac9e" /&gt;</description>
      <comments>http://bencoffman.com/blog/CommentView,guid,07d96b0d-b1c5-451b-ba43-c26bc272ac9e.aspx</comments>
      <category>Mac</category>
      <category>Mac OS X</category>
      <category>Snow Leopard</category>
    </item>
    <item>
      <trackback:ping>http://bencoffman.com/blog/Trackback.aspx?guid=66545fa3-a20e-4869-abc2-276e14fbd9d3</trackback:ping>
      <pingback:server>http://bencoffman.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://bencoffman.com/blog/PermaLink,guid,66545fa3-a20e-4869-abc2-276e14fbd9d3.aspx</pingback:target>
      <dc:creator>Ben Coffman</dc:creator>
      <wfw:comment>http://bencoffman.com/blog/CommentView,guid,66545fa3-a20e-4869-abc2-276e14fbd9d3.aspx</wfw:comment>
      <wfw:commentRss>http://bencoffman.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=66545fa3-a20e-4869-abc2-276e14fbd9d3</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">The love I have for Apple continually grows
stronger. Here's why. Other then Apple's continual innovation, leading the market
in trends: iPod, iPhone, iTunes, superior technology in their OS, and overall beauty,
their customer service really wraps up the complete package nicely. 
<br /><br /><div>My latest example is an expanding battery (see image). An issue that has been
tracked back not to a specific computer manufacturer, but to the <a id="oun9" href="http://www.engadget.com/2006/08/14/dell-recalls-4-1-million-batteries/" title="company">company</a> who
makes the batteries. This <a id="e:qz" href="http://www.engadget.com/2006/08/14/dell-recalls-4-1-million-batteries/" title="company">company</a> sells
these batteries to Dell and Apple. Understanding the fact that each manufacturer (Apple
and Dell) gets the batteries from the same location, how they deal with the situation
is the issue at hand. 
<br /><br /><b>Scenario 1</b><b>-- Dell</b><br />
Had I bought a Dell with Microsoft Windows, I would have to call Dell, speak with
an Indian representative (work through a language barrier that is only exasperated
over the phone), have Dell email a return slip, print the return slip, mail the battery
back and have Dell send me a new battery, a 2 day process at minimum. In my experience
I would estimate 3-4 days. 
<br /></div><br /><div><div id="kl23" style="padding: 1em 0pt; text-align: center;"><img src="http://bencoffman.com/blog/content/binary/expandingbattery.jpg" /></div></div><br /><div><br /><b>Scenario 2 -- Apple</b><br /></div><div>Not the case with Apple. I go online, make an appointment at my local <a id="erbz" href="http://www.apple.com/retail/geniusbar/" title="genius bar">genius
bar</a> for 7:15 PM the very same day, (note: Apple store is open until 9:00 PM on
a Saturday...wow), walk in at 7:15 PM, an "Apple Genius" sees me promptly; takes one
look at the battery and tells me I have a defective battery. Next the "Apple Genius"
goes in the back gets a new battery, scans the old battery's and new battery's barcode
and slides the new battery into my laptop. He then looks at me and says, "You are
good to go." Wait?... what?... 7 minutes, that's it? No out of coverage warranty talk
or I need your name, your address and the name of your first born? ...Nice, peace
"Apple Genius". It took more time to walk from my parking spot to the store than the
appointment itself. That is what makes a lifetime Apple customer!
</div><img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=66545fa3-a20e-4869-abc2-276e14fbd9d3" /></body>
      <title>My Mac is better than your Dell</title>
      <guid isPermaLink="false">http://bencoffman.com/blog/PermaLink,guid,66545fa3-a20e-4869-abc2-276e14fbd9d3.aspx</guid>
      <link>http://bencoffman.com/blog/2009/02/04/MyMacIsBetterThanYourDell.aspx</link>
      <pubDate>Wed, 04 Feb 2009 00:36:42 GMT</pubDate>
      <description>The love I have for Apple continually grows stronger.  Here's why.
Other then Apple's continual innovation, leading the market in trends:
iPod, iPhone, iTunes, superior technology in their OS, and overall
beauty, their customer service really wraps up the complete package nicely. &lt;br&gt;
&lt;br&gt;
&lt;div&gt;My latest example is an expanding battery (see image). An issue that has been
tracked back not to a specific computer manufacturer, but to the &lt;a id="oun9" href="http://www.engadget.com/2006/08/14/dell-recalls-4-1-million-batteries/" title="company"&gt;company&lt;/a&gt; who
makes the batteries. This &lt;a id="e:qz" href="http://www.engadget.com/2006/08/14/dell-recalls-4-1-million-batteries/" title="company"&gt;company&lt;/a&gt; sells
these batteries to Dell and Apple. Understanding the fact that each manufacturer (Apple
and Dell) gets the batteries from the same location, how they deal with the situation
is the issue at hand. 
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Scenario 1&lt;/b&gt; &lt;b&gt;-- Dell&lt;/b&gt;
&lt;br&gt;
Had I bought a Dell with Microsoft Windows, I would have to call Dell, speak with
an Indian representative (work through a language barrier that is only exasperated
over the phone), have Dell email a return slip, print the return slip, mail the battery
back and have Dell send me a new battery, a 2 day process at minimum. In my experience
I would estimate 3-4 days. 
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;div&gt;
&lt;div id="kl23" style="padding: 1em 0pt; text-align: center;"&gt;&lt;img src="http://bencoffman.com/blog/content/binary/expandingbattery.jpg"&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;div&gt;
&lt;br&gt;
&lt;b&gt;Scenario 2 -- Apple&lt;/b&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;Not the case with Apple. I go online, make an appointment at my local &lt;a id="erbz" href="http://www.apple.com/retail/geniusbar/" title="genius bar"&gt;genius
bar&lt;/a&gt; for 7:15 PM the very same day, (note: Apple store is open until 9:00 PM on
a Saturday...wow), walk in at 7:15 PM, an "Apple Genius" sees me promptly; takes one
look at the battery and tells me I have a defective battery. Next the "Apple Genius"
goes in the back gets a new battery, scans the old battery's and new battery's barcode
and slides the new battery into my laptop. He then looks at me and says, "You are
good to go." Wait?... what?... 7 minutes, that's it? No out of coverage warranty talk
or I need your name, your address and the name of your first born? ...Nice, peace
"Apple Genius". It took more time to walk from my parking spot to the store than the
appointment itself. That is what makes a lifetime Apple customer!
&lt;/div&gt;
&lt;img width="0" height="0" src="http://bencoffman.com/blog/aggbug.ashx?id=66545fa3-a20e-4869-abc2-276e14fbd9d3" /&gt;</description>
      <comments>http://bencoffman.com/blog/CommentView,guid,66545fa3-a20e-4869-abc2-276e14fbd9d3.aspx</comments>
      <category>Mac</category>
    </item>
  </channel>
</rss>