반응형

전체 글 250

[KotlinInAction] 5장-람다로 프로그래밍(5) 수신 객체 지정 람다: with 와 apply

수신 객체 지정 람다 labda with receiver 수신 객체를 명시하지 않고 람다의 본문 안에서 다른 객체의 메소드를 호출할 수 있게 한다. (=어떤 객체의 이름을 반복하지 않고, 그 객체에 대해 다양한 연산을 수행할 수 있다!) 수신 객체지정 람다 중 하나인, with 와 apply 에 대해 알아볼까요? .1 with 문법 inline fun with(receiver: T, block: T.() -> R): R { return receiver.block() } receiver = 수신 객체, block = 수신 객체 지정 람다 수신 객체 지정 람다의 실행 결과를 반환합니다. 아래 결과가 나오는 코드를 3가지 방법으로 나열해 보면, ABCDEFGHIJKLMNOPQRSTUVWXYZ Now I kno..

Language/Kotlin 2021.12.08

[KotlinInAction] 5장-람다로 프로그래밍(5) 수신 객체 지정 람다: with 와 apply

수신 객체 지정 람다 labda with receiver 수신 객체를 명시하지 않고 람다의 본문 안에서 다른 객체의 메소드를 호출할 수 있게 한다. (=어떤 객체의 이름을 반복하지 않고, 그 객체에 대해 다양한 연산을 수행할 수 있다!) 수신 객체지정 람다 중 하나인, with 와 apply 에 대해 알아볼까요? .1 with 문법 inline fun with(receiver: T, block: T.() -> R): R { return receiver.block() } receiver = 수신 객체, block = 수신 객체 지정 람다 수신 객체 지정 람다의 실행 결과를 반환합니다. 아래 결과가 나오는 코드를 3가지 방법으로 나열해 보면, ABCDEFGHIJKLMNOPQRSTUVWXYZ Now I kno..

Language/Kotlin 2021.12.08

[AppStore] REJECT사유: Guideline 2.3.8 - Performance - Accurate Metadata

Guideline 2.3.8 - Performance - Accurate Metadata We noticed that the app name to be displayed on the App Store and the app name displayed on the device do not sufficiently match, which makes it difficult for users to find the app they just downloaded. The app names are: - Name on the App Store: 날마다 솟는 샘물 - Name displayed on the device: churchOfLove Next Steps To resolve this issue, please chang..

Platform/iOS 2021.11.30

[AppStore] REJECT 사유: Guideline 1.5 - Safety - Developer Information

Guideline 1.5 - Safety - Developer Information The support URL specified in your app’s metadata, http://webadmin.365qt.com, does not properly navigate to the intended destination. Next Steps To resolve this issue, please revise your app’s support URL to ensure it directs users to a webpage with support information. 지침 1.5 - 안전 - 개발자 정보 앱의 메타데이터에 지정된 지원 URL(http://webadmin.365qt.com)이 의도한 대상으로 제대..

Platform/iOS 2021.11.30

[KotlinInAction] 5장-람다로 프로그래밍(1) 람다 식과 멤버 참조

PREVIEW) 5장 - 람다로 프로그래밍 1. 컬렉션을 처리하는 패턴을 표준 라이브러리 함수에 람다를 넘기는 방식으로 대체하는 예제들 2. 자바 라이브러리와 람다를 함께 사용하는 방법 - 자바에서 처음부터 람다를 고려하지 않고 만든 라이브러리라도 람다를 활용하게 만들 수 있다! 3. 수신 객체 지정 람다(lambda with receiver): 람다 선언을 둘러싸고 있는 환경과는 다른 상황에서 본문 실행 위 내용을 배우기 전에, 기본 다지기로! 람다로 프로그래밍을 하기 위한 개념을 먼저 집고 넘어가도록 하겠습니다. 꼬고! 0. 시작 람다(lambda) 다른 함수에 넘길 수 있는 작은 코드 조각 use case) 컬렉션 처리 1. 람다 소개: 코드 블록을 함수 인자로 넣기 람다가 태어나기 전... 이벤트..

Language/Kotlin 2021.11.24

[AppStore] REJECT 사유: Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage

Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage 지침 5.1.1 - 법률 - 개인 정보 - 데이터 수집 및 저장 Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage We noticed that your app requires users to register or log in to access features that are not account based. Apps may not require users to enter personal information to function, except when directly relevant to the core functionality..

Platform/iOS 2021.11.21
반응형