swift Code 자신의 ViewController에 기본 Webview Setting은 자신에게 맞게 하고 녹색 부분을 추가해 주면 된다 override func viewDidLoad() { super.viewDidLoad() initView() wkWebView.load(YOUR UrlRequest) } func initView() { wkWebView = WKWebView(frame: contentView.frame, configuration: getWebViewConfiguration()) wkWebView.uiDelegate = self wkWebView.navigationDelegate = self } func getWebViewConfiguration() -> WKWebViewConfigu..

기본 셋팅은 잘 정리된 아래의 사이트를 참고 하고 https://medium.com/@NovaWoo/ios-%EC%9D%B8%EC%A6%9D%EC%84%9C-%EB%B0%8F-%ED%94%84%EB%A1%9C%EB%B9%84%EC%A0%80%EB%8B%9D-%ED%94%84%EB%A1%9C%ED%8C%8C%EC%9D%BC-%EB%A7%8C%EB%93%A4%EA%B8%B0-97355848b823 iOS 인증서 및 프로비저닝 프로파일 만들기 iOS 앱을 개발하고 배포할때, 인앱결제를 할때 인증서와 프로비저닝 프로파일이 필요합니다. 이 글에서는 앱ID 를 등록하고, 인증서를 만들고, 이 인증서를 통해 프로파일을 만들어봅니다. medium.com 위의 과정을 마치고나서 FireBase Cloud Message ..
1. 함수와 메소드, 인스턴스명의 첫 글자는 소문자 2. 클래스와 구조체, 프로토콜 등 객체의 첫 글자는 대문자
Swift 에서는 5가지 접근 레벨이 있다. open -> public -> internal -> file-private -> private -> 방향으로 갈수록 제한적이다.

1. npm , nodejs 설치 curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - sudo apt-get install -y nodejs 2. pm2 설치 sudo npm install pm2 -g 3. git 설치 sudo apt-get update sudo apt-get upgrade sudo apt-get install git 4. git 저장소 클론 sudo git clone https:// 깃 저장소 5. mysql 설치 sudo apt-get update sudo apt-get install mysql-server mysql_secure_installation 6. mysql User 생성 - root 계정으로 mysql 접속 ..
안드로이드 style 이용해서 버튼 TextColor 변경 하는 방법 styles.xml code.kt private fun showDialog() { context?.let { val alert = AlertDialog.Builder(it, R.style.MyDialogTheme) alert.setTitle("제목") alert.setMessage("내용") alert.setPositiveButton("ok") { _, _ -> } alert.setNegativeButton("no") { _, _ -> } val dialog = alert.create() dialog.show() } } after 참조 : https://stackoverflow.com/questions/27965662/how-can-i..
안드로이드 Youtube API 사용 방법 1. https://developers.google.com/youtube/android/player/downloads/?hl=ko 에서 jar 파일 다운로드 2. (Mac 기준) Android Studio -> File -> project structure -> 좌측 리스트에 보이는 Modules 하단에 App 클릭 -> Dependencies 탭 클릭 -> 좌측 하단 + 버튼 클릭 -> jar Dependencies 클릭 -> 1 에서 다운 받은 Youtube jar 파일 추가 -> 사용 준비 완료 3. 예제 (Thumbnail 출력 및 기본 Youtube 재생화면 출력) 아래 소스 코드 기능은 1. 해당 비디오 썸네일 출력2. 썸네일 클릭시 유투브 기본 재생..
안드로이드 Oreo 버전 Notification 적용 하면서 알게된 점 정리 1. 앱 알림 설정에서 기타 설정이 있는데, 이부분은 FCM 에서 기본으로 정의한 채널이다. 해당 채널을 없애고 싶다면, AndroidManifest 에서 = android.os.Build.VERSION_CODES.O) { val notifManager = getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager notifManager.createNotificationChannelGroup(NotificationChannelGroup(GroupId, GroupName)) val notificationChannel = NotificationChannel(chann..