public void WillDisplayCell(UICollectionView collectionView, LOTCharacterCell cell, NSIndexPath indexPath) { if (indexPath.Row < this.text.Length) { cell.SetCharacter(CharacterAtIndexPath(indexPath)); cell.DisplayCharacter(animated: this.updatingCells); } else { cell.SetCharacter("BlinkingCursor"); cell.LoopAnimation(); cell.DisplayCharacter(animated: true); } }
public UICollectionViewCell GetCell(UICollectionView collectionView, NSIndexPath indexPath) { LOTCharacterCell charCell = collectionView.DequeueReusableCell(ReuseIdentifier, indexPath) as LOTCharacterCell; return(charCell); }