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

Adds view injection via swizzling #29

Merged
merged 1 commit into from Aug 28, 2018
Merged

Conversation

zenangst
Copy link
Owner

Adds view injection via swizzling. If swizzling is enabled when loading the bundle. The initializers for views will now be swizzled to add injection via convention. If you implement @objc func loadView() on your views. Injection will be added to run that method when the view gets injected.

Adds view injection via swizzling. If swizzling is enabled when loading the bundle. The initializers for views will now be swizzled to add injection via convention. If you implement `@objc func loadView()` on your views. Injection will be added to run that method when the view gets injected.
@codecov-io
Copy link

Codecov Report

Merging #29 into master will decrease coverage by 3.21%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
- Coverage   69.51%   66.29%   -3.22%     
==========================================
  Files          17       18       +1     
  Lines         433      454      +21     
==========================================
  Hits          301      301              
- Misses        132      153      +21
Impacted Files Coverage Δ
Source/Shared/View+Extensions.swift 0% <0%> (ø)
Source/Shared/Injection.swift 32.14% <0%> (-0.79%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b50d01c...3e880ab. Read the comment docs.

@zenangst zenangst merged commit 3e701f3 into master Aug 28, 2018
@zenangst zenangst deleted the feature/view-injection branch August 28, 2018 08:01
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

3 participants