OSDN Git Service
(root)
/
kcd
/
KCD.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcfe7d6
)
無駄な動作を抑制
author
masakih
<masakih@users.sourceforge.jp>
Wed, 4 May 2016 00:14:20 +0000
(09:14 +0900)
committer
masakih
<masakih@users.sourceforge.jp>
Wed, 4 May 2016 00:14:20 +0000
(09:14 +0900)
-[NSTableView makeViewWithIdentifier:owner:]のownerを設定するとownerに対して何度も-awakeFromNibが呼び出されるためownerの設定をやめた
KCD/HMStrengthenListViewController.m
patch
|
blob
|
history
diff --git
a/KCD/HMStrengthenListViewController.m
b/KCD/HMStrengthenListViewController.m
index
62a3b63
..
e247766
100644
(file)
--- a/
KCD/HMStrengthenListViewController.m
+++ b/
KCD/HMStrengthenListViewController.m
@@
-185,7
+185,7
@@
static NSString *groupNameKey = @"group";
- (NSView *)tableView:(NSTableView *)tableView viewForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row
{
- HMStrengthenListItemCellView *itemView = [tableView makeViewWithIdentifier:@"ItemCell" owner:
self
];
+ HMStrengthenListItemCellView *itemView = [tableView makeViewWithIdentifier:@"ItemCell" owner:
nil
];
return itemView;
}