Interface Builderで作った自作のView(xib)を、別のViewで使いたい、そんな事ってありますよね。 例えば上の画像だと、左側の画像とラベルの部品はUIKitには無いので自作する必要があるのですが、右側にラベルがくるセル、画像がくるセルで共通して使いたいわけです。 いつもハマるので書いておきます。 #import <Foundation/Foundation.h> @interface LabelAndImageView : UIView @property(nonatomic, strong) IBOutlet UIView *contentView; @property(nonatomic, strong) IBOutlet UIImageView *imageView; @property(nonatomic, strong) IBOutlet UILabel *