본문 바로가기

IOS

(16)
[SwiftUI] 상단 탭바, Stack, Padding 등 참고한 블로그 ✅ https://hyerios.tistory.com/153 SwiftUI 유형별 스택 VStack, HStack, ZStack SwiftUI에서 스택은 3가지 종류가 있습니다. 3가지 종류는 VStack, HStack, ZStack입니다. VStack 먼저 VStack을 살펴보겠습니다. 공식 문서를 살펴보면 VStack은 Gneric Structure이며, 자식들을 수직으로 배열하.. hyerios.tistory.com ✅ https://medium.com/geekculture/custom-top-tab-bar-in-ios-swift-swiftui-93e4fc3e5d5b Custom Top Tab Bar in IOS (Swift, SwiftUI) Hi Guys, in this blog you can l..
iOS UserNotifications로 push알림 구현하기 ❤️ 참고 블로그 https://zeddios.tistory.com/157?category=682195 왕초보를 위한 UserNotifications사용해보기 + ) 2020.03.19 1. Deployment target을 10.3에서 13.0으로 변경. 2. Swift 3.0에서 Swift 5.0을 사용하도록 변경. 안녕하세요 :) Zedd입니다. 오늘은 바로 UserNotifications을 사용해보려고합니다 XD Notifica.. zeddios.tistory.com https://nsios.tistory.com/34 [Swift] APNS - Apple Push Notification 앱이 사용자에게 알림을 주는 방법으로 푸시알림이 있어요 대표적으로 카카오톡 메시지가 오면 위에서 나오는 작은 알..
[Swift 기초 문법] 함수 기본, 고급 🍎 함수 기본 // Swift에서는 함수를 아래와 같이 선언! func 함수이름(매개변수1이름: 매개변수1타입, 매개변수2이름: 매개변수2타입...) -> 반환타입 { /* 함수 구현부 */ return 반환값 } // example func sum(a: Int, b: Int) -> Int { return a + b } -> 함수의 반환 값이 없다면 Void 형태로 반환하거나 생략 가능! Swift에서는 함수 매개변수의 기본값을 미리 설정해둘 수 있다. // 함수 매개변수에 기본값 설정 func greeting(friend: String, me: String = "pig") { print("Hello \(friend)! I'm \(me)") } 사용자 입장에서 더 알아보기 쉽도록 "전달인자 레이블" 기능..
[Swift 기초 문법] 데이터의 집합 - Array, Dictionary, Set 🍎 데이터의 집합(컬렉션) - Array, Dictionary, Set Array : "순서가 있는" 리스트 컬렉션이며, 인덱스(순서)를 통해 값에 접근을 할 수 있다. var integers: Array = Array() # Array를 표현하는 다양한 방법 var integers: Array = [Int]() var integers: Array = [] var integers: [Int] = Array() var integers: [Int] = [Int]() var integers: [Int] = [] var integers = [Int]() Array에서 사용되는 메소드 Array이름.append(원소) : Array에 원소를 담고 싶을 때 Array이름.contains(원소) : Array에 원소..
[Swift 기초 문법] 이름 짓기, 콘솔 로그, 상수와 변수, 기본 데이터 타입, Any, AnyObject, nil 🍎 이름 짓기 함수 / 메소드 / 변수 / 상수 : lowerCamelCase 타입(클래스, 구조체, 열거형, Extension) : UpperCamelCase 🍎 콘솔 로그 print() : 간단한 문자열, 데이터 등을 출력할 때 사용 dump() : 인스턴스의 자세한 설명을 출력할 때 사용, 딕셔너리를 좀 더 상세히, 예쁘게 찍어보고 싶을 때 사용하면 된다!! 🍎 상수와 변수 변수 : var (이름) : (타입) = 값 상수 : let (이름) : (타입) = 값 이때, 타입을 쓰지 않아도 swift에서 값에 따라 타입을 추론하기도 함! 🍎 기본 데이터 타입 Bool : true/false를 담을 수 있고 다른 언어와 달리 0과 1을 대입할 수 없다. Int : 정수 타입의 데이터를 모두 담을 수 있..
[Spotify Clone🍏] 1강 노션 정리 https://ajar-crown-431.notion.site/UIWindow-de000e0e571a48a79ad5089a4e0f91c4 UIWindow, 탭바, 파일 그룹화 UIWindow ajar-crown-431.notion.site Github 코드 정리 https://github.com/abi-hong/Spotify-Clone GitHub - abi-hong/Spotify-Clone Contribute to abi-hong/Spotify-Clone development by creating an account on GitHub. github.com
[iOS 향유] 상세정보페이지 구현완료🎉 기능구현 ✅ 리뷰 작성 https://roniruny.tistory.com/149 [iOS] TextView - 플레이스홀더, 패딩, 글자 수 제한, 커서, 키보드 dismiss 📦 TextView - 플레이스홀더, 패딩, 글자 수 제한, 커서 색상, 키보드 dismiss 프로젝트를 하면서 TextView를 사용해 다양한 기능을 구현하게 되어 정리를 해봅니다! SnapKit과 Then 라이브러리를 사용하 roniruny.tistory.com https://ios-development.tistory.com/693 [iOS - swift] TextView placeholder 적용 방법 placeholder 적용 textView 초기화 text를 placeHolder 문자열, color를 placeHolde..
git pr후 merge하면서 생긴 에러 해결법 + etc ✅ info.plist 관련 에러 해결법 https://gwangyonglee.tistory.com/39 [iOS] info.plist cannot be found 해결하기 해당 에러 로그는 info.plist 경로를 찾지못하여 컴파일이 에러나는 경우입니다. 해결방법은.. info.plist 해당 경로를 정확하게 수정해주면 해결됩니다. gwangyonglee.tistory.com https://stackoverflow.com/questions/50718018/xcode-10-error-multiple-commands-produce Xcode 10 Error: Multiple commands produce error: Multiple commands produce '/Users/uesr/Library/De..