프로그래밍
-
Swift JSON 디코딩하는데 타입이 여러 데이터 타입으로 들어온다면?프로그래밍 2023. 9. 5. 22:06
What if a field has multiple types? Here's a solution. Error Message: typeMismatch typeMismatch(Swift.String, Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "keywordList", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0), CodingKeys(stringValue: "monthlyPcQcCnt", intValue: nil)], debugDescription: "Expected to decode String but found a number instead.", underlyingE..
-
[Swift5] UISlider tap to change value: Tap on UISlider to Set the Value프로그래밍 2023. 8. 22. 23:47
you want to know how to change Uislider value on tapping at particular point on the Uislider. To change the UISlider value when tapping on a particular point, you can add a tap gesture recognizer to the UISlider and then calculate the value based on the tapped position. Here's how you can achieve this: Add a Tap Gesture Recognizer: First, add a tap gesture recognizer to your UISlider. let tapGes..
-
IOS 앱 <NEW ME> 기획부터 출시까지프로그래밍 2022. 7. 22. 10:40
자바 개발자의 앱기획부터 앱출시까지의 여정 나는 2년차 JAVA 개발자로 일하고 있다. 오늘 애플 앱스토어에 첫 앱을 출시했다. 간단한 앱이라 그런지 제출부터 승인까지 하루가 걸렸다. 그리고 앱을 기획하고 출시하기까지 세 달이 걸렸다. 약 세 달 동안 퇴근 후 저녁 시간과 주말에 개발을 했고, 개발 속도가 더뎠지만 포기하지 않았다. 생각대로 작동되지 않는 기능을 보면서 며칠 동안 씨름하기도 했고, 어려운 부분은 그냥 넘어가기도 했다. 이제 출시했으니 끝이 아니라 또 다른 시작이다. 앞으로 적용해보고 싶은 기능들이 많다. 개선 작업에 착수하기 앞서 지난 3개월을 돌아보려고 한다. 기록!! 앱기획 아이디어 발상 확언은 업데이트되어야 한다. 책 속 이 문장에서 아이디어가 시작됐다. 2022년 1월부터 확언하기..