Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add typedef on NS_ENUM #71

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

add typedef on NS_ENUM #71

wants to merge 2 commits into from

Conversation

PatrickNegretto
Copy link

No description provided.

@Phenmod
Copy link

Phenmod commented Sep 16, 2015

-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.

None yet

2 participants