본문 바로가기

반응형

Programming

(171)
Protocol Buffers - Python (2/3) Protocol Buffer Basics: Python | Protocol Buffers | Google Developers This tutorial provides a basic Python programmer's introduction to working with protocol buffers. By walking through creating a simple example application, it shows you how to Define message formats in a .proto file. Use the protocol buffer compiler. Use t developers.google.com 위 링크의 내용을 기반으로 작성했습니다. 이 문서는 proto2 버전을 사용합니다. pr..
Protocol Buffers - protobuf 는 무엇인가? (1/3) iOS dependency 인 cocoapods 를 사용하여 depdency 관리를 하다 보면 Podfile.lock 에 위와 같이 Protobuf dependency 가 설정된다. Protobuf 가 무엇이길래 이렇게 많이 보이는 것일까? 궁금하니 알아 보도록 하자. Cocoapods 를 단서로 검색해보자. (물론 google 에서 검색했으면 더 빨랐을지도 모른다...) https://cocoapods.org CocoaPods.org CocoaPods is built with Ruby and is installable with the default Ruby available on macOS. We recommend you use the default ruby. Using the default Ruby ..
무료 SSL 인증서 발급 적용 무료 SSL 인증서 발급에 도움이 되는 글을 기록한다. Let's Encrypt 무료 SSL인증서 발급 받기 (어렵지 않아요) devlog.jwgo.kr/2019/04/16/get-ssl-cert-from-letsencrypt/ Let's Encrypt 무료 SSL인증서 발급 받기 (어렵지 않아요) · Tonic 사이트 운영에 도움을 주실 수 있습니다. 고맙습니다. --> Let's Encrypt 무료 SSL인증서 발급 받기 (어렵지 않아요) 2019년 04월 16일 얼마 전 구글 크롬이 HTTPS를 지원하지 않는 사이트에 접속하면 주소 devlog.jwgo.kr Let's Encrypt SSL 인증서 자동 갱신 설정 방법 devlog.jwgo.kr/2019/04/16/how-to-lets-encrypt..
[Fastlane] increment_build_number Action 배포를 하거나 CI에서 빌드할 때 Fastlane을 많이 사용하고 있다. beta에 여러 번 업로드할 경우 builder number 가 같다고 오류가 발생한 경우를 모두 경험해 보셨을 것이다. Fastlane 에는 이런 문제를 해결하기 위한 Action 이 있다. increment_build_number fastlane lane 을 실행하고 이 Action 이 실행되면 build number를 +1 하는 과정을 실행한다. 이것만 추가하면 build number 에 대한 걱정은 하지 않아도 된다. 그럼 추가해보자. Fastlane 답게 추가는 간단하다. 아래 Fastfile 내용을 보시면 lane 아래에 추가만 하면 된다. platform :ios do desc "Push a new beta build ..
Flutter 8일 차 - Flutter for iOS devs (8/8), Databases and local storage, Debugging, Notifications Databases and local storage https://flutter.dev/docs/get-started/flutter-for/ios-devs#databases-and-local-storage How do I access UserDefault in Flutter? iOS 에서는 key-value 쌍으로 된 컬렉션을 UserDefaults 로 알려진 property list 를 이용하여 저장할 수 있다. Flutter 에서는 동일하게 Shared Preference plugin 을 이용할 수 있다. 이 플러그인인 iOS 의 UserDefaults, Android 의 SharedPreference 두 기능을 감싼 것이다. What is the equivalent to CoreData in Flut..
Flutter 7일 차 - Flutter for iOS devs (7/8), Interacting with hardware, third party services and the platform Interacting with hardware, third party services and the platform https://flutter.dev/docs/get-started/flutter-for/ios-devs#interacting-with-hardware-third-party-services-and-the-platform How do I interact with the platform, and with platform native code? Flutter 는 플랫폼에서 바로 코드를 실행하지 않는다. Dartk 코드는 디바이스에서 네이티브하게 실행하는 Flutter 앱을 만든다. Flutter 에서 네트워크 요청을 실행하면 Dart context 에서 바로 실행한다. 일반적으로 네이티브 앱을 만..
Flutter 6일 차 - Flutter for iOS devs (6/8), Form input Form input https://flutter.dev/docs/get-started/flutter-for/ios-devs#form-input How do forms work in Flutter? How do I retrieve user input? Flutter 가 분리된 상태와 불변의 위젯을 사용을 고려할때 , 그림에 유저 입력을 어떻게 맞출지 고민해야 한다. iOS 에서는 일반적으로 유저 입력이나 액션이 제출될때 현재 상태를 조회한다. Flutter 에서는 어떻게 동작할까? 특화된 위젯을 통해서 flutter 에서도 모두 처리된다. 만약 TextField, TextFormField 가 있다면 유저 인풋을 가져오기 위해 TextEditingController 를 제공할 수 있다. What is the..
Flutter 5일 차 - Flutter for iOS devs (5/8), Gesture detection and touch event handling, Theming and text Gesture detection and touch event handling https://flutter.dev/docs/get-started/flutter-for/ios-devs#gesture-detection-and-touch-event-handling How do I add a click listener to a widget in Flutter? iOS 에서는 클릭 이벤트를 처리하기 위해서 GestureRecognizer 를 붙인다. Flutter 에는 터치 리스너를 추가하는 2가지 방법이 있다. 만약 위젯이 이벤트 발견을 지원한다면 함수를 넘겨라 그리고 함수에서 이벤트를 처리해라. 만약 이벤트 발견을 지원하지 않는다면 GestureDetector 로 감싸고 onTap 매개변수에 함수를 넘겨라 Ho..

반응형