Graphics Reference
In-Depth Information
- (
id
)initWithFrame:(
CGRect
)frame
{
//this is called when view is created in code
if
((
self
= [
super
initWithFrame
:frame]))
{
[
self
setUp
];
}
return
self
;
}
- (
void
)awakeFromNib
{
//this is called when view is created from a nib
[
self
setUp
];
}
@end
Figure 6.9
Using a
ReflectionView
in Interface Builder