일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- ipad
- php
- keyframes
- 백엔드
- effect
- 비전공자
- CSS
- iPhone
- 자바스크립트
- button
- 개발자
- xcode
- image
- javascript
- MAC
- 풀스택
- hover
- HTML
- html5
- 비전공 개발자
- front-end
- jQuery
- 애니메이션
- Animation
- IOS
- react
- css3
- SWIFT
- iOS 개발자
- 프론트엔드
- Today
- Total
목록IOS (61)
비전공자 개발일기

0 ~ 60초 사이의 타이머를 설정하고, START 버튼을 누르면 1초씩 슬라이드 및 레이블이 바뀌며 0초가 되면 알림이 울림, 도중에 RESET을 누르면 초기 화면으로 되돌아감 import UIKit import AVFoundation class ViewController: UIViewController { @IBOutlet weak var mainLabel: UILabel! @IBOutlet weak var slider: UISlider! weak var timer: Timer? var number = 0 override func viewDidLoad() { super.viewDidLoad() configureUI() } func configureUI() { mainLabel.text = "Set t..

New Apple Watch $500 Buy Now * { margin: 0; padding: 0; box-sizing: border-box; position: relative; } body { display: flex; justify-content: center; align-items: center; min-height: 100vh; background-color: #09383E; } .card { width: 300px; height: 400px; background-color: #FFF; transform-style: preserve-3d; transform: perspective(2000px); transition: 1s; box-shadow: inset 300px 0 50px rgba(0, 0,..
나머지 구하기 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 UIKit // 1안 class ViewController: UIViewController { @IBOutlet weak var mainLabel: UILabel! @IBOutlet weak var numLabel: UILabel! var comChoice = Int.random(in: 1...10) var myChoice = 1 override func viewDidLoad() { super.viewDidLoad() mainLabel.text = "아래 숫자들 중에서 선택" numLabel.text = "" } @IBAction func btnPressed(_ sender: UIButton) { guard let numString = sender.currentTitle else { retu..

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: ..
import UIKit // Function: 어떤 기능을 하는 코드 모음 // 1) 함수 선언(정의) func sayHello() { print("Hello, World!") print("Hello, Swift!") print("Let's go!") } // 2) 함수 실행 sayHello() // 반대로는 안됨! //sayHello2() //func sayHello2() { // print("Hello, World!") // print("Hello, Swift!") // print("Let's go!") //} // 함수 사용 이유 // 1) 반복되는 동작을 편하게 재사용 // 2) 동작 구분의 편의 // 3) 코드의 단순화 // Function with input func accessChk(name..

Inbox Today Upcoming Important Meetings Trash Family Vacation Festival Concerts Today Tasks All Important Notes Links Dashboard Design Implementation Approved Create a userflow In Progress Application Implementation In Review Create a Dashboard Design In Progress Create a Web Application Design Approved Interactive Design In Review Upcoming Tasks Dashboard Design Implementation Waiting Create a ..

Animated Skills Bar HTML CSS Java Script Swift @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap'); *{ margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; } html,body{ display: grid; height: 100%; place-items: center; background-color: lightgray; } h1{ font-size: 4rem; text-align: center; color: #fff; text-shado..