<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>
      About Objects
      -
      iPhone Development - iPhone SDK Training Forum</title>
    <link>
      http://www.aboutobjects.com/forums/iphone_development/iphone_sdk_training/</link>
    <description>Thoughts, comments, questions, and suggestions on our iPhone SDK training courses and tutorials.
&lt;span style=&quot;color: #666;&quot;&gt; (Please note: postings to this forum must comply with Apple&apos;s current NDA for the iPhone SDK.)&lt;/span&gt;</description>
    <copyright>&nbsp;Copyright 2009&ndash;2010, About Objects, Inc. All rights reserved worldwide.</copyright><generator>Marakana Spark</generator>
    <item>
        <title>XML parsing</title>
        <link>http://www.aboutobjects.com/forums/iphone_development/iphone_sdk_training/13.html</link>
        <author>Yoyo Zhao</author>
        <guid isPermaLink="true">http://www.aboutobjects.com/forums/iphone_development/iphone_sdk_training/13.html</guid>
        <pubDate>Mon, 29 Mar 2010 04:46:33 -0800</pubDate>
        <category>iPhone Development - iPhone SDK Training</category>
        <content:encoded><![CDATA[I having problem to get image parsing by XML from web into a scroll view on iPhone app without interface builder, can u give me an example]]></content:encoded>
      </item>
    <item>
        <title>error with pList and tables</title>
        <link>http://www.aboutobjects.com/forums/iphone_development/iphone_sdk_training/12.html</link>
        <author>Jaime Rae</author>
        <guid isPermaLink="true">http://www.aboutobjects.com/forums/iphone_development/iphone_sdk_training/12.html</guid>
        <pubDate>Wed, 24 Mar 2010 14:16:54 -0800</pubDate>
        <category>iPhone Development - iPhone SDK Training</category>
        <content:encoded><![CDATA[I have created a class that has a tableView and it uses a pList to populate the table. I'm using the same coding we used in our class for a similar project. The program builds with no errors, but when I run it in the simulator and click on the tab related to this table view, I get this error:<br/><br/>Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[&lt;IndianSpringsView 0x564e5b0&gt; setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key New item - 6.'<br/><br/>I set up my pList like we did in class, starting with an Array, then adding dictionaries for the different topics. <br/><br/>Can anyone tell me why this is crashing?<br/><br/>Jaime]]></content:encoded>
      </item>
    <item>
        <title>3.0.1 phone provisioning error solved.</title>
        <link>http://www.aboutobjects.com/forums/iphone_development/iphone_sdk_training/11.html</link>
        <author>Marcos Lara</author>
        <guid isPermaLink="true">http://www.aboutobjects.com/forums/iphone_development/iphone_sdk_training/11.html</guid>
        <pubDate>Sat, 15 Aug 2009 08:52:58 -0800</pubDate>
        <category>iPhone Development - iPhone SDK Training</category>
        <content:encoded><![CDATA[Hello Jonathan and the rest of the AO peps...<br/><br/>so on the flight home from the course i figured out what was going on with release 3.0.1 in Xcode. <br/><br/><strong>the problem: </strong><br/>the iPhone SDK 3.0 does not recognize your development iPhone when connected to Xcode in the Organizer that has been upgraded to 3.0.1 via your normal iTunes sync process. <br/><br/>Organizer shows you the following error: <br/><br/><blockquote>"The version of iPhone OS on <strong>iPhoneXYZ</strong> does not match any of the versions of iPhone OS supported for development with this copy of Xcode. Please restore the device to a version of the OS listed below. If necessary, the latest version of Xcode is available here.<br/><br/>OS Installed on <strong>iPhoneXYZ</strong> is <br/>3.0.1 (7A400)<br/><br/>Xcode Supported iPhone OS Versions<br/>3.0 (7A312g)<br/>2.2.1<br/>2.2<br/>2.1.1<br/>2.1<br/>2.0.2 (5C1)<br/>2.0.1 (5B108)<br/>2.0 (5A347)"<br/></blockquote><br/><br/><strong>the reason:</strong> <br/>apparently any version of the SDK (even 3.1 beta) must have the version of the OS installed on the iPhone in question defined within the directory <em>/Developer/Platforms/iPhoneOS.platform/DeviceSupport/</em><br/><br/>a simple directory listing (<em>ls-l</em>) shows the contents of the <em>/DeviceSupport</em> directory so we can investigate: <br/><br/><blockquote>lrwxr-xr-x  1 root        admin   11 Jun 18 14:06 2.0 (5A345) -&gt; 2.0 (5A347)<br/>drwxrwxr-x  5 root        admin  170 Jun 18 14:06 2.0 (5A347)<br/>lrwxr-xr-x  1 root        admin   11 Jun 18 14:06 2.0.1 (5B108) -&gt; 2.0 (5A347)<br/>lrwxr-xr-x  1 root        admin   11 Jun 18 14:06 2.0.2 (5C1) -&gt; 2.0 (5A347)<br/>drwxrwxr-x  5 root        admin  170 Jun 18 14:06 2.1<br/>lrwxr-xr-x  1 root        admin    3 Jun 18 14:06 2.1.1 -&gt; 2.1<br/>drwxrwxr-x  5 root        admin  170 Jun 18 14:06 2.2<br/>drwxrwxr-x  5 root        admin  170 Jun 18 14:06 2.2.1<br/>drwxrwxr-x  5 root        admin  170 Jun 18 14:06 3.0 (7A341)<br/>(7A341)</blockquote><br/><br/>what is of interest here is that each iterations of OS 2.0 "link" back to its root OS release <em>2.0</em>:<br/><br/><em>2.0.1 (5B108) -&gt; 2.0 (5A347)<br/>2.0.2 (5C1) -&gt; 2.0 (5A347)</em><br/><br/>(note the <em>-&gt;</em> symbol represents a file link on OSX and unix in general). the same goes for <em>2.1.1 -&gt; 2.1</em>n <em>2.1</em> being the root OS in this case. so, by this logic if we create a 'link" from OS 3.0.1 to its root release 3.0 (7A341), Xcode should know which properties OS 3.0.1 needs to inherit and hemce not throw an exception in the organizer and allow us to use 3.0.1 on our iPhones without errors.<br/><br/><strong>the solution:</strong><br/>1) open a terminal window as administrator.<br/><br/>2) change to the directory in question to minimize confusion:<br/><br/><em>cd /Developer/Platforms/iPhoneOS.platform/DeviceSupport/</em><br/> <br/>3) once in the directory <em>/DeviceSupport</em> check for a pre-existing link for <em>3.0.1</em>. <br/><br/>type <em>ls -l</em><br/><br/><em>lrwxr-xr-x  1 user  admin date 5 11:27 <strong>3.0.1 -&gt; 3.0 xxxx</strong></em><br/><br/>if a link for 3.0.1 is present and you're still getting the error in Xcode/Organizer then the link was not correctly created and must be removed and recreated. <br/><br/>remove the existing link:<br/><em>rm 3.0.1</em><br/><br/><em>ls -l</em> to double check that you really removed <em>3.0.1</em>.<br/><br/><strong>4) now we need to create the link for the new OS <em>3.0.1</em> to point back to the root OS <em>3.0 (7A341)</em>.</strong><br/><br/><em>ln</em> is the link command. so type:<br/><em>ln -s 3.0\ \(7A341\) 3.0.1</em><br/><br/>the command line will return with no message. <em>ls -l</em> once more to check that the link was created properly. you should see the following:<br/><br/><em>lrwxr-xr-x  1 user admin date time <strong>3.0.1 -&gt; 3.0 (7A341)</strong></em><br/><br/>5) restart Xcode and *bang* your iPhone will appear as normal and ready to install apps.<br/><br/>more on how a "link" works with in OSX can be found by typing <em>man ln</em> at the command prompt.<br/><br/>hope that helps,<br/><br/>Marcos<br/><br/><br/><br/>]]></content:encoded>
      </item>
    <item>
        <title>Custom event</title>
        <link>http://www.aboutobjects.com/forums/iphone_development/iphone_sdk_training/10.html</link>
        <author>Giovambattista Fazioli</author>
        <guid isPermaLink="true">http://www.aboutobjects.com/forums/iphone_development/iphone_sdk_training/10.html</guid>
        <pubDate>Tue, 14 Jul 2009 06:07:08 -0800</pubDate>
        <category>iPhone Development - iPhone SDK Training</category>
        <content:encoded><![CDATA[Hi,<br/>I have a delegate class and it create a UIView.<br/>Can UIView release an evento to delegate class?<br/><br/>For example, my delegate create runtime N instances of UIView. UIView do something - for example animation (like your sample) - and when finish I have to send a message t o delegate for release instances.<br/><br/>This is possible and correct?<br/><br/>And How?<br/><br/>Thx]]></content:encoded>
      </item>
    <item>
        <title>release a variable</title>
        <link>http://www.aboutobjects.com/forums/iphone_development/iphone_sdk_training/4.html</link>
        <author>Giovambattista Fazioli</author>
        <guid isPermaLink="true">http://www.aboutobjects.com/forums/iphone_development/iphone_sdk_training/4.html</guid>
        <pubDate>Fri, 10 Jul 2009 06:44:45 -0800</pubDate>
        <category>iPhone Development - iPhone SDK Training</category>
        <content:encoded><![CDATA[When I must release a variable?<br/><br/>For example if I release a UIView after add it all work.<br/><br/>But if I release a UIButton after add it the label is hide.<br/><br/>Thx<br/><br/>]]></content:encoded>
      </item>
    <item>
        <title>iPhone 3.0 Examples</title>
        <link>http://www.aboutobjects.com/forums/iphone_development/iphone_sdk_training/2.html</link>
        <author>Jonathan Lehr</author>
        <guid isPermaLink="true">http://www.aboutobjects.com/forums/iphone_development/iphone_sdk_training/2.html</guid>
        <pubDate>Fri, 10 Jul 2009 05:43:16 -0800</pubDate>
        <category>iPhone Development - iPhone SDK Training</category>
        <content:encoded><![CDATA[Please check out the new examples we just posted:<br/><br/>    <a href="http://www.aboutobjects.com/tutorials.html" rel="nofollow">http://www.aboutobjects.com/tutorials.html</a><br/><br/>From the official press release:<br/><br/>Reston, VA - About Objects today released a new set of iPhone 3.0 developer examples as free, downloadable Xcode projects. The example projects form a progressive series designed to take developers from the rudiments of iPhone programming through the development of sophisticated iPhone productivity apps.<br/><br/>The examples released today focus on showing developers how to create iPhone apps without using Interface Builder, since many developers have found Interface Builder confusing initially. About Objects plans to release a set of corresponding iPhone 3.0 examples later this summer that show how to accomplish the same things using Interface Builder, allowing developers to compare the projects side-by-side to get a better understanding of the role that Interface Builder plays.<br/><br/>Developers are free to use the examples for their own learning, and can even use the example code in their own projects if they so choose. Among the example projects included in the initial (1.0) release are the following:<br/><br/>* First App demonstrates the basic steps to configuring an iPhone app's user interface programatically, without requiring an Interface Builder (.nib) file.<br/><br/>* Editable Detail View demonstrates the use of controls such as text fields and buttons, including how to connect controls to the code that implements their behavior.<br/><br/>* Animating a View introduces developers to the fundamentals of using Core Animation to animate view transformations.<br/><br/>* Simple TableView demonstrates how to configure a table view programatically to present a list of values.<br/><br/>* TableView with Navigation builds on the Simple TableView app to show how to use a navigation controller to manage navigating from a list to a detail view by tapping on a table row.<br/><br/>* Editable TableView demonstrates how to add, remove, and reorder rows in a list view, and how to edit model object property values in a detail view.<br/><br/>* TableView File Persistence shows how to create and populate a list of model objects from a property list (plist) file, and how to persist changes to the list.<br/><br/><br/>- Jonathan<br/>]]></content:encoded>
      </item>
    </channel>
</rss>