What you’ve shown so far looks good, but obviously it’s not working or you wouldn’t be here. Try adding this line to the end of your makeBold: method: self setNeedsDisplay This will force the view to re-draw itself; it’s possible that your problem is just that the view isn’t being redrawn.
What you’ve shown so far looks good, but obviously it’s not working or you wouldn’t be here. Try adding this line to the end of your -makeBold: method: self setNeedsDisplay; This will force the view to re-draw itself; it’s possible that your problem is just that the view isn’t being redrawn.
Thanks for answer, Jeff! Tried it a minute ago. - Nothing changes.
Problem's that I try to change variable in IBAction and then check this variable value in another method. Variable changes in IBAction (i print log), but in another method variable's old value.( Looks like variables in IBAction and rest of the class have another memory space.. – Alexander Dec 14 '10 at 19:28 How are you creating the view? – Jeff Kelley Dec 14 '10 at 19:39 Firstly I created a class, inherited from NSView.
And then I dragged 'Custom View' in IB and in Class Identity set default NSView into previously created class. – Alexander Dec 14 '10 at 19:52 I was helped today. The problem was in my .
Xib file - I make connection with another superfluous variable of my class instead of connecting with NSView's inherited object. Thanks you nevertheless! – Alexander Dec 14 '10 at 13:25.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.