목록앱 개발 (64)
나의 발자취
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android 입력.
본인 스펙 1. 플러터 SDK 다운은 다들 알거라고 생각.. 이걸 그대로 따르면 된다. https://docs.flutter.dev/get-started/install/macos/mobile-ios?tab=download Start building Flutter iOS apps on macOS Configure your system to develop Flutter mobile apps on macOS and iOS. docs.flutter.dev 그러나, 공식 문서의 위 내용에서 하란대로 했는데도 Flutter doctor을 쳤을 때 터미널에서 플러터 자체를 못알아들을때??? 원인은 환경변수 설정에 있다. 제일 위 라인을 보면 플러터 버전을 명령어로 쳤을 때 못알아듣지만, zsh 스크립트를 변경하니 알..
UIColor ColorLiteral UIKit에서, Color. 대신 컬러칩으로 하고싶으면 ColorLiteral을 하면 뜬다. Optional Chaining 1) Force Unwrapping (optional!) 2) Check the nil value if optional != nil { optional! } 3) Optional binding (If-let) if let safeOptional = optional { safeOptional } 4) Nil Coalescing ( Optional ?? DefaultValue) 5) Optional Chaining ( optional?.property / optional?.method() )
그림에서부터 설명이 잘되어있다. https://velog.io/@minji0801/iOS-Application-Life-Cycle-iOS-%EC%95%B1%EC%9D%98-%EC%83%9D%EB%AA%85%EC%A3%BC%EA%B8%B0
아이폰 내에서의 파일시스템이 어떻게 이루어져있는지 정~말 기본적이지만 그동안 솔직히 iOS 공부를 못해서 까먹은 겸 다시 복기하는 차원에서 읽어본 글이다. https://medium.com/@lucideus/understanding-the-ios-file-system-eee3dc87e455
A class is another means of modeling real-life objects programmatically. 클래스는 실제 생활에 적용되는 객체들을 프로그래밍적 관점으로 모델링하는 것을 뜻하기도 한다 How to create a class using the class keyword. Using the init() method allows us to provide an instance with specific values right off-the-bat during the creation of an instance. 클래스의 init() 메서드는 인스턴스를 만들 때 바로 특정 밸류값을 가질 수 있도록 하는 기능이다. A class can inherit another class’s pr..
Levels of Access Public We’ll start with public, the most open level, which grants access to a property or method from inside or outside the module. Relating it to the company analogy, since modules are companies, public information can be shared between companies. This level is typically used when creating frameworks so that modules that import the framework can access its properties and method..
* argument label 을 _ 로 하면 function invoke 시 argument label을 쓰지 않아도 된다 * multiple values는 튜플로 반환한다. func favoriteCuisine() -> (name:String, dish:String) { return ("Russian", "Pelmeni") } let cuisine = favoriteCuisine() print("My favorite \(cuisine.name) dish is \(cuisine.dish)!")* Implicit return 이란, swift 5.1(20년 2월)부터 생긴 것으로 return이 한줄이면 return 키워드를 생략해도 된다. * default parameter는 argument 뒤에 = 하..