<commit_before>//
//  IMUIEmojiCell.swift
//  sample
//
//  Created by oshumini on 2017/9/26.
//  Copyright © 2017年 HXHG. All rights reserved.
//

import UIKit

class IMUIEmojiCell: UICollectionViewCell, IMUIFeatureCellProtocol {
  var featureDelegate: IMUIFeatureViewDelegate?
  
  @IBOutlet weak var emojiCollectionView: UICollectionView!
  @IBOutlet weak var emojiSeletorView: UICollectionView!

  var emojiDataArr = [IMUIEmojiModel]()
  
  override func awakeFromNib() {
    super.awakeFromNib()
    let bundle = Bundle.imuiInputViewBundle()
    self.emojiCollectionView.register(UINib(nibName: "IMUIEmojiItemCell", bundle: bundle), forCellWithReuseIdentifier: "IMUIEmojiItemCell")
    emojiCollectionView.delegate = self
    emojiCollectionView.dataSource = self
    emojiCollectionView.contentInset = UIEdgeInsets(top: 0, left: 16, bottom: 0, right: 16)
    self.setupAllData(identifier: "com.apple.emoji")
    self.emojiCollectionView.reloadData()
  }<commit_msg>add emoji padding<commit_after>//
//  IMUIEmojiCell.swift
//  sample
//
//  Created by oshumini on 2017/9/26.
//  Copyright © 2017年 HXHG. All rights reserved.
//

import UIKit

class IMUIEmojiCell: UICollectionViewCell, IMUIFeatureCellProtocol {
  var featureDelegate: IMUIFeatureViewDelegate?
  
  @IBOutlet weak var emojiCollectionView: UICollectionView!
  @IBOutlet weak var emojiSeletorView: UICollectionView!

  var emojiDataArr = [IMUIEmojiModel]()
  
  override func awakeFromNib() {
    super.awakeFromNib()
    let bundle = Bundle.imuiInputViewBundle()
    self.emojiCollectionView.register(UINib(nibName: "IMUIEmojiItemCell", bundle: bundle), forCellWithReuseIdentifier: "IMUIEmojiItemCell")
    emojiCollectionView.delegate = self
    emojiCollectionView.dataSource = self
    emojiCollectionView.contentInset = UIEdgeInsets(top: 0, left: 16, bottom: 10, right: 16)
    self.setupAllData(identifier: "com.apple.emoji")
    self.emojiCollectionView.reloadData()
  }
{'fraction_non_alphanumeric': 0.09562982005141388, 'fraction_numerical': 0.017994858611825194, 'mean_word_length': 4.740412979351032, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7139581', 'n_tokens_mistral': 683, 'n_tokens_neox': 671, 'n_words': 134}