<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Blog @ Tim Isted</title>
	<atom:link href="http://www.timisted.net/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.timisted.net/blog</link>
	<description>Cocoa Programming and Other Things</description>
	<lastBuildDate>Mon, 19 Sep 2011 03:07:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>Comment on Contact Details by Dionne</title>
		<link>http://www.timisted.net/blog/contact-details/comment-page-1/#comment-20600</link>
		<dc:creator>Dionne</dc:creator>
		<pubDate>Mon, 19 Sep 2011 03:07:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.timisted.net/blog/?page_id=72#comment-20600</guid>
		<description>Hello Tim,
 
I just purchased your book last night from Barnes &amp; Noble.  
I&#039;m so excited about learning.   
Most importantly, I just wanted to say thank you so much as well for updating the information for Xcode 4.  I&#039;m on chapter 2.  It&#039;s going well.  

Thanks again.  :-)</description>
		<content:encoded><![CDATA[<p>Hello Tim,</p>
<p>I just purchased your book last night from Barnes &amp; Noble.<br />
I&#8217;m so excited about learning.<br />
Most importantly, I just wanted to say thank you so much as well for updating the information for Xcode 4.  I&#8217;m on chapter 2.  It&#8217;s going well.  </p>
<p>Thanks again.  <img src='http://www.timisted.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom Table Cells, Bindings and Core Data by Gareth</title>
		<link>http://www.timisted.net/blog/archive/custom-cells-and-core-data/comment-page-1/#comment-19762</link>
		<dc:creator>Gareth</dc:creator>
		<pubDate>Thu, 25 Aug 2011 20:18:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.timisted.net/blog/?p=15#comment-19762</guid>
		<description>Update on this. I&#039;m using your Nib file and your EmployeeTableCell and I still get the damned -[EmployeeTableCell setPlaceholderString:]: unrecognized selector sent to instance 0x10016e1f0 message.

The only thing I&#039;m doing differently to yours is setting the custom cell in awakeFromNib, because I&#039;m using a non document based app, so can&#039;t use windowControllerDidLoadNib...

- (void)awakeFromNib {
    // Set next responder for this view so we can intercept delete key presses
    [mainView setNextResponder:self];
    
    // Set up custom cell for table view
    EmployeeTableCell *statusCell = [[EmployeeTableCell alloc] init];
	[statusTableColumn setDataCell:statusCell];
}</description>
		<content:encoded><![CDATA[<p>Update on this. I&#8217;m using your Nib file and your EmployeeTableCell and I still get the damned -[EmployeeTableCell setPlaceholderString:]: unrecognized selector sent to instance 0x10016e1f0 message.</p>
<p>The only thing I&#8217;m doing differently to yours is setting the custom cell in awakeFromNib, because I&#8217;m using a non document based app, so can&#8217;t use windowControllerDidLoadNib&#8230;</p>
<p>- (void)awakeFromNib {<br />
    // Set next responder for this view so we can intercept delete key presses<br />
    [mainView setNextResponder:self];</p>
<p>    // Set up custom cell for table view<br />
    EmployeeTableCell *statusCell = [[EmployeeTableCell alloc] init];<br />
	[statusTableColumn setDataCell:statusCell];<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom Table Cells, Bindings and Core Data by Gareth</title>
		<link>http://www.timisted.net/blog/archive/custom-cells-and-core-data/comment-page-1/#comment-19759</link>
		<dc:creator>Gareth</dc:creator>
		<pubDate>Thu, 25 Aug 2011 15:58:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.timisted.net/blog/?p=15#comment-19759</guid>
		<description>Hi Tim,

Thanks for the speedy reply. Appreciate your help. I had thought the same thing, why it is trying to use a placeholder when I haven&#039;t set one up and I&#039;m using a NSCell? However there&#039;s definitely no place holder set.

To check I just added a brand new column to my table, set the binding to clientDictionary and all is ok. But then I change the NSTableColumn type to be my CustomCell class, and it crashes with the setPlaceHolderString error.

It&#039;s just too weird!

Any other ideas?

Thanks again.</description>
		<content:encoded><![CDATA[<p>Hi Tim,</p>
<p>Thanks for the speedy reply. Appreciate your help. I had thought the same thing, why it is trying to use a placeholder when I haven&#8217;t set one up and I&#8217;m using a NSCell? However there&#8217;s definitely no place holder set.</p>
<p>To check I just added a brand new column to my table, set the binding to clientDictionary and all is ok. But then I change the NSTableColumn type to be my CustomCell class, and it crashes with the setPlaceHolderString error.</p>
<p>It&#8217;s just too weird!</p>
<p>Any other ideas?</p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom Table Cells, Bindings and Core Data by Tim Isted</title>
		<link>http://www.timisted.net/blog/archive/custom-cells-and-core-data/comment-page-1/#comment-19754</link>
		<dc:creator>Tim Isted</dc:creator>
		<pubDate>Thu, 25 Aug 2011 10:41:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.timisted.net/blog/?p=15#comment-19754</guid>
		<description>Hi Gareth,
Have you set a placeholder string in the xib file? If so, just remove it and all will be fine. The custom cell inherits from &lt;code&gt;NSCell&lt;/code&gt; rather than &lt;code&gt;NSTextFieldCell&lt;/code&gt;. The placeholder string property is only available on &lt;code&gt;NSTextFieldCell&lt;/code&gt;, hence the error you&#039;re seeing.
Tim</description>
		<content:encoded><![CDATA[<p>Hi Gareth,<br />
Have you set a placeholder string in the xib file? If so, just remove it and all will be fine. The custom cell inherits from <code>NSCell</code> rather than <code>NSTextFieldCell</code>. The placeholder string property is only available on <code>NSTextFieldCell</code>, hence the error you&#8217;re seeing.<br />
Tim</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom Table Cells, Bindings and Core Data by Gareth</title>
		<link>http://www.timisted.net/blog/archive/custom-cells-and-core-data/comment-page-1/#comment-19737</link>
		<dc:creator>Gareth</dc:creator>
		<pubDate>Wed, 24 Aug 2011 19:22:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.timisted.net/blog/?p=15#comment-19737</guid>
		<description>Hi Tim,

This is a great tutorial and the clearest I&#039;ve found on this subject. So thank you for that. However! I am having a spot of difficulty despite believing I&#039;ve followed the steps to the letter in my own project.

I get up to the part where you bind to the personDictionary in Interface Builder. I&#039;ve defined personDictionary both in my model and also added the various required functions to the custom managedObject class code. When I run the project, I get the following error and crash:

[CustomCell setPlaceholderString:]: unrecognized selector sent to instance 0x100637f20

If I unbind the personDictionary from the table column or change it back to the NSString firstName, the error goes away.

Do you have any ideas what might be happening or pointers of where to look for problems. This has me stumped!

Appreciate your time.

Thanks,

Gareth.</description>
		<content:encoded><![CDATA[<p>Hi Tim,</p>
<p>This is a great tutorial and the clearest I&#8217;ve found on this subject. So thank you for that. However! I am having a spot of difficulty despite believing I&#8217;ve followed the steps to the letter in my own project.</p>
<p>I get up to the part where you bind to the personDictionary in Interface Builder. I&#8217;ve defined personDictionary both in my model and also added the various required functions to the custom managedObject class code. When I run the project, I get the following error and crash:</p>
<p>[CustomCell setPlaceholderString:]: unrecognized selector sent to instance 0x100637f20</p>
<p>If I unbind the personDictionary from the table column or change it back to the NSString firstName, the error goes away.</p>
<p>Do you have any ideas what might be happening or pointers of where to look for problems. This has me stumped!</p>
<p>Appreciate your time.</p>
<p>Thanks,</p>
<p>Gareth.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Core Data and Sync Services by William Mitchell</title>
		<link>http://www.timisted.net/blog/archive/core-data-and-sync-services/comment-page-1/#comment-17872</link>
		<dc:creator>William Mitchell</dc:creator>
		<pubDate>Thu, 07 Jul 2011 02:14:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.timisted.net/blog/?p=123#comment-17872</guid>
		<description>Tim,

I have your book Core Data for iOS.  Excellent all around!  I wrote a five-star review and updated after completing the book.  I learned a lot.  I have contacted the publisher though because I cannot find the source code even after creating an account on their website and logging in.  The book gives a link which brings up a descriptive page about this book but unless I am near blind, I find no link to the source code.  I advised the publisher that I would update my review and note that the source has been made available.   Meantime if you can send it to me, that would be wonderful.  Best Regards.</description>
		<content:encoded><![CDATA[<p>Tim,</p>
<p>I have your book Core Data for iOS.  Excellent all around!  I wrote a five-star review and updated after completing the book.  I learned a lot.  I have contacted the publisher though because I cannot find the source code even after creating an account on their website and logging in.  The book gives a link which brings up a descriptive page about this book but unless I am near blind, I find no link to the source code.  I advised the publisher that I would update my review and note that the source has been made available.   Meantime if you can send it to me, that would be wonderful.  Best Regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Contact Details by mdeh</title>
		<link>http://www.timisted.net/blog/contact-details/comment-page-1/#comment-16790</link>
		<dc:creator>mdeh</dc:creator>
		<pubDate>Sat, 18 Jun 2011 01:16:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.timisted.net/blog/?page_id=72#comment-16790</guid>
		<description>Tim
Thanks for updating the information for Xcode 4. Much appreciated.</description>
		<content:encoded><![CDATA[<p>Tim<br />
Thanks for updating the information for Xcode 4. Much appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Core Data Migration and Versioning by DonnaLea</title>
		<link>http://www.timisted.net/blog/archive/core-data-migration/comment-page-1/#comment-12849</link>
		<dc:creator>DonnaLea</dc:creator>
		<pubDate>Wed, 23 Mar 2011 02:00:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.timisted.net/blog/?p=181#comment-12849</guid>
		<description>This blog is the only place I could find detailed information on exactly how to migrate between different core data models. It is absolute gold. Thank you very very much.</description>
		<content:encoded><![CDATA[<p>This blog is the only place I could find detailed information on exactly how to migrate between different core data models. It is absolute gold. Thank you very very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Multiple Managed Object Contexts with Core Data by Bill</title>
		<link>http://www.timisted.net/blog/archive/multiple-managed-object-contexts-with-core-data/comment-page-1/#comment-10256</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Mon, 17 Jan 2011 01:37:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.timisted.net/blog/?p=10#comment-10256</guid>
		<description>The Core Recipies sample NSManagedObject subclass contains this helper method for copying entity attributes into another object context. It seems a bit simpler since it leverages NSEntityDescription.

/**
    Copies all of the attribute values from the specified object into the
    current object.  No class comparison is attempted here (to avoid having to
    walk the inheritance tree), so care should be taken to copy values from an
    object with matching keys.
*/

- (void) copyAttributesFromObject: (NSManagedObject *)managedObject {

    // get the array of attribute keys and set the items accordingly
    NSArray *attributeKeys = [[self entity] attributeKeys];
    NSString *attributeName;
    
    // loop through the keys
    int i, count = [attributeKeys count];
    for ( i=0; i&lt;count; i++ ) {
    
        // Get the attribute name, then copy the value
        attributeName = [attributeKeys objectAtIndex: i];
        [self setPrimitiveValue: [managedObject primitiveValueForKey: attributeName] forKey: attributeName];
    }
}</description>
		<content:encoded><![CDATA[<p>The Core Recipies sample NSManagedObject subclass contains this helper method for copying entity attributes into another object context. It seems a bit simpler since it leverages NSEntityDescription.</p>
<p>/**<br />
    Copies all of the attribute values from the specified object into the<br />
    current object.  No class comparison is attempted here (to avoid having to<br />
    walk the inheritance tree), so care should be taken to copy values from an<br />
    object with matching keys.<br />
*/</p>
<p>- (void) copyAttributesFromObject: (NSManagedObject *)managedObject {</p>
<p>    // get the array of attribute keys and set the items accordingly<br />
    NSArray *attributeKeys = [[self entity] attributeKeys];<br />
    NSString *attributeName;</p>
<p>    // loop through the keys<br />
    int i, count = [attributeKeys count];<br />
    for ( i=0; i&lt;count; i++ ) {</p>
<p>        // Get the attribute name, then copy the value<br />
        attributeName = [attributeKeys objectAtIndex: i];<br />
        [self setPrimitiveValue: [managedObject primitiveValueForKey: attributeName] forKey: attributeName];<br />
    }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Multiple Windows with Core Data by Bill</title>
		<link>http://www.timisted.net/blog/archive/multiple-windows-with-core-data/comment-page-1/#comment-10230</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Sun, 16 Jan 2011 04:42:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.timisted.net/blog/?p=3#comment-10230</guid>
		<description>This post was great in helping me understand NSWindowControllers MUCH better. Thanks!
I did need to bind the popups selected value to &#039;Person selection department.name&#039; otherwise the popup text was set to Not Selected.

This was with XCode 3.1.2 on 10.5.</description>
		<content:encoded><![CDATA[<p>This post was great in helping me understand NSWindowControllers MUCH better. Thanks!<br />
I did need to bind the popups selected value to &#8216;Person selection department.name&#8217; otherwise the popup text was set to Not Selected.</p>
<p>This was with XCode 3.1.2 on 10.5.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

