1234567891011import UIKit //문자열을 클립보드에 복사UIPasteboard.general.string = "복사를 해버렷!!!!" //클립보드에 복사된 문자열을 가져오기if let theString = UIPasteboard.general.string { print("문자를 가져와버렸!!! \(theString)")} Colored by Color Scriptercs
1234567891011121314151617181920212223242526272829303132333435363738class User { var age:Int var level:Int var name:String init(age:Int,level:Int,name:String) { self.age = age self.level = level self.name = name }} var users = [User]() users.append(User(age: 25, level: 10, name: "김씨"))users.append(User(age: 20, level: 20, name: "이씨"))users.append(User(age: 23, level: 30, name: "박씨"))users.append(..
123456 import UIKit UIApplication.sharedApplication().beginIgnoringInteractionEvents()//터치 비활성화 UIApplication.sharedApplication().endIgnoringInteractionEvents()//터치 활성화 Colored by Color Scriptercs Swift 4.01234import UIKit UIApplication.shared.beginIgnoringInteractionEvents() UIApplication.shared.endIgnoringInteractionEvents()cs
- Total
- Today
- Yesterday