I am coding on Xcode5 for ios7 and the compiler shows this error: Implicint conversion from enumeration type: NSTextAlignment enum NSTextAlignment to different enumeration UITextAlignment
-(void)setTextAlignment:(UITextAlignment)aligment
{
internalTextView.textAlignment = aligment;
}
-(UITextAlignment)textAlignment
{
return internalTextView.textAlignment;
}
Last line is the error on xcode5 Any help to fix this?