Re: kFSEventStreamEventFlagItemRenamed is for rename or trash ?

2012-10-11 Thread Alfian Busyro
Hi Kyle, Thanks for your respond. After you're told a file has moved, get all the Trash directories using -[NSFileManager URLsForDirectory:inDomains:] and see if the file is a descendant of any one of them. would you mind to give me a simple example of this method ? after I investigate this meth

Re: iOS 6 changes in CATextLayer text drawing

2012-10-11 Thread David Duncan
On Oct 11, 2012, at 1:25 PM, Matt Neuburg wrote: > > On Oct 11, 2012, at 10:54 AM, David Duncan wrote: > >> On Oct 11, 2012, at 10:27 AM, Matt Neuburg wrote: >> (1) CATextLayer in iOS 6 requires an opaque background in order to antialias text. CATextLayer in iOS 5 did not have th

Re: iOS 6 changes in CATextLayer text drawing

2012-10-11 Thread Matt Neuburg
On Oct 11, 2012, at 11:38 AM, Corbin Dunn wrote: > > On Oct 11, 2012, at 10:27 AM, Matt Neuburg wrote: > >>> (1) CATextLayer in iOS 6 requires an opaque background in order to >>> antialias text. CATextLayer in iOS 5 did not have this limitation; it could >>> antialias its text perfectly we

Re: iOS 6 changes in CATextLayer text drawing

2012-10-11 Thread Matt Neuburg
On Oct 11, 2012, at 10:54 AM, David Duncan wrote: > On Oct 11, 2012, at 10:27 AM, Matt Neuburg wrote: > >>> (1) CATextLayer in iOS 6 requires an opaque background in order to >>> antialias text. CATextLayer in iOS 5 did not have this limitation; it could >>> antialias its text perfectly well

Re: iOS 6 changes in CATextLayer text drawing

2012-10-11 Thread Corbin Dunn
On Oct 11, 2012, at 10:27 AM, Matt Neuburg wrote: >> (1) CATextLayer in iOS 6 requires an opaque background in order to antialias >> text. CATextLayer in iOS 5 did not have this limitation; it could antialias >> its text perfectly well even if its background was transparent. Why the >> change

Re: iOS 6 changes in CATextLayer text drawing

2012-10-11 Thread David Duncan
On Oct 11, 2012, at 10:27 AM, Matt Neuburg wrote: >> (1) CATextLayer in iOS 6 requires an opaque background in order to antialias >> text. CATextLayer in iOS 5 did not have this limitation; it could antialias >> its text perfectly well even if its background was transparent. Why the >> change?

Re: iOS 6 changes in CATextLayer text drawing

2012-10-11 Thread Matt Neuburg
> (1) CATextLayer in iOS 6 requires an opaque background in order to antialias > text. CATextLayer in iOS 5 did not have this limitation; it could antialias > its text perfectly well even if its background was transparent. Why the > change? I'm guessing that it's an efficiency boost. I may be c

Re: copy in WebView

2012-10-11 Thread Gerriet M. Denkmann
On 12 Oct 2012, at 00:11, Kyle Sluder wrote: > On Oct 11, 2012, at 10:00 AM, "Gerriet M. Denkmann" > wrote: > >> >> On 11 Oct 2012, at 23:45, Kyle Sluder wrote: >> >>> On Oct 11, 2012, at 8:26 AM, "Gerriet M. Denkmann" >>> wrote: >>> I have a WebView which displays text which conta

Re: copy in WebView

2012-10-11 Thread Kyle Sluder
On Oct 11, 2012, at 10:00 AM, "Gerriet M. Denkmann" wrote: > > On 11 Oct 2012, at 23:45, Kyle Sluder wrote: > >> On Oct 11, 2012, at 8:26 AM, "Gerriet M. Denkmann" >> wrote: >> >>> I have a WebView which displays text which contains some invisible >>> characters (like ZERO WIDTH SPACE). >

Re: copy in WebView

2012-10-11 Thread Kyle Sluder
On Oct 11, 2012, at 8:26 AM, "Gerriet M. Denkmann" wrote: > I have a WebView which displays text which contains some invisible characters > (like ZERO WIDTH SPACE). > When I use Edit→Copy these characters are also put on the pasteboard. > > But this does not make sense. The pasteboard should co

iOS 6 changes in CATextLayer text drawing

2012-10-11 Thread Matt Neuburg
(1) CATextLayer in iOS 6 requires an opaque background in order to antialias text. CATextLayer in iOS 5 did not have this limitation; it could antialias its text perfectly well even if its background was transparent. Why the change? I'm guessing that it's an efficiency boost. (2) CATextLayer in

copy in WebView

2012-10-11 Thread Gerriet M. Denkmann
I have a WebView which displays text which contains some invisible characters (like ZERO WIDTH SPACE). When I use Edit→Copy these characters are also put on the pasteboard. But this does not make sense. The pasteboard should contain the selected text without these invisible characters. How to d

Re: kFSEventStreamEventFlagItemRenamed is for rename or trash ?

2012-10-11 Thread Kyle Sluder
On Thu, Oct 11, 2012, at 03:01 AM, Alfian Busyro wrote: > So what is the differences between these two events (rename and trash) ? There is no difference. The Trash is an abstraction built atop the filesystem. As far as FSEvents is concerned, there's no such thing as the Trash. There's just a move

copy in WebView

2012-10-11 Thread Gerriet M. Denkmann
I have a WebView which displays text which contains some invisible characters (like ZERO WIDTH SPACE). When I use Edit→Copy these characters are also put on the pasteboard. But this does not make sense. The pasteboard should contain the selected text without these invisible characters. How to d

kFSEventStreamEventFlagItemRenamed is for rename or trash ?

2012-10-11 Thread Alfian Busyro
Hi guys, I getting confuse because of FSEvents. Folder or file rename event and move to trash event are have the same event flags that triggered on the system. (which shows below) kFSEventStreamEventFlagNone kFSEventStreamEventFlagItemRenamed kFSEventStreamEventFlagItemIsDir (for folder), kFSE

NSButton Doesn't Respond to Click When it's inside M3NavigationView

2012-10-11 Thread jun1st.f...@gmail.com
I'm using [M3NavigationView] (http://stackoverflow.com/questions/3837556/navigation-application-in-mac) to do view navigations, but there I got a problem when push one view inside(some animation happens here), A button doesn't responds to mouse click most of the time, I'll have to click it twi