<commit_before>import UIKit

public enum TappedElement {
  case Post, Author, Date, Text, Attachment,
    Likes, Seen, Comments, LikeButton, CommentButton
}

public protocol WallTapDelegate: class {

  func wallPostWasTapped(element: TappedElement, index: Int?)
}

public protocol WallScrollDelegate: class {

  func wallDidScrollToEnd(completion: () -> Void)
}<commit_msg>Add UserDefined to TappedElement<commit_after>import UIKit

public enum TappedElement {
  case Post, Author, Date, Text, Attachment,
    Likes, Seen, Comments, LikeButton, CommentButton, UserDefined(String)
}

public protocol WallTapDelegate: class {

  func wallPostWasTapped(element: TappedElement, index: Int?)
}

public protocol WallScrollDelegate: class {

  func wallDidScrollToEnd(completion: () -> Void)
}
{'fraction_non_alphanumeric': 0.08778625954198473, 'fraction_numerical': 0.0, 'mean_word_length': 5.843478260869565, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3795536', 'n_tokens_mistral': 241, 'n_tokens_neox': 231, 'n_words': 68}