UICollectionViewDelegate_Extensions 클래스

정의

프로토콜의 모든 메서드를 IUICollectionViewDelegate 지원하기 위해 인터페이스에 대한 확장 메서드입니다 UICollectionViewDelegate .

public static class UICollectionViewDelegate_Extensions
type UICollectionViewDelegate_Extensions = class
상속
UICollectionViewDelegate_Extensions

설명

개발자가 인터페이스의 인스턴스를 IUICollectionViewDelegate 원래 UICollectionViewDelegate 프로토콜의 모든 선택적 메서드를 갖는 것으로 처리할 수 있는 확장 메서드입니다. 인터페이스에는 필요한 멤버만 포함되므로 이러한 확장 메서드를 사용하면 개발자가 프로토콜의 선택적 멤버를 호출할 수 있습니다.

메서드

CanFocusItem(IUICollectionViewDelegate, UICollectionView, NSIndexPath)

indexPath 항목을 집중할 수 있는지 여부입니다.

CanPerformAction(IUICollectionViewDelegate, UICollectionView, Selector, NSIndexPath, NSObject)

지정된 의 셀이 지정된 indexPath 작업을 지원하는지 여부입니다.

CellDisplayingEnded(IUICollectionViewDelegate, UICollectionView, UICollectionViewCell, NSIndexPath)

지정된 indexPath의 셀이 제거되었음을 나타냅니다.

DidUpdateFocus(IUICollectionViewDelegate, UICollectionView, UICollectionViewFocusUpdateContext, UIFocusAnimationCoordinator)

에 자세히 설명된 대로 포커스가 변경되었음을 context나타냅니다.

GetIndexPathForPreferredFocusedView(IUICollectionViewDelegate, UICollectionView)

재정의되면 개발자가 처음에 포커스를 받을 항목을 지정할 수 있습니다.

GetTargetContentOffset(IUICollectionViewDelegate, UICollectionView, CGPoint)

재정의되면 개발자가 레이아웃 및 애니메이션 변경에 대한 콘텐츠 오프셋을 수정할 수 있습니다.

GetTargetIndexPathForMove(IUICollectionViewDelegate, UICollectionView, NSIndexPath, NSIndexPath)

재정의되면 개발자가 이동된 항목의 최종 위치를 수정할 수 있습니다. (예를 들어 특정 proposedIndexPath로의 이동을 허용하지 않습니다.)

ItemDeselected(IUICollectionViewDelegate, UICollectionView, NSIndexPath)

지정한 indexPath의 셀이 선택 취소되었음을 나타냅니다.

ItemHighlighted(IUICollectionViewDelegate, UICollectionView, NSIndexPath)

지정한 indexPath의 셀이 강조 표시됨을 나타냅니다.

ItemSelected(IUICollectionViewDelegate, UICollectionView, NSIndexPath)

지정한 indexPath의 셀이 선택되었음을 나타냅니다.

ItemUnhighlighted(IUICollectionViewDelegate, UICollectionView, NSIndexPath)

지정한 indexPath의 셀이 하이라이트되지 않음을 나타냅니다.

PerformAction(IUICollectionViewDelegate, UICollectionView, Selector, NSIndexPath, NSObject)

지정한 indexPath의 셀이 지정된 복사 또는 붙여넣기 작업을 지원하는지 여부입니다.

ShouldDeselectItem(IUICollectionViewDelegate, UICollectionView, NSIndexPath)

지정한 indexPath의 셀을 선택 취소할 수 있는지 여부입니다.

ShouldHighlightItem(IUICollectionViewDelegate, UICollectionView, NSIndexPath)

지정한 indexPath의 셀을 강조 표시할 수 있는지 여부입니다.

ShouldSelectItem(IUICollectionViewDelegate, UICollectionView, NSIndexPath)

지정한 indexPath의 셀을 선택할 수 있는지 여부입니다.

ShouldShowMenu(IUICollectionViewDelegate, UICollectionView, NSIndexPath)

지정한 indexPath의 셀에 작업 메뉴가 표시되어야 하는지 여부입니다.

ShouldSpringLoadItem(IUICollectionViewDelegate, UICollectionView, NSIndexPath, IUISpringLoadedInteractionContext)

식별된 항목이 지정된 컨텍스트에서 스프링로드되어야 하는지 여부를 나타내기 위해 호출되는 메서드입니다.

ShouldUpdateFocus(IUICollectionViewDelegate, UICollectionView, UICollectionViewFocusUpdateContext)

재정의되면 개발자가 에 지정된 포커스 변경을 방지할 수 있습니다 context.

SupplementaryViewDisplayingEnded(IUICollectionViewDelegate, UICollectionView, UICollectionReusableView, NSString, NSIndexPath)

지정된 indexPath의 보조 보기가 제거되었음을 나타냅니다.

TransitionLayout(IUICollectionViewDelegate, UICollectionView, UICollectionViewLayout, UICollectionViewLayout)

지정된 에서Layout으로 이동할 때 사용할 UICollectionViewTransitionLayout입니다.

WillDisplayCell(IUICollectionViewDelegate, UICollectionView, UICollectionViewCell, NSIndexPath)

cell 표시될 예정입니다.

WillDisplaySupplementaryView(IUICollectionViewDelegate, UICollectionView, UICollectionReusableView, String, NSIndexPath)

보충 view 이 표시될 예정입니다.

적용 대상