Skip to content

Instantly share code, notes, and snippets.

@susieyy susieyy/UsingProtocol.swift Secret
Created Jan 14, 2017

Embed
What would you like to do?
#swtws
// HogeView.swift has HogeView.nib
final class HogeView: UIView, InstantiatableFromNib { }
// HogeViewController.swift
final class HogeViewController: UIViewContoller {
private lazy var hogeView: HogeView = { return HogeView.instantiateFromNib() }()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.