<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.6" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Apple&#8217;s Cocoa&#8217;s NSTokenField advance use explained</title>
	<link>http://rene.rebe.de/2006-08-23/apples-cocoas-nstokenfield-advance-use-explained/</link>
	<description>//code, //design, //real life</description>
	<pubDate>Tue, 07 Feb 2012 09:34:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.6</generator>

	<item>
		<title>by: René</title>
		<link>http://rene.rebe.de/2006-08-23/apples-cocoas-nstokenfield-advance-use-explained/#comment-47866</link>
		<pubDate>Mon, 24 Nov 2008 09:23:24 +0000</pubDate>
		<guid>http://rene.rebe.de/2006-08-23/apples-cocoas-nstokenfield-advance-use-explained/#comment-47866</guid>
					<description>In 10.4 drag'n drop just worked with the above code. Due to the usual random code changes on Apple's side between 10.4 (Tiger) and 10.5 (Leopard) drag'n drop no longer "just works". For drag'n drop of NSTokenField token in 10.5 you have to additionally implement:

&lt;blockquote&gt;
- (BOOL)tokenField:(NSTokenField *)tokenField writeRepresentedObjects:(NSArray *)objects toPasteboard:(NSPasteboard *)pboard
&lt;/blockquote&gt;

and

&lt;blockquote&gt;
- (BOOL)tokenField:(NSTokenField *)tokenField writeRepresentedObjects:(NSArray *)objects toPasteboard:(NSPasteboard *)pboard
&lt;/blockquote&gt;


</description>
		<content:encoded><![CDATA[<p>In 10.4 drag&#8217;n drop just worked with the above code. Due to the usual random code changes on Apple&#8217;s side between 10.4 (Tiger) and 10.5 (Leopard) drag&#8217;n drop no longer &#8220;just works&#8221;. For drag&#8217;n drop of NSTokenField token in 10.5 you have to additionally implement:</p>
<blockquote><p>
- (BOOL)tokenField:(NSTokenField *)tokenField writeRepresentedObjects:(NSArray *)objects toPasteboard:(NSPasteboard *)pboard
</p></blockquote>
<p>and</p>
<blockquote><p>
- (BOOL)tokenField:(NSTokenField *)tokenField writeRepresentedObjects:(NSArray *)objects toPasteboard:(NSPasteboard *)pboard
</p></blockquote>
]]></content:encoded>
				</item>
	<item>
		<title>by: Anton</title>
		<link>http://rene.rebe.de/2006-08-23/apples-cocoas-nstokenfield-advance-use-explained/#comment-47821</link>
		<pubDate>Fri, 21 Nov 2008 17:20:55 +0000</pubDate>
		<guid>http://rene.rebe.de/2006-08-23/apples-cocoas-nstokenfield-advance-use-explained/#comment-47821</guid>
					<description>I don't know if I am too late with this article...

But what if we want to drag'n'drop tokents between two NSTokenFields?
I've tried to add another field, but drag'n'dropping turns into just corying the text.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know if I am too late with this article&#8230;</p>
<p>But what if we want to drag&#8217;n'drop tokents between two NSTokenFields?<br />
I&#8217;ve tried to add another field, but drag&#8217;n'dropping turns into just corying the text.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Bloodshed</title>
		<link>http://rene.rebe.de/2006-08-23/apples-cocoas-nstokenfield-advance-use-explained/#comment-31171</link>
		<pubDate>Sat, 23 Feb 2008 14:30:23 +0000</pubDate>
		<guid>http://rene.rebe.de/2006-08-23/apples-cocoas-nstokenfield-advance-use-explained/#comment-31171</guid>
					<description>Thanks you, I found what I was looking for!</description>
		<content:encoded><![CDATA[<p>Thanks you, I found what I was looking for!
</p>
]]></content:encoded>
				</item>
</channel>
</rss>

