DrawRect is a method from UIView and not from UIViewController that's why it's not being called In your case, it seems that you need to create your custom UIView and overwrite drawRect in it, and not in your UIViewController subclass.
DrawRect is a method from UIView and not from UIViewController, that's why it's not being called. In your case, it seems that you need to create your custom UIView and overwrite drawRect in it, and not in your UIViewController subclass.
DrawRect: is a method for UIView subclasses. Try to subclass UIView and change the type of the UIView in InterfaceBuilder (see pic).
Okay, I guess I'm missing something important, and I can't seem to find the answer. I'm posting all the code, because it's very small. Can someone please tell me what I'm doing wrong?
I've worked on this looking at example after example, for quite a while, and nothing I do seems to work. When I create the app, I use whichever skeleton gives me a UIViewController. I put a view onto the controller.
I create the variables to link into the controller. When I try to connect the UIView in my nib to my UIView, the compiler's okay with it, but it also insists on being connect to "view" as well, or the app crashes. I wouldn't be surprised if that's the issue, but if it is, I can't figure out how to fix it.
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.