<commit_before>//
//  ViewController.swift
//  LottieFun
//
//  Created by <NAME> on 6/17/17.
//  Copyright © 2017 Vento. All rights reserved.
//

import UIKit
import Lottie

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        if let animationView = LOTAnimationView(contentsOf: URL(string: "https://www.lottiefiles.com/storage/datafiles/9kxERcG6bTQG5RR/data.json")!) {
            animationView.frame = CGRect(x: 0, y: 0, width: 400, height: 400)
            animationView.center = self.view.center
            animationView.contentMode = .scaleAspectFill
            view.addSubview(animationView)
            animationView.loopAnimation = true
            animationView.animationSpeed = 0.5
            
            let rotateTransform = CGAffineTransform(rotationAngle: 45.0)
            animationView.transform = rotateTransform
            
            // Applying UIView animation
            let minimizeTransform = CGAffineTransform(scaleX: 0.1, y: 0.1)
            animationView.transform = minimizeTransform
            UIView.animate(withDuration: 3.0, delay: 0.0, options: [.repeat, .autoreverse], animations: {
                animationView.transform = CGAffineTransform.identity
            }, completion: nil)
            
            
            animationView.play()
        }
    }



}

<commit_msg>changed animation<commit_after>//
//  ViewController.swift
//  LottieFun
//
//  Created by <NAME> on 6/17/17.
//  Copyright © 2017 Vento. All rights reserved.
//

import UIKit
import Lottie

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        if let animationView = LOTAnimationView(contentsOf: URL(string: "https://www.lottiefiles.com/storage/datafiles/0BklE7L1HhdHa4v/data.json")!) {
            animationView.frame = CGRect(x: 0, y: 0, width: 400, height: 400)
            animationView.center = self.view.center
            animationView.contentMode = .scaleAspectFill
            view.addSubview(animationView)
            animationView.loopAnimation = true
            animationView.animationSpeed = 1.5
            
            
            let rotateTransform = CGAffineTransform(rotationAngle: 45.0)
            animationView.transform = rotateTransform
            
            
            // Applying UIView animation
            let minimizeTransform = CGAffineTransform(scaleX: 0.1, y: 0.1)
            animationView.transform = minimizeTransform
            UIView.animate(withDuration: 3.0, delay: 0.0, options: [.repeat, .autoreverse], animations: {
                animationView.transform = CGAffineTransform.identity
            }, completion: nil)
            
            
            animationView.play()
        }
    }



}


{'fraction_non_alphanumeric': 0.09265858873841767, 'fraction_numerical': 0.023877405559515324, 'mean_word_length': 2.0313174946004318, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '4486931', 'n_tokens_mistral': 835, 'n_tokens_neox': 761, 'n_words': 161}