Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

change CPAccordionItem to CPAccordionViewItem in CPAccordionView

selector types. Closes gh-596.
  • Loading branch information...
commit f50cda9abcad7d4373a5382aa13433d57a5eb59b 1 parent 7543968
Paul Baumgart paulbaumgart authored Ross Boucher committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 AppKit/CPAccordionView.j
6 AppKit/CPAccordionView.j
View
@@ -96,12 +96,12 @@
return _items;
}
-- (void)addItem:(CPAccordionItem)anItem
+- (void)addItem:(CPAccordionViewItem)anItem
{
[self insertItem:anItem atIndex:_items.length];
}
-- (void)insertItem:(CPAccordionItem)anItem atIndex:(CPInteger)anIndex
+- (void)insertItem:(CPAccordionViewItem)anItem atIndex:(CPInteger)anIndex
{
// FIXME: SHIFT ITEMS RIGHT
[_expandedItemIndexes addIndex:anIndex];
@@ -122,7 +122,7 @@
[self setNeedsLayout];
}
-- (void)removeItem:(CPAccordionItem)anItem
+- (void)removeItem:(CPAccordionViewItem)anItem
{
[self removeItemAtIndex:[_items indexOfObjectIdenticalTo:anItem]];
}
Please sign in to comment.
Something went wrong with that request. Please try again.