New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shouldSelectItem #19

Closed
RVLVR opened this Issue Feb 28, 2012 · 2 comments

Comments

Projects
None yet
3 participants
@RVLVR

RVLVR commented Feb 28, 2012

the shouldSelectItem doesn't get called.

@bynelus

This comment has been minimized.

Show comment
Hide comment
@bynelus

bynelus Mar 21, 2012

You can resolve this by removing the method:

  • (NSIndexSet *)outlineView:(NSOutlineView *)outlineView selectionIndexesForProposedSelection:(NSIndexSet *)proposedSelectionIndexes

from the PXSourceList implementation file.

The reason is that Apple prefers to use outlineView: selectionIndexesForProposedSelection: above outlineView: shouldSelectItem so that last method should be called when the first is not implemented.

bynelus commented Mar 21, 2012

You can resolve this by removing the method:

  • (NSIndexSet *)outlineView:(NSOutlineView *)outlineView selectionIndexesForProposedSelection:(NSIndexSet *)proposedSelectionIndexes

from the PXSourceList implementation file.

The reason is that Apple prefers to use outlineView: selectionIndexesForProposedSelection: above outlineView: shouldSelectItem so that last method should be called when the first is not implemented.

@Perspx

This comment has been minimized.

Show comment
Hide comment
@Perspx

Perspx Jan 29, 2014

Owner

Fixed in PXSourceList 2.0.0

Owner

Perspx commented Jan 29, 2014

Fixed in PXSourceList 2.0.0

@Perspx Perspx closed this Jan 29, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment