issue resolving enums ? AppCode 2.1
I get this a warning when (i feel) the proper enum value is used and declared. (UITextAlignmentLeft , enum UITextAlignment)
Does this rank as a bug or am i missing something fundamental in obj-c ?
Attachment(s):
Screen Shot 2013-06-21 at 4.29.59 PM.png
Screen Shot 2013-06-21 at 4.29.37 PM.png
Please sign in to leave a comment.
Yves,
this is expected behavior (and the same as in previous versions of AppCode) - the problem is that UITextAlignment* constants are untyped and deprecated and NSTextAlignment* should be used instead.
AppCode finds a ponential problem when untyped enum constant is assigned to the typed enum field and highlights it.