Skip to content

add typedef on NS_ENUM - #71

Open
PatrickNegretto wants to merge 2 commits into
kentnguyen:masterfrom
PatrickNegretto:master
Open

PatrickNegretto wants to merge 2 commits into
kentnguyen:masterfrom
PatrickNegretto:master

Conversation

@PatrickNegretto

Copy link
Copy Markdown

No description provided.

@Phenmod

Phenmod commented Sep 16, 2015

Copy link
Copy Markdown

-NS_ENUM(NSUInteger, KNSemiModalTransitionStyle) {
+typedef NS_ENUM(NSUInteger, KNSemiModalTransitionStyle) {
KNSemiModalTransitionStyleSlideUp,

you save my life!

I custom a view with name "ShareActionView", it import "UIViewController+KNSemiModal.h".
when compile for simulator, xcode got error:

ShareActionView.o
UIViewController+KNSemiModal.o
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants