Re: Bypassing Interface Builder

2008-05-14 Thread Julius Guzy
Might there be not a tutorial but more documented examples of creating a window, calling to the window, adding widgets(buttons and such) and altering an NSCustomView. My goal is to make a drawing app from the Drawkit framework but for the life of me I just can't get past the use IB but Drawkit do

Dynamic message typing problem

2008-05-14 Thread Julius Guzy
Hi, It would be great if someone would kindly tell me what I'm doing wrong. Something like the much simplified code below used to work under Tiger in 10.4 running on antique 400 MHz G4. The idea is that the program passes the id of an anonTargetClassObject to a calling object which then sends

Re: Bypassing Interface Builder

2008-05-14 Thread Julius Guzy
On 14 May 2008, at 22:55, Torsten Curdt <[EMAIL PROTECTED]> wrote This mailing list is a great resource ...but maybe there is a reason why even simple things get asked again and again. Yes, exactly. I think there is a dearth of good examples and a difficulty in finding the keywords to use when

Re: Bypassing Interface Builder

2008-05-14 Thread Julius Guzy
On 15 May 2008, at 0:29, Graham Cox <[EMAIL PROTECTED]> wrote I have no idea how the rest of you gained your expertise but working on my own, even with the help of books and the internet it has been an absolute nightmare. I imagine it can be hard without a structured approach to learning it -

Re: Dynamic message typing problem

