Skip to content

Commit 786741d

Browse files
committed
Add INIT and DEALLOC logs
1 parent 5481745 commit 786741d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

SCXcodeMinimap/SCTextView.m

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,21 @@
1010

1111
@implementation SCTextView
1212

13+
- (id)initWithFrame:(NSRect)frameRect
14+
{
15+
self = [super initWithFrame:frameRect];
16+
if (self) {
17+
NSLog(@"INIT TEXT VIEW");
18+
}
19+
return self;
20+
}
21+
22+
- (void)dealloc
23+
{
24+
NSLog(@"DEALLOC TEXT VIEW");
25+
[super dealloc];
26+
}
27+
1328
- (void)mouseDown:(NSEvent *)theEvent
1429
{
1530
[super mouseDown:theEvent];

0 commit comments

Comments
 (0)