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

1. Xcode에서 Simulator 또는 USB로 연결한 실제기기를 Cmd + R(빌드) 2. Safari Open 후 개발자용 메뉴 선택 개발자용 메뉴가 없을 경우 1. Mac Safari Setting 2. iPhone Safari Setting 3. 해당 웹페에지 클릭 4. 웹 속성 확인
let url = "your URL" var components = URLComponents(string: url)! components.queryItems = URLQueryItem(name: "name", value: value.trimmingCharacters(in: .whitespaces)) components.queryItems = [URLQueryItem(name: "name1", value: value.trimmingCharacters(in: .whitespaces)), URLQueryItem(name: "name2", value: value.trimmingCharacters(in: .whitespaces))] var request = URLRequest(url: components.url!..

https://github.com/WallabyStuff/SafeAreaBrush GitHub - WallabyStuff/SafeAreaBrush Contribute to WallabyStuff/SafeAreaBrush development by creating an account on GitHub. github.com 1. pod init -> podFile -> pod 'SafeAreaBrush' 입력 후 저장 -> pod install import UIKit import SafeAreaBrush class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() fillSafeArea(position: ...
webView.scrollView.refreshControl = UIRefreshControl() webView.scrollView.refreshControl?.addTarget(self, action: #selector(handleRefreshControl), for: .valueChanged) webView.scrollView.refreshControl?.tintColor = UIColor(red: 187 / 255, green: 38 / 255, blue: 73 / 255, alpha: 1.0) webView.scrollView.refreshControl?.attributedTitle = NSAttributedString(string: "당겨서 새로고침", attributes: [.foregroun..
func uploadImage(image: UIImage) { let url = URL(string: "URL/imgUpload.php")! // 이미지를 JPEG 데이터로 변환 guard let imageData = image.jpegData(compressionQuality: 0.8) else { print("Failed to convert image to JPEG data") return } // URLRequest 생성 var request = URLRequest(url: url) request.httpMethod = "POST" // HTTP Body에 이미지 데이터 추가 let boundary = "Boundary-\(UUID().uuidString)" request.setValue("mult..

import UIKit class ViewController: UIViewController { @IBOutlet weak var imageView: UIImageView! let imagePicker = UIImagePickerController() var selectedImage = UIImage() override func viewDidLoad() { super.viewDidLoad() imagePicker.delegate = self imageView.backgroundColor = .brown } @IBAction func cameraBTN(_ sender: UIButton) { imagePicker.sourceType = .camera present(imagePicker, animated: t..

... // HTML 전화 ... ... // Swift extension ViewController: WKNavigationDelegate { func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void) { if let url = navigationAction.request.url { if url.scheme == "tel" { if UIApplication.shared.canOpenURL(url) { UIApplication.shared.open(url, options: [:], complet..

.progress .progress-bar{ -webkit-animation: progress 5s; /* Safari 4+ */ -moz-animation: progress 5s; /* Fx 5+ */ -o-animation: progress 5s; /* Opera 12+ */ animation: progress 5s; /* IE 10+ */ } @-webkit-keyframes progress { 0% { width: 0%; } 100% { width: 100%; } } @-moz-keyframes progress { 0% { width: 0%; } 100% { width: 100%; } } @-o-keyframes progress { 0% { width: 0%; } 100% { width: 100%..