Property with 'weak' attribute must be of object type

since xcode4.6  Property with 'weak' attribute must be of object type