iPhone - a UIView that behaves like a UIViewController
I need to create a class that will present a UIVIew and has a some code to initialize it before it is ready to show. I need to know when the view is ready, I mean, I need something like viewDidLoad or viewWillAppear, but as it is a UIVIew it lacks these protocols.

I cannot implement it as a UIViewController as I don't want to present it modal. It is really a rectangular view that needs to show on a screen side.

How do I declare this class? If the class is a UIView based I don't have the methods I mentioned.

thanks
iPhone - a UIView that behaves like a UIViewController
===

I need to create a class that will present a UIVIew and has a some code to initialize it before it is ready to show. I need to know when the view is ready, I mean, I need something like viewDidLoad or viewWillAppear, but as it is a UIVIew it lacks these protocols.

I cannot implement it as a UIViewController as I don't want to present it modal. It is really a rectangular view that needs to show on a screen side.

How do I declare this class? If the class is a UIView based I don't have the methods I mentioned.

thanks