profile
느려도 한 걸음 씩 끝까지

[Swift] pass-by-value vs pass-by-reference

Swift는 pass-by-value 언어.

2023년 7월 31일
·
0개의 댓글
·
post-thumbnail

[PL/SQL] CREATE FUNCTION

SQL COUNT 멋있게 쓰기: PL/SQL 기초1

2023년 7월 10일
·
0개의 댓글
·
post-thumbnail

[SwiftUI] tabview indicator 로 custom image 사용하기

앱에서 Carousel 같은 Slider를 구현하면서 page indicator로 default 이미지가 아닌 내가 지정한 이미지를 사용하여 indicator 를 custom 하기

2023년 6월 9일
·
0개의 댓글
·
post-thumbnail

[WWDC2023] Swift 업데이트 정리

if, else if, else 를 사용해 조건을 만족하는 변수 초기화 가능! 보기 좋아졌다.ternary expression 삼항 연산자 대체하기oldnowglobal / stored property 멤버 초기화 시 oldnowFaster type checking,

2023년 6월 8일
·
0개의 댓글
·
post-thumbnail

[Combine]CurrentValueSubject vs Published

의문의 시작 @StateObject 클래스의 property를 view가 subscribe 하여 view의 상태를 변화시키려 한다. publisher의 유형 중 내가 선택할 수 있는 것은 다음의 3가지 정도이다. @Published @PassthroughSubject

2023년 5월 25일
·
0개의 댓글
·
post-thumbnail

[WKWebView] WKWebViewConfiguration 정리

비디오 태그가 있는 웹페이지였는데 Safari 브라우저, 크롬 브라우저, 안드로이드 기기에서는 동영상이 잘 보였지만 딱 내 아이폰에서만 화면이 보이지 않았다. iOS 버전이 문제일까? 기기가 문제일까?

2023년 5월 22일
·
0개의 댓글
·
post-thumbnail

[Docker] image 생성 후 push

Docker 기본

2023년 3월 29일
·
0개의 댓글
·
post-thumbnail

[SwiftUI] Dependency Injection for ViewModel

SwiftUI에서 MVVM 디자인 패턴을 채택할 경우, ViewModel 의존성 주입을 어떻게 해야할까?

2023년 3월 20일
·
0개의 댓글
·
post-thumbnail

[SwiftUI] Builder in Swift

Builder Design Pattern, 자바에만 있는게 아니라 우리도 있다.

2023년 3월 16일
·
0개의 댓글
·
post-thumbnail

[SwiftUI] tabBar, navigationBar height 알아내기

superview.height - (tabbar.height + navigationbar.height) 를 알고 싶어서 시작한 글

2023년 2월 17일
·
0개의 댓글
·
post-thumbnail

[정규표현식] 특정 문자열 사이의 문자찾기 ( all charcters bewteen string and string)

🗒️ Text 확장자를 제외하고 파일명 구하기 특정 문자열 (구분자) 이후의 character set 구하기 Expression Usage RegExp Details (): used for grouping as arithmetic does. an express

2023년 2월 6일
·
0개의 댓글
·
post-thumbnail

[iOS] Library not loaded

미래의 나에게, 빌드는 되는데 막상 run을 해보니 device에서 crash가 났구나?로그를 읽어보니 library가 load가 안 된다는데, 내 눈에는 분명 라이브러리, 프레임워크들을 잘 넣은 것 같은데... 뭐가 문제인지 모르겠다고?

2023년 1월 5일
·
0개의 댓글
·
post-thumbnail

[Swift] What does the prefix dollar $ sign mean: Property Wrapper

Every time I try to hand over a state variable to another logic, I encounter the dollar sign ($) often; which makes me puzzled.

2022년 12월 28일
·
0개의 댓글
·
post-thumbnail

[UIKit] load UIView from Xib(nib)

when you can not find a xib(nib) file from bundle

2022년 10월 20일
·
0개의 댓글
·
post-thumbnail

[AutoLayout] make constraint programmatically

storyboard 안 쓰고 AutoLayout constraints 만들기

2022년 10월 7일
·
0개의 댓글
·
post-thumbnail

[Codable] Response의 key 값을 미리 알 수 없을 때

제가 항상 모든 key 값을 미리 알 수는 없잖아요... 갑자기 response key가 달라질 수도 있잖아요?

2022년 10월 5일
·
0개의 댓글
·
post-thumbnail

[xcodebuild] xcframework 생성하기

아주 간단한 코드로 xcframework 생성이 가능합니다.

2022년 9월 21일
·
0개의 댓글
·
post-thumbnail

[RxSwift] DelegateProxy

Delegate 패턴을 유지하면서 RxSwift 사용하기

2022년 8월 26일
·
0개의 댓글
·
post-thumbnail

[Concurrency] Actor Defeats the DataRace

Swift 코딩에서 Datarace 를 피할 수 있는 가장 최신의 방안으로 actor를 소개!

2022년 8월 17일
·
0개의 댓글
·
post-thumbnail

[iOS] speech to text by Speech

🤓 들어가며 text를 speech로 옮기는 일은 생각보다 간단했다. '그런데 speech를 text로 바꾸는 것은 어떻게 하지? MLKit 이라도 사용해야 하나?' 라는 걱정. MLKit까지 사용할 필요는 없을 것 같고 SFSpeechRecognizer면 충분!

2022년 8월 11일
·
0개의 댓글
·