2008-05-16 Thread Julius Guzy
ointer to a method that tries to printout the pointer as an int rather than the intended uchar value. On May 14, 2008, at 7:19 PM, Julius Guzy wrote: - (void) callPrintConstUnsignedCharRef:(id)pId; { unsigned char * tvarUnsignedChar= 123; [pId printUnsignedCharRef:&t

Re: Dynamic message typing problem

2008-05-16 Thread Julius Guzy
On Fri, 16 May 2008 10:12:24 -0600 Michael Vannorsdel wrote I've tried the code here and it works as expected. Could you give more detail on your build setup? Like what arch you're building for, This is running as stand alone app. on Mac Pro 10.5.2 how you're executing the program, From X

Re: Dynamic message typing problem

2008-05-16 Thread Julius Guzy
On 16 May 2008, at 19:23 Scott Ribe <[EMAIL PROTECTED]> wrote - (void) callPrintConstFloat:(id)pId { [pId printFloat:98.76]; // pId is object of class AnonTargetClass } This is probably compiled in file which does not include the declaration of class AnonTargetClass,

Re: Dynamic message typing problem

2008-05-16 Thread Julius Guzy
Thanks to all who replied to my pleas for help. I took Bill and Scott's suggestions to heart and produced the answer I needed: Dynamic Typing which allows me to avoid circularity etc. I post the complete solution as an example and to check that I'm not running close to the wind by using a du

Re: Dynamic message typing problem

2008-05-17 Thread Julius Guzy
On 17 May 2008, at 0:58, Bill Bumgarner wrote: BTW: Nice paintings. Thanks I post the complete solution as an example and to check that I'm not running close to the wind by using a dummy class definition. The code gets no compiler warnings. You don't need the dummy class. I'd do i

Cocoa et al as HCI usability problem

2008-05-18 Thread Julius Guzy
The very good , interesting and informative debate in this list concerning the accessibility of the programming environment to new users has it seems to me incresingly polarised between those who think the documentation more or less adequate and those like me who for whatever reason, have g

Re: Cocoa et al as HCI usability problem

2008-05-18 Thread Julius Guzy
On 18 May 2008, at 14:36, Jason Stephenson wrote: (Have you ever tried programming X11 with just XLib C calls? Nasty stuff that) Yes, superDooperExtraSpecialHighIntensityOpenWindowAndDoLotsOfWonderfulThings IfYouSetTheParametersRightWidget. Also, please don't confuse the language, Ob

Re: Cocoa et al as HCI usability problem

2008-05-18 Thread Julius Guzy
On 18 May 2008, at 17:41, Jens Alfke wrote: On 18 May '08, at 4:33 AM, Julius Guzy wrote: Apple has been less celebrated for the humanity of its programming interface having, in my experience of Macs from the Lisa onwards, seemingly taken the attitude that its programmers were hobb

Re: Cocoa et al as HCI usability problem

2008-05-18 Thread Julius Guzy
On 19 May 2008, at 1:56, David Wilson wrote: On Sun, May 18, 2008 at 8:41 PM, Julius Guzy <[EMAIL PROTECTED]> wrote: Well, there is a problems with the documentation and if it does not get resolved then people will end up unable to write the code. I mean what is the point in l

Re: Cocoa et al as HCI usability problem

2008-05-18 Thread Julius Guzy
On 19 May 2008, at 2:34, Jens Alfke wrote: On 18 May '08, at 6:15 PM, Julius Guzy wrote: I do not think it naive of me to raise serious questions regarding usability given that i have made huge and increasingly successful efforts to get into this system so I can do some heavy

Re: Cocoa et al as HCI usability problem

2008-05-19 Thread Julius Guzy
On 19 May 2008, at 5:21, : Nathan Kinsinger <[EMAIL PROTECTED]> wrote Subject: Re: Cocoa et al as HCI usability problem I don't have a CS degree and would qualify, as one poster deridingly called early mac programmers, as a hobbyist. I have approached learning cocoa seriously and actually stu

A documetation suggestion (was Re: Cocoa et al as HCI usability problem)

2008-05-19 Thread Julius Guzy
Well I never thought I would cause this much discussion. I have tried but do not have the time needed to reply to all. I might still but work must take precedence. There have been a number of people who suggested I give specific instances of documentation failure. I agree it would be useful bu

Re: ANN: Step by step introduction to programming with Cocoa

2008-05-21 Thread Julius Guzy
Date: Wed, 21 May 2008 12:33:12 -0700 (PDT) From: Erik Buck <[EMAIL PROTECTED]> Subject: ANN: Step by step introduction to programming with Cocoa To: cocoa-dev@lists.apple.com Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=iso-8859-1 I have started a guided introduction to C

Re: ANN: Step by step introduction to programming with Cocoa

2008-05-22 Thread Julius Guzy
On 22 May 2008, at 1:43, Shawn Erickson wrote: On Wed, May 21, 2008 at 5:38 PM, Julius Guzy <[EMAIL PROTECTED]> wrote: I suggested some time back (A documetation suggestion 19 May 2008 13:31:30) but no one took me up on it, the idea of seeing if Apple would so to speak "donate

Re: ANN: Step by step introduction to programming with Cocoa

2008-05-22 Thread Julius Guzy
On 22 May 2008, at 1:52, Jack Repenning wrote: On May 21, 2008, at 5:38 PM, Julius Guzy wrote: Actually the idea was to include a text box at the end of each section where people could post queries regarding that section, e.g. questions about something they did not understand or

Re: A documetation suggestion (was Re: Cocoa et al as HCI usability problem)

2008-05-22 Thread Julius Guzy
emonstrate some kind of a consensus and then thrash out a suitable format and mechanism within the group? Julius On May 19, 2008, at 5:31 AM, Julius Guzy wrote: Well I never thought I would cause this much discussion. I have tried but do not have the time needed to reply to all. I might stil

Re: A documetation suggestion (was Re: Cocoa et al as HCI usability problem)

2008-05-23 Thread Julius Guzy
On 22 May 2008, at 23:19, Scott Anguish wrote: On May 22, 2008, at 10:39 AM, Julius Guzy wrote: On 22 May 2008, at 4:55, David Casseres wrote: That's a really good idea, your wiki-that's-more-than-a-wiki. You're in charge! 8^{) Ha Ha But just as a matter of interest

Re: A documetation suggestion (was Re: Cocoa et al as HCI usability problem)

2008-05-23 Thread Julius Guzy
On 23 May 2008, at 14:14, Steve Weller wrote: On May 23, 2008, at 5:56 AM, Julius Guzy wrote: I have done no analysis of what my learning problems were because I failed to keep a log. All I have to go on so far are vague memories of frustration with Interface Builder primarily but that

Re: Cocoa-dev Digest, Vol 5, Issue 892

2008-05-23 Thread Julius Guzy
On 23 May 2008, at 22:31, [EMAIL PROTECTED] wrote: Message: 12 Date: Fri, 23 May 2008 14:18:04 -0700 From: "Shawn Erickson" <[EMAIL PROTECTED]> Subject: Re: A documetation suggestion (was Re: Cocoa et al as HCI usability problem) To: "Gerriet M. Denkmann" <[EMAIL PROTECTED]> Cc: Sc