<?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 on: A Moveable Beast</title>
	<atom:link href="http://www.red-sweater.com/blog/274/a-moveable-beast/feed" rel="self" type="application/rss+xml" />
	<link>http://www.red-sweater.com/blog/274/a-moveable-beast</link>
	<description>Mac &#38; Technology Writings by Daniel Jalkut</description>
	<pubDate>Wed,  7 Jan 2009 02:02:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jonathan Saggau</title>
		<link>http://www.red-sweater.com/blog/274/a-moveable-beast/comment-page-1#comment-65387</link>
		<dc:creator>Jonathan Saggau</dc:creator>
		<pubDate>Thu, 08 Mar 2007 05:35:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/274/a-moveable-beast#comment-65387</guid>
		<description>I have been thinking of core data and order as well lately.  My stab at it with a double linked list (minus the NSArrayController... that's next, I fear) is available on my blog.

http://www.jonathansaggau.com/blog/2007/02/core_data_double_linked_list_h.html
svn co http://jonathansaggau.com/svn/MOLinkedList</description>
		<content:encoded><![CDATA[<p>I have been thinking of core data and order as well lately.  My stab at it with a double linked list (minus the NSArrayController&#8230; that&#8217;s next, I fear) is available on my blog.</p>
<p><a href="http://www.jonathansaggau.com/blog/2007/02/core_data_double_linked_list_h.html" rel="nofollow">http://www.jonathansaggau.com/blog/2007/02/core_data_double_linked_list_h.html</a><br />
svn co <a href="http://jonathansaggau.com/svn/MOLinkedList" rel="nofollow">http://jonathansaggau.com/svn/MOLinkedList</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mathieu</title>
		<link>http://www.red-sweater.com/blog/274/a-moveable-beast/comment-page-1#comment-63014</link>
		<dc:creator>mathieu</dc:creator>
		<pubDate>Fri, 02 Mar 2007 14:51:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/274/a-moveable-beast#comment-63014</guid>
		<description>Try CocoaTron as well 

http://groups.google.com/group/cocotron-dev?hl=en</description>
		<content:encoded><![CDATA[<p>Try CocoaTron as well </p>
<p><a href="http://groups.google.com/group/cocotron-dev?hl=en" rel="nofollow">http://groups.google.com/group/cocotron-dev?hl=en</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Jalkut</title>
		<link>http://www.red-sweater.com/blog/274/a-moveable-beast/comment-page-1#comment-63001</link>
		<dc:creator>Daniel Jalkut</dc:creator>
		<pubDate>Fri, 02 Mar 2007 14:33:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/274/a-moveable-beast#comment-63001</guid>
		<description>KFUPM: Not really - Apple owns Cocoa and makes it available only on Mac computers. But there is an open source project called &lt;a href="http://gnustep.org/" rel="nofollow"&gt;GNUStep&lt;/a&gt; which tries to replicate some of the functionality.</description>
		<content:encoded><![CDATA[<p>KFUPM: Not really - Apple owns Cocoa and makes it available only on Mac computers. But there is an open source project called <a href="http://gnustep.org/" rel="nofollow">GNUStep</a> which tries to replicate some of the functionality.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KFUPM</title>
		<link>http://www.red-sweater.com/blog/274/a-moveable-beast/comment-page-1#comment-62899</link>
		<dc:creator>KFUPM</dc:creator>
		<pubDate>Fri, 02 Mar 2007 08:56:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/274/a-moveable-beast#comment-62899</guid>
		<description>is there any version of  Cocoa  works under windows.!</description>
		<content:encoded><![CDATA[<p>is there any version of  Cocoa  works under windows.!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ssanchex</title>
		<link>http://www.red-sweater.com/blog/274/a-moveable-beast/comment-page-1#comment-60471</link>
		<dc:creator>ssanchex</dc:creator>
		<pubDate>Sat, 24 Feb 2007 15:46:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/274/a-moveable-beast#comment-60471</guid>
		<description>Remembering distribution would NOT be very intuitive.</description>
		<content:encoded><![CDATA[<p>Remembering distribution would NOT be very intuitive.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ssanchex</title>
		<link>http://www.red-sweater.com/blog/274/a-moveable-beast/comment-page-1#comment-60470</link>
		<dc:creator>ssanchex</dc:creator>
		<pubDate>Sat, 24 Feb 2007 15:45:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/274/a-moveable-beast#comment-60470</guid>
		<description>Daniel,

sorry, should have just tested it myself!  Yes it seems to work fine the way I would want in FlexTime.  I think remembering distribution would be very intuitive.  Trying to remember exactly what was wrong with my implementation from six months ago (I've removed the code from my head revision) I think I had it working fine but it was going screwy on Undo, I believe because I had (bug ridden) overriddes the add / insert methods of the NSArrayController to also add auto-generation of sequential ID's and the problems had arisen there as a result of not sitting down and designing it first.

So I think I will make very good use of RSRTVArrayController as it doesn't exhibit any of the problems I created for myself.  Thanks.

Sanjay</description>
		<content:encoded><![CDATA[<p>Daniel,</p>
<p>sorry, should have just tested it myself!  Yes it seems to work fine the way I would want in FlexTime.  I think remembering distribution would be very intuitive.  Trying to remember exactly what was wrong with my implementation from six months ago (I&#8217;ve removed the code from my head revision) I think I had it working fine but it was going screwy on Undo, I believe because I had (bug ridden) overriddes the add / insert methods of the NSArrayController to also add auto-generation of sequential ID&#8217;s and the problems had arisen there as a result of not sitting down and designing it first.</p>
<p>So I think I will make very good use of RSRTVArrayController as it doesn&#8217;t exhibit any of the problems I created for myself.  Thanks.</p>
<p>Sanjay</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mathieu</title>
		<link>http://www.red-sweater.com/blog/274/a-moveable-beast/comment-page-1#comment-59855</link>
		<dc:creator>mathieu</dc:creator>
		<pubDate>Thu, 22 Feb 2007 20:59:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/274/a-moveable-beast#comment-59855</guid>
		<description>I had problems because my app already had a delegate and datasource object, for accepting drops from other table views, and something went bitter and twisted when I tried to merge the two. Ah well.</description>
		<content:encoded><![CDATA[<p>I had problems because my app already had a delegate and datasource object, for accepting drops from other table views, and something went bitter and twisted when I tried to merge the two. Ah well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Jalkut</title>
		<link>http://www.red-sweater.com/blog/274/a-moveable-beast/comment-page-1#comment-59696</link>
		<dc:creator>Daniel Jalkut</dc:creator>
		<pubDate>Thu, 22 Feb 2007 13:47:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/274/a-moveable-beast#comment-59696</guid>
		<description>Hmm - you know I hadn't really tested the discontinuous scenario. I just tried it live on &lt;a href="http://www.red-sweater.com/flextime/" rel="nofollow"&gt;FlexTime&lt;/a&gt; (download and try it!), which uses the code.

The short answer is: it works as well as I'd guess it would. The discontiguous items all get moved such that they line up, in order, at the point where they are dragged to.  They don't make any effort to interspace themselves in the list at the same frequency as they were selected, if that's what you're looking for.</description>
		<content:encoded><![CDATA[<p>Hmm - you know I hadn&#8217;t really tested the discontinuous scenario. I just tried it live on <a href="http://www.red-sweater.com/flextime/" rel="nofollow">FlexTime</a> (download and try it!), which uses the code.</p>
<p>The short answer is: it works as well as I&#8217;d guess it would. The discontiguous items all get moved such that they line up, in order, at the point where they are dragged to.  They don&#8217;t make any effort to interspace themselves in the list at the same frequency as they were selected, if that&#8217;s what you&#8217;re looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ssanchex</title>
		<link>http://www.red-sweater.com/blog/274/a-moveable-beast/comment-page-1#comment-59692</link>
		<dc:creator>ssanchex</dc:creator>
		<pubDate>Thu, 22 Feb 2007 13:39:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/274/a-moveable-beast#comment-59692</guid>
		<description>Just coming back to this to try and work out which of the three to use.  The Adium version doesn't actually handle ordering itself but simply delegates to another arbitrary object where you have to do the work.

The biggest headache I came across when trying to achieve this was discontiguous selections in the drag operation.  I've got a feeling that Daniel's won't handle it cos it looks awfully similar to the code that I came up with.  Daniel, does it work with discontiguous selections?  

The BoundNSTableViewDragAndDropDataSource has simpler re-ordering code and is novel because it uses a reverse ordering on the enumeration, which makes me wonder whether it would handle this case?  I know I can test it, but anyone know from experience?</description>
		<content:encoded><![CDATA[<p>Just coming back to this to try and work out which of the three to use.  The Adium version doesn&#8217;t actually handle ordering itself but simply delegates to another arbitrary object where you have to do the work.</p>
<p>The biggest headache I came across when trying to achieve this was discontiguous selections in the drag operation.  I&#8217;ve got a feeling that Daniel&#8217;s won&#8217;t handle it cos it looks awfully similar to the code that I came up with.  Daniel, does it work with discontiguous selections?  </p>
<p>The BoundNSTableViewDragAndDropDataSource has simpler re-ordering code and is novel because it uses a reverse ordering on the enumeration, which makes me wonder whether it would handle this case?  I know I can test it, but anyone know from experience?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mathieu</title>
		<link>http://www.red-sweater.com/blog/274/a-moveable-beast/comment-page-1#comment-56516</link>
		<dc:creator>mathieu</dc:creator>
		<pubDate>Thu, 15 Feb 2007 12:07:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/274/a-moveable-beast#comment-56516</guid>
		<description>3 soultions - yes, now which one to choose! Persisting order in Core Data managedObjects... what's the best method? Just writing out integers? Or setting relationships? I've experimented with the latter, but had all kinds of circular relationship errors and concequent saving errors. I guess I was not being careful enough. So the former works best for me. Is there a better way? (I'm still new)</description>
		<content:encoded><![CDATA[<p>3 soultions - yes, now which one to choose! Persisting order in Core Data managedObjects&#8230; what&#8217;s the best method? Just writing out integers? Or setting relationships? I&#8217;ve experimented with the latter, but had all kinds of circular relationship errors and concequent saving errors. I guess I was not being careful enough. So the former works best for me. Is there a better way? (I&#8217;m still new)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.378 seconds -->
