Re: Strange NSZombie occurring

2011-08-07 Thread Dr. Scott Steinman
> Have you seen Hillegass's book on Cocoa. It's an excellent start for Cocoa > newbies. I took Aaron's course about 10 years ago, but didn't have a chance to use Cocoa since then due to job requirements. I lost a lot of my books recently in a disaster (aren't you all getting tired of knowing h

Re: Strange NSZombie occurring

2011-08-07 Thread Dr. Scott Steinman
Ah. I see some of your points. Very dumb of me. I'm new to Cocoa, but I did program in a number of other languages for 30 years. I apologize for not being clear enough. Pain and nausea tend to mess up the clarity of my thinking. Unfortunately, I'm ill most of the time (don't ask about my heal

Strange NSZombie occurring

2011-08-07 Thread Scott Steinman
phrase. But in changeWords:, somehow words is nil. I'm at a loss to figure out how words could be released between start and changeWords:. I'd appreciate some help. Thanks. Scott Dr. Scott Steinman Brought to you by a grant from the Steinman Foundation (Thanks, Mom and Dad!) R

Ticker tape display

2011-07-30 Thread Scott Steinman
I have drawn text into a CALayer. I'd like to allow the user select the type of animation effect displayed, such as fading the text in/out by changing the CALayer's opacity. One of the effects I'm trying to do is a ticker tape display where a line of text is scrolled repeatedly from off-screen

Re: Animating a flickering display

2011-07-06 Thread Scott Steinman
Thanks for the help. I don't know Quartz Composer yet, but I'll take a look at the documentation and see if it fits my needs for the current program. I've been mulling it over, and may create a git branch to try Core Animation. First, it may facilitate future alternative animated displays such

Re: Animating a flickering display

2011-07-04 Thread Dr. Scott Steinman
that important. I hope that this is enough information to make the task more understandable. Scott On Jul 4, 2011, at 2:30 PM, Kyle Sluder wrote: > On Mon, Jul 4, 2011 at 11:31 AM, Dr. Scott Steinman wrote: >> My program needs to display counterphase flickering test, i.e., one display >&

Animating a flickering display

2011-07-04 Thread Dr. Scott Steinman
My program needs to display counterphase flickering test, i.e., one display is white text on a black background, and the other is black text on a white background, and the two displays are switched back and forth. I have concluded that there are two options to do this: 1. Draw each display into

Printing graphics plus text

2011-06-10 Thread Scott Steinman
Please forgive me if my question is stupid. It's frustrating being a Cocoa noobie after 30 years of scientific programming, but I'm doing my best to learn. I'm working on an application that displays a diagram I have drawn in a custom view to represent data input by the user. I'd like to print

Re: drawRect: GCContext errors

2011-02-21 Thread Scott Steinman
Problem solved! Thanks to Matt Neuberg for his suggestion. It let me hone in on the culprit. Scott ___ 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

drawRect: GCContext errors

2011-02-21 Thread Scott Steinman
I've been sitting at home sick for over a month, trying to keep sane by re-learning Cocoa. I am just about to complete my first non-trivial Cocoa application. The application is working perfectly, including no memory management issues, but I've been constantly checking the console so I can make

Re: Sharing a model

2011-02-13 Thread Scott Steinman
Thank you for the replies so far. I had not designed my program as a document-based application because I did not think that I would save and open data files. However, I have changed my viewpoint. It might also make implementing your suggestions easier. -Scott Steinman

Sharing a model

2011-02-13 Thread Scott Steinman
te and later dealloc the model object? 2. How do I get both controllers to reference this single model without creating coupling between the controllers? 3. When should the reference to the model be set up in each controller? Thanks in advance