[myWindowController window] returns null !

2011-02-23 Thread Louis Demers
pointer it returns null. So I can't do anything else with the window. I'm not using an NSDocument stuff... Any clues ? Thanks Louis Demers eng. www.obzerv.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not po

Re: [myWindowController window] returns null !

2011-02-23 Thread Louis Demers
On 2011-02-23, at 23:36 , Stephen J. Butler wrote: > On Wed, Feb 23, 2011 at 10:26 PM, Louis Demers wrote: >> I instantiate a NSWindowController with the nib file name and call >> showWindow on it. >> >> myWindowController = [[NSWindowController alloc] >> in

Re: [myWindowController window] returns null !

2011-02-23 Thread Louis Demers
On 2011-02-23, at 23:50 , Stephen J. Butler wrote: > On Wed, Feb 23, 2011 at 10:45 PM, Louis Demers wrote: >> No, in my xib, the File's Owner type is set to a custom Object which has >> some IBOutlet that I connect the gui elements to! >> Then, when I call

Re: [myWindowController window] returns null !

2011-02-23 Thread Louis Demers
On 2011-02-24, at 00:22 , Kyle Sluder wrote: > On Wed, Feb 23, 2011 at 8:55 PM, Louis Demers wrote: >> I temporarily set the File's Owner type to a NSWindowController class and >> connected the window to it. Got the same null value > > Rather than trash at the answer

Re: NSWindowController

2011-02-25 Thread Louis Demers
; > 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/mailman/options/cocoa-dev/louisdemers%

NSArraycontroller, Bindings nad NSTableview

2008-07-17 Thread Louis Demers
blem) Thanks. PS: Xcode 3.1 Component versions Xcode IDE: 1099.0 Xcode Core: 1100.0 ToolSupport: 1086.0 IB Version 3.1 (670) Louis Demers eng. www.obzerv.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin reques

Re: NSArraycontroller, Bindings nad NSTableview

2008-07-17 Thread Louis Demers
On 17-Jul-08, at 12:31 , mmalc crawford wrote: On Jul 17, 2008, at 8:52 AM, Louis Demers wrote: A button bound to the "add" or the "insert" method of the NSArrayController just does nothing. Do you mean "bound" or "connected using target action"?

Re: NSArraycontroller, Bindings nad NSTableview

2008-07-17 Thread Louis Demers
On 17-Jul-08, at 12:10 , Sean McBride wrote: On 7/17/08 11:52 AM, Louis Demers said: I've programmed for a while in Cocoa, with bindings... But for the first time I need a NSTableView and I would like to use NSArrayController with bindings to do as much work as possible and wit

Re: NSArraycontroller, Bindings nad NSTableview

2008-07-17 Thread Louis Demers
h Mac OS X v10.4 the result of this method is deferred until the next iteration of the runloop so that the error presentation mechanism can provide feedback as a sheet. - Cheers. On 17-Jul-08, at 11:52 , Louis Demers wrote: Hi, I've programmed for a while in Cocoa, with

How to locate error that occurs while the nib is loading

2008-09-10 Thread Louis Demers
) loadNibNamed:owner:] #22 0x961eefa4 in NSApplicationMain #23 0x2e9c in main at main.m:25 Louis Demers eng. www.obzerv.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Application Architecture or approach

2009-02-11 Thread Louis Demers
ore, newly selected device. I would hate to have to setup 100 of observers ... or manually refresh 100's sliders/textfields/... Hopefully, what I'm trying to do was explained clearly enough so that the collective wisdom of the list can point me toward the optimal approach. thx

Re: Application Architecture or approach

2009-02-11 Thread Louis Demers
On 11-Feb-09, at 20:20 , Kyle Sluder wrote: On Wed, Feb 11, 2009 at 8:07 PM, Louis Demers wrote: Now, I need to rewrite the app so that it can talk to multiple devices. I want to use bindings and write as little code as possible 8-) I'm considering an NSDocument based Application

Re: Application Architecture or approach

2009-02-11 Thread Louis Demers
x27;m just wondering if it is appropriate for what you're trying to do. indeed, I'm not bent on using a document based app, I just tought it mit offer the mechanism or support to help rederriect my palettes' bindings to the proper object. Louis Demers

Re: Application Architecture or approach

2009-02-11 Thread Louis Demers
On 11-Feb-09, at 21:30 , Graham Cox wrote: On 12 Feb 2009, at 12:27 pm, Louis Demers wrote: I Had not thought about plugins because all the devices are identical in capabilities. The devices are complex cameras. I wanted to have each cameras have it document window to display the

Re: Application Architecture or approach

2009-02-11 Thread Louis Demers
On 11-Feb-09, at 23:11 , Graham Cox wrote: On 12 Feb 2009, at 3:04 pm, Louis Demers wrote: I do not care about sticking with that paradigm of one window per camera, but I'm conformable with that approach. But how to I get all the sliders and gui elements of my palettes to now bind t

Re: Application Architecture or approach

2009-02-11 Thread Louis Demers
t one pointer, all your bindings re-point, everything is rosy. Ok, that sounds promising, but, when one of the element on the path changes like the document, will all the gui element of the palette be triggered to refresh the displayed value to newly selected document value ? Louis Demer

Re: serialPortSample... hang on "read" function

2009-02-17 Thread Louis Demers
__ 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/mailman/options/cocoa-dev/loui

is NSDictionaryController the solution to my problem ?

2009-02-25 Thread Louis Demers
with a mutable dictionary. Louis Demers eng. www.obzerv.com ___ 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 H

How a Controller in MainMenu.xib can send actions to a document object

2008-10-09 Thread Louis Demers
eally frequent occurrence with an easy cocoaish way to do it. any advise ? Thanks in adavance. Louis Demers eng. www.obzerv.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the

Targetting 10.4

2008-10-14 Thread Louis Demers
shdump[182]: ICCD Bench crashed Oct 14 21:04:38 obzervs-powerbook-g4 crashdump[182]: crash report written to: /Users/obzerv/Library/Logs/CrashReporter/ICCD Bench.crash.log Any clues how tofix. Never had problems before compiling for both OS versions and both architectures. Louis Deme

Re: Targetting 10.4

2008-10-14 Thread Louis Demers
On 14-Oct-08, at 21:20 , James Walker wrote: Louis Demers wrote: I developed (on 10.5.5 with the latest tools) a small app that runs well on 10.5 and cleaned it up for 10.4. I configured my project with Base SDK to 10.4 as below, cleaned all and built a release binary. When you

Re: Need help to make this method prettier

2008-11-01 Thread Louis Demers
erstanding of the %03d the 3 specifies to allways use 3 columns and the 0 specifies to use 0 instead of spaces to fill in the 3 columns Louis Demers eng. www.obzerv.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post adm

Re: I need an entry point for live video grabbing

2013-12-02 Thread Louis Demers
display them! The last thing I have (BrideOfMungGrab) does not compile >>> anymore with MacOS 10.7 SDK. In the past, the same API was used for >>> grabbing from iSight, DCAM/IIDCS cameras, and DV-Cam --- today I don't know. >>> >>>