Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复swift5 编译 #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'YTAnimationDemo' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!

pod 'SnapKit'

end
16 changes: 16 additions & 0 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
PODS:
- SnapKit (4.2.0)

DEPENDENCIES:
- SnapKit

SPEC REPOS:
trunk:
- SnapKit

SPEC CHECKSUMS:
SnapKit: fe8a619752f3f27075cc9a90244d75c6c3f27e2a

PODFILE CHECKSUM: 75d2635015507fcf083ab37aaa0fcaa9729ea08b

COCOAPODS: 1.10.0
205 changes: 73 additions & 132 deletions YTAnimationDemo.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions YTAnimationDemo.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion YTAnimationDemo/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
//

import UIKit
@_exported import SnapKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

var window: UIWindow?


func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

window = UIWindow.init(frame: kScreenBounds)
window?.makeKeyAndVisible()
Expand Down
2 changes: 1 addition & 1 deletion YTAnimationDemo/Base/YTBaseViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class YTBaseViewController: UIViewController {

extension YTBaseViewController{

func playBtnClick(btn: UIButton) {
@objc func playBtnClick(btn: UIButton) {

}

Expand Down
268 changes: 0 additions & 268 deletions YTAnimationDemo/SnapKit/Constraint.swift

This file was deleted.

Loading