NSTableView flashes when updated

2009-09-22 Thread Zephyroth Akash
Hi everybody, I'm creating an application which uses an NSToolbar to switch between views. Several views contain an NSOutlineView and an NSTableView. If the selection change in one of these the current view can be resized to show the correct informations. But if the selection change or if

Re: NSTableView flashes when updated

2009-09-22 Thread Zephyroth Akash
I've tried to enable Core Animation for each views in IB, even for every components. But enabled or not this option doesn't change the fact that my outline and table views flashes. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Remove NSToolbar close button

2009-10-07 Thread Zephyroth Akash
Hi, Is it possible to remove/hide the close button of a NSToolbar ? Zephyroth ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)li

Updating application info plist

2009-10-09 Thread Zephyroth Akash
Hi, I'm facing a weird issue. I get the Info.plist of the app like this. NSMutableDictionary *infoPlist = [[NSBundle mainbundle] infoDictionary]; After the update of some resources I want to write the new version of these resources in the Info.plist. No problem. But when the app execute :

Foundation Tool and NSDistributedNotificationCenter

2009-10-23 Thread Zephyroth Akash
Hi, I'm writing a Foundation Tool which detect some hardware components and launch an application. Once the application is running it ask the user to make a choice and then post a notification to the "daemon". It works fine, the tool get the notification and do its work ... but I'm unab

Fwd: Foundation Tool and NSDistributedNotificationCenter

2009-10-23 Thread Zephyroth Akash
Début du message réexpédié : De : Zephyroth Akash Date : 23 octobre 2009 17:59:48 HAEC À : Jens Alfke Objet : Rép : Foundation Tool and NSDistributedNotificationCenter The tool launch the application. The application post a notification to the tool. The tool get the notification and do

Force subviews to stay in place during live resize

2009-10-24 Thread Zephyroth Akash
I'm creating a view containing different subviews programmatically. Like this: 1 - NSOutlineView 2 - NSView 3 - NSView Added according to the choice made in NSOutlineView: 4 - NSView 5 - NSView 6 - NSView The window is only resized in height. The fact is that when 4, 5 and 6 are added and th

Getting the path to an application with a launchDaemon

2009-11-27 Thread Zephyroth Akash
Hi, I'm actually creating a daemon which then runs in root context and I can't get the path to an application. The command: [[NSWorkspace sharedWorkspace] absolutePathForAppBundleIdentifier:@"com.myCompany.myApp"]; returns NULL but returns the path to my application bundle correctly if us

DADiskMount usage

2009-11-29 Thread Zephyroth Akash
Hi, I need some help to understand what the user-defined context is. Here's the code actually: - (void)mountPartition:(char *)diskName atPath:(NSString *)path { DASessionRef session = NULL; DADiskRefdisk = NULL; CFURLRef url = NULL;

I want to post !!

2009-08-07 Thread Zephyroth Akash
___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com

Retrieving informations about Network Interfaces

2009-12-03 Thread Zephyroth Akash
Hi, I need to extract some informations about Network Interfaces, like getting IOInterfaceExtraFlags , IOInterfaceFlags ... etc. After some search I've found that the related values are defined in bsd/net/if.h ... but where is this file ? I can't find the framework that contains these def

How to determine the type of a motherboard controller

2009-12-05 Thread Zephyroth Akash
Hi, First I apologize if it's not the right list to ask this question. How do I get the class-code definition of a motherboard controller ? All I can do right now is to retrieve the value of this key using IOKit but where this code is defined ? For example, it's seems that audio controller