일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- 비전공 개발자
- css3
- iOS 개발자
- php
- 백엔드
- jQuery
- xcode
- react
- 비전공자
- button
- keyframes
- 프론트엔드
- 개발자
- effect
- Animation
- hover
- HTML
- html5
- 자바스크립트
- javascript
- 애니메이션
- IOS
- front-end
- iPhone
- image
- 풀스택
- ipad
- SWIFT
- MAC
- CSS
- Today
- Total
목록ipad (40)
비전공자 개발일기

import Foundation struct Task { var title: String var done: Bool } import UIKit class ViewController: UIViewController { @IBOutlet weak var tableView: UITableView! @IBOutlet var editBTN: UIBarButtonItem! var doneBTN: UIBarButtonItem? var tasks = [Task]() { didSet { self.saveTasks() } } override func viewDidLoad() { super.viewDidLoad() doneBTN = UIBarButtonItem(barButtonSystemItem: .done, target:..

import UIKit @IBDesignable class RoundNumBTN: UIButton { @IBInspectable var isRound: Bool = false { didSet { if isRound { layer.cornerRadius = frame.height / 2 } } } } import UIKit enum Operation { case Plus case Substract case Multiple case Divide case unknown } class ViewController: UIViewController { @IBOutlet weak var numOutputLabel: UILabel! @IBOutlet weak var divideBTN: UIButton! @IBOutlet..

import UIKit class ViewController: UIViewController, displaySettingDelegate { @IBOutlet weak var contentLabel: UILabel! override func viewDidLoad() { super.viewDidLoad() contentLabel.textColor = UIColor.orange } override func prepare(for segue: UIStoryboardSegue, sender: Any?) { if let settingViewController = segue.destination as? SettingViewController { settingViewController.delegate = self set..

import Foundation struct Quote { let contents: String let name: String } import UIKit class ViewController: UIViewController { @IBOutlet weak var quoteLabel: UILabel! @IBOutlet weak var nameLabel: UILabel! let quotes = [ Quote(contents: "죽음을 두려워하는 나머지 삶을 시작조차 못하는 사람이 많다", name: "벤다이크"), Quote(contents: "나는 나 자신을 빼놓고는 모두 안다", name: "비용"), Quote(contents: "편견이란 실효성이 없는 의견이다", name: "암브로스 빌"), Quot..
나머지 구하기 import UIKit func solution(_ num1:Int, _ num2:Int) -> Int { guard (num1 > 0 && num1 0 && num2 = num2) { res = num1 % num2 return res } else { res = num2 % num1 return res } } solution(3, 2) solution(10, 5) 중앙값 구하기 -> 다른 방법도 찾아서 숙지 (내장 함수 숙지) func solution(_ array:[Int]) -> Int { guard (array.count % 2 != 0), (array.count > 0 && array.count < 100) else { return -1001 } for i in array { gu..

import Foundation var comChoice = Int.random(in: 1...100) var myChoice: Int = 0 print("컴퓨터가 선택한 숫자 맞추기") while true { var myInput = readLine() print("당신의 입력한 숫자: \(myInput!)") if let input = myInput { if let num = Int(input) { myChoice = num } } if(comChoice > myChoice) { print("UP") myChoice = 0 } else if (comChoice < myChoice) { print("DOWN") myChoice = 0 } else { print("BINGO") break } }

import UIKit class ViewController: UIViewController { @IBOutlet weak var firstImgView: UIImageView! @IBOutlet weak var secondImgView: UIImageView! var diceArray: [UIImage] = [#imageLiteral(resourceName: "black1"), #imageLiteral(resourceName: "black2"), #imageLiteral(resourceName: "black3"), #imageLiteral(resourceName: "black4"), #imageLiteral(resourceName: "black5"), #imageLiteral(resourceName: ..
단축키 설명 command + A 현재 활성화된 창의 모든 항목 선택 command + M 창 축소하기 command + delete 휴지통으로 해당 항목 이동 command 누른 상태로 드래그 드래그한 항목을 다른 위치로 이동 option 누른 상태로 드래그 드래그한 항목 복사 command + shift + 3 전체화면 스크린샷 command +shift + 4 지정 영역 스크린샷 command + W 화면 닫기 option + return 한자 키 전환 control + command + spacebar 특수키 선택창 command + C 복사 command + X 잘라내기 command + V 붙여넣기 shift + 창 모서리 가로 * 세로 동일한 비율로 확대 / 축소 option + 원하는 방향..