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

Make C4View a pure Swift class. #643

Open
Buza opened this issue Mar 10, 2016 · 2 comments
Open

Make C4View a pure Swift class. #643

Buza opened this issue Mar 10, 2016 · 2 comments
Assignees
Milestone

Comments

@Buza
Copy link
Collaborator

Buza commented Mar 10, 2016

If we have no plans to leverage the runtime flexibility that being an Obj-C subclass provides, it might make sense to make C4View (and any other classes) pure Swift classes to leverage some of the method dispatch and size improvements.

@alejandro-isaza
Copy link
Member

I agree, we used to have methods that used selectors to dispatch events but now that is all gone.

@alejandro-isaza
Copy link
Member

Actually there are two things that use this: EventSource.swift for the on(..) methods and setValue(:forKey:) which I don't see being used. If we are ok to remove the event source stuff then we can do this @C4Framework?

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

No branches or pull requests

3 participants