-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDrawerView.swift
45 lines (32 loc) · 1.01 KB
/
DrawerView.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//
// DrawerView.swift
// DKNavigationDrawer
//
// Created by Darshan on 5/17/17.
// Copyright © 2017 Darshan. All rights reserved.
//
import UIKit
class DrawerView: UIView {
@IBOutlet weak var drawerTableView: UITableView!
/*
// Only override draw() if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
override func draw(_ rect: CGRect) {
// Drawing code
}
*/
override init(frame: CGRect) {
super.init(frame: frame)
// Initialization code
//_lblName.text=[[NSUserDefaults standardUserDefaults]objectForKey:@"userName"];
}
required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder) }
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
*/
override func draw(_ rect: CGRect) {
//Drawing code
}
}