Sorry I have been out wandering in wierd science and virtual reality and missing communication on this thread.
I see a neat professional subject line, "some changes". This indicates that you have work group experience in programming I sorely lack. I hope this group emerges professionally.
In 1 you fulfilled your general check prescription you gave me.
In 2 I found I had had the savvy to do that too.
II. 1.
Wanted to step away from obvious learning by the context of what you said.
Working hypothesis : "displayIfNeededIgnoringOpacity" method might need some interesting knowledge navigation to track down the description of. I checked that hypothesis and simply put in this word into help viewer and got two hits, one for objective c. Devil's advocate hypothesis, polymorphism requires hit on one word rather than going through chain of types and their methods for uninteresting or inexpensive knowledge navigation.
There was a link to this in the section but it merely went to the top. Was April's developers cd documentation fixing this? I get T1 system updates through an airport card at Apple Store Willowbend and thought I automatically got developer updates; I now don't think so and will install that cd! There was a notice in May e mail on May mailing about April developer upgrade and I might have to wait to see for sure whether April is in May. Confusing verbage somehow makes sense when you realize that the dating might be by web access, a date delayed in cd publication. Yet, April's cd stated that they had developer tools which I suppose included documentation.
Ok. I fooled with my version and saw Yoda gif drawn over scrollbars. On windows in mac old os, there are clipping rectangles with redraw avoiding outside the clip rectangles. I suppose the same design metaphor is used in the polymorphism and IgnoringOpacity means to redraw ignoring Opacity which is stated as the clipped parts.
Now, I put in your phrase. I compiled. It didn't redraw unless I clicked on scrollbar. Putting the [self setNeedsDisplay: YES]; in after your statement made things work right for me. So, I differ in your use of the word "replace" and substituted "augment". In IB, I have "surpressed" the green button on my window and that might be why I must use augment rather than replace, "I dunno".
I commented out the above hypothesizing that "As the scrollers are opaque, we need to force a complete redraw." was a transitional sentence prefatory to the next II.2. Both the experiments and your words confirmed the new hypothesis. The unfound method's phrase was just to establish clip window but not force a redraw.
III.1.
I believe makeWindowControllers thereby has MyDocument surrender ownership of WindowController to the MyDocument instance's list of window controllers. I don't know how to say this better because I don't have enough language experience in objective c.
III.2 .
I developed a gesture similar to one I use in Maple to make the change. "[]" before the expression to replace and then shift arrow across that expression, cut, arrow back, paste, space, and then type autorelease. It might be nice to applescript automate this gesture.
;-)
Thanks for the walk through of changes. It made an exercise for me. Off to workout in pool.
|
Wooh, it's very hard for me to understand well what you say. I'm not an English native speaker, so, please, try to use only very basic words, so I can follow your ideas.
"I see a neat professional subject line, "some changes". This indicates that you have work group experience".
Just one thirty years ago (yes, 30).
"Working hypothesis : "displayIfNeededIgnoringOpacity" method might need some interesting knowledge navigation to track down the description of."
I''ve already told you of an application which you can browse the doc with. It's MarshmallowLibrarian. But since sherlock has been greatly improved with the last OS update and MarshmallowLibrarian tends to crash repeatedly on my computer, I use Sherlock (just drop the developer folder on to the main Sherlock page), index it, and give it an enclosed string to search into documents.
Another good way to learn efficiently is to browse all the examples (see composite lab and sketch for images). Whenever you find a method you don't know, use find in PB with options frameworks only. You'll get all references to the searched method. Then browse the corresponding doc. There are also shortcuts to do it.
Another excellent way to learn is to subscribe to Cocoa Apple mailing list. Read, read, read it first, then ask people. And download examples when people give you a link to.
displayIfNeededIgnoringOpacity is well described in NSView:
Acts as displayIfNeeded, except that this method doesn't back up to the first opaque ancestor-it simply causes the receiver and its descendants to execute their drawing code.
The April Developer Tools CD is online now for all ADC members. If you have, as I do, a slow connection, you'd better buy it (20$). It's an about 243 Mb download. I've bought it on April 24th and received it today (I'm in France).
The main advantage is that you have the whole documentation updated (no need to go to Apple site every two lines of code).
Michèle