Icon Overlay on Mac OSX

2012-07-17 Thread Alfian Busyro
Hi, I'm a newbie in Cocoa framework, XCode and also Obj-C. I'm still struggling to create an icon overlay in finder like the one in that dropbox did. During my investigation about this I found that dropbox was using injection method to the finder code using mach_star (https://github.com/rentzs

icon overlay the official way

2012-07-17 Thread Alfian Busyro
Hi all, I trying to recreate what dropbox did with Icon overlay in Mac OSX. I found that dropbox use some hacks to that. I want to know that are there some official ways to do something like this ? Thanks, Alfian ___ Cocoa-dev mailing list (Cocoa-dev@

Re: Icon Overlay on Mac OSX

2012-07-18 Thread Alfian Busyro
Just like I thought, injecting code is not a good way to do this. So, is it impossible to do this without injecting code to Finder ? With Regards, Alfian On 12/07/18 15:18, Kyle Sluder wrote: On Mon, Jul 9, 2012, at 02:34 PM, Alfian Busyro wrote: I want to ask you guy's opinion about

Re: Icon Overlay on Mac OSX

2012-07-22 Thread Alfian Busyro
Actually I'd like to do this. But I'm not the man who made the specification, and my superior want it in the app. Btw, thanks for all replies. Regards, Alfian On 12/07/21 2:28, Uli Kusterer wrote: On 18.07.2012, at 12:37, Alfian Busyro wrote: Just like I thought, injecting code is

FSEvents eventid (or perhaps event)'s life

2012-07-26 Thread Alfian Busyro
Hi, All. Just curious how long an event ID (or perhaps an event) will be exist on the system ? I'd like to store event ID on NSUserDefaults before application terminate itself, and call it back at the startup to be use in new event stream. Regards, Alfian.

Re: FSEvents eventid (or perhaps event)'s life

2012-07-29 Thread Alfian Busyro
drive, the last event ID will not match the one you stored in user defaults from another drive. It's also possible to corrupt the FSEvent database that's stored on each drive in the .fseventsd file in the root directory. HTH, Rob On Jul 27, 2012, at 2:00 AM, Alfian Busyro wrote: Ju

Re: FSEvents eventid (or perhaps event)'s life

2012-07-31 Thread Alfian Busyro
Thanks for all replies. Now I know that event ID is related with device UUID. And about FSEventStore, I google it but I can not found any information of this. can you provide some information of this ? Alfian. On 12/07/31 9:53, Ron Hunsinger wrote: On Jul 30, 2012, at 4:47 AM, Robert Martin

Re: Icon Overlay on Mac OSX

2012-08-01 Thread Alfian Busyro
06/01/08/badging-for-everyone/ Regards Gideon On 09/07/2012, at 3:34 PM, Alfian Busyro <mailto:alfian.bus...@kddi-web.com>> wrote: Hi, I'm a newbie in Cocoa framework, XCode and also Obj-C. I'm still struggling to create an icon overlay in finder like the

Re: Icon Overlay on Mac OSX

2012-08-02 Thread Alfian Busyro
I'll take a look of this. Thanks, Alfian On 12/08/02 14:55, Charles Srstka wrote: On Aug 2, 2012, at 12:47 AM, Jens Alfke wrote: On Jul 18, 2012, at 2:42 AM, Alfian Busyro wrote: I tried this CTBadge, and it gave me a custom application icon after I run it. So a little bit different

Re: Icon Overlay on Mac OSX

2012-08-02 Thread Alfian Busyro
Which you guys mean I have to create the overlay to an Image it self then stick it to a file icon ? I'd try this before but nothing was changed. maybe I'll have try this once again. And for file attributes, can we use setAttributes:ofItemAtPath:error: from NSFileManager ? because there is NSF

Re: Icon Overlay on Mac OSX

2012-08-02 Thread Alfian Busyro
Which you guys mean I have to create the overlay to an Image it self then stick it to a file icon ? I'd try this before but nothing was changed. maybe I'll have try this once again. And for file attributes, can we use setAttributes:ofItemAtPath:error: from NSFileManager ? because there is NSF

Alternative method for makeViewWithIdentifier

2012-08-13 Thread Alfian Busyro
Hi, I have an application that must support minimum OS X. Snow Leopard (10.6). But accidentally I using makeViewWithIdentifier inside a delegate of table view to calling object that created on the nib, unfortunately this is only supported minimum Lion. So instead of using this, what should I do

Re: Alternative method for makeViewWithIdentifier

2012-08-15 Thread Alfian Busyro
ange it to cell-based table view. are there any method that possible to do this ? With Regards, Alfian. On 12/08/13 18:10, Mike Abdullah wrote: You need to go back to old school cell-based table views then. On 13 Aug 2012, at 09:52, Alfian Busyro wrote: Hi, I have an application that must suppo

Re: Alternative method for makeViewWithIdentifier

2012-08-15 Thread Alfian Busyro
You're right. After I looked at Apple Documentation. I realized it. And exactly like what your told, I have to getting use with NSCell old fashion. With Regards, Alfian. On 12/08/14 17:44, Mike Abdullah wrote: On 14 Aug 2012, at 03:16, Alfian Busyro wrote: Thanks for your answer

Create custom NSTableView with a button inside

2012-09-03 Thread Alfian Busyro
Hi guys, I try to implement a list view using|NSTableView|cell-based, but having difficulty creating a button inside the cell column. are there any examples of how to create a custom cell-based table view with a button inside of the column ? ps: I have tried to create custom tableview examp

Re: Create custom NSTableView with a button inside

2012-09-03 Thread Alfian Busyro
main target. On 12/09/04 4:13, Conrad Shultz wrote: On 09/03/2012 05:11 AM, Koen van der Drift wrote: On Sep 3, 2012, at 5:50 AM, Alfian Busyro wrote: are there any examples of how to create a custom cell-based table view with a button inside of the column ? Did you look at the

nstableview without nsscrollview

2012-09-09 Thread Alfian Busyro
I'm thinking to have an un-scrollable nstableview in mac-osx app. because I don't want user to scroll within the table, but have to Is it possible to have a table view without scroll view, or maybe to extract table view from scroll view ? Regards, Alfian. _

Re: nstableview without nsscrollview

2012-09-10 Thread Alfian Busyro
n On 12/09/10 16:35, Kyle Sluder wrote: On Sun, Sep 9, 2012, at 11:17 PM, Alfian Busyro wrote: I'm thinking to have an un-scrollable nstableview in mac-osx app. because I don't want user to scroll within the table, but have to Think very hard about this. Why would you want to do this? W

Re: nstableview without nsscrollview

2012-09-25 Thread Alfian Busyro
le view won't scroll but still bouncing if I try to scroll it within the scrollview. I ended up using a custom list view that can with customizable section. -- Alfian On 12/09/13 6:41, Corbin Dunn wrote: On Sep 10, 2012, at 6:08 PM, Alfian Busyro wrote: >Kyle, thanks for your solution. &

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

Re: kFSEventStreamEventFlagItemRenamed is for rename or trash ?

2012-10-11 Thread Alfian Busyro
this method, I can't find trash directory for NSSearchPathDirectory parameter. Best Regards, Alfian On 12/10/12 0:16, Kyle Sluder wrote: 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.