Skip to content

Commit

Permalink
Merge pull request #59 from sookim-1/feature/051_20241231
Browse files Browse the repository at this point in the history
Create 051-20241231.md
  • Loading branch information
sookim-1 authored Jan 2, 2025
2 parents cbe9be3 + 34ee457 commit ff4185a
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 0 deletions.
41 changes: 41 additions & 0 deletions Content/en/051-20241231_en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
author: sookim-1
description: Notes on Korean Line Breaking, PLA Update Distribution Error, Windsurf Editor Review, CodeFactory Dart Lectures, AppDistribution Deployment
date: 2024-12-31 04:13
tags: iOS, Swift, lineBreak, TestFlight, AppDistribution, Windsurf, Dart
published: true
---
# Number: 051, Date: 2024-12-31
## 2024.12.23 ~ 2024.12.31
### 🇰🇷 Regarding Korean Line Breaking

---

When displaying multiple lines in a `UILabel`, you can adjust how text is laid out when it overflows the container area by configuring the [lineBreakMode](https://developer.apple.com/documentation/uikit/uilabel/linebreakmode) property.

Examining the [NSLineBreakMode](https://developer.apple.com/documentation/uikit/nslinebreakmode) enum type reveals various options, but there was an issue where Korean text was not breaking properly.

In such cases, you can configure the [lineBreakStrategy](https://developer.apple.com/documentation/uikit/nsparagraphstyle/linebreakstrategy-swift.property) property to control how line breaks are applied within paragraphs.

The default value is `standard`, but among the options, using `hangulWordPriority`—which adjusts separation between Korean characters—can resolve the issue.

### 🚨 Unable to process request - PLA Update available Error

---

While deploying a new version using fastlane, an "Unable to process request - PLA Update available" error occurred, preventing the distribution.

Upon closer inspection, I found that it required logging into the App Store account and agreeing to the license terms.

The PDF explaining the terms was incredibly long, but to summarize, it outlined Apple's requirements for using its services and the restrictions for violations.

After agreeing to the terms, the error was resolved.

### 🙋🏻‍♂️ Other Notes

---

1. Recently, CursorAI—a code editor enhanced with AI—was trending, but a new code editor called Windsurf has been released. I found it slightly more convenient in understanding existing files.
2. I completed the Dart lectures from CodeFactory. As expected, modern programming languages share many similarities.
3. I deployed a side project app using AppDistribution. It was convenient for testing without purchasing an Apple Developer Membership.
4. I plan to start organizing content from the KavSoft channel one by one starting next year.
41 changes: 41 additions & 0 deletions Content/ko/051-20241231.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
author: sookim-1
description: 한글 줄바꿈 참고사항, PLA Update 배포에러, Windsurf 에디터 후기, 코드팩토리 Dart 강의, AppDistribution 배포
date: 2024-12-31 04:13
tags: iOS, Swift, lineBreak, TestFlight, AppDistribution, Windsurf, Dart
published: true
---
# 번호 : 051, 작성일자: 2024-12-31
## 2024.12.23 ~ 2024.12.31
### 🇰🇷 한글 줄바꿈 관련

---

여러 줄을 UILabel에 표시할 때 텍스트가 컨테이너영역을 넘어갈 때, 배치하는 방법을 조절하려면 [lineBreakMode](https://developer.apple.com/documentation/uikit/uilabel/linebreakmode)프로퍼티로 설정할 수 있습니다.

[NSLineBreakMode](https://developer.apple.com/documentation/uikit/nslinebreakmode) enum 타입을 살펴보면 여러가지 옵션을 활용할 수 있지만, 한글에서 제대로 줄바꿈이 안되는 이슈가 있었습니다.

그럴 때 줄바꿈을 문단 중 어디에 배치할지 조절할 수 있는 [lineBreakStrategy](https://developer.apple.com/documentation/uikit/nsparagraphstyle/linebreakstrategy-swift.property) 프로퍼티를 설정합니다.

기본 값은 standard이지만 목록 중에 hangulWordPriority 즉, 한글 문자 사이의 분리를 조절해주는 옵션을 활용하면 됩니다.

### 🚨 Unable to process request - PLA Update available 에러

---

fastlane으로 새로운 버전을 배포하는데 처음보는 Unable to process request - PLA Update available 에러가 발생하면서 배포가 되지 않았습니다.

자세히 보니 Appstore 계정으로 로그인 한 후 License에 대한 동의를 진행해달라고 하여서 확인해보았습니다.

약관을 설명하는 PDF가 정말 길었는데 요약하면 Apple 서비스를 요구에 맞게 사용해주기를 바라고 어길시 제한등에 관한 내용들이였습니다.

약관 동의를 하니 해당 에러는 발생하지 않았습니다.

### 🙋🏻‍♂️ 기타 사항

---

1. 최근에 AI를 곁들인 CodeEditor인 CursorAI가 유행이였는데 Windsurf라는 새로운 CodeEditor가 나와서 사용해봤는데 기존 파일들을 이해하는 부분에서는 조금 더 편리하다고 느꼈다.
2. 코드팩토리의 Dart 강의를 전부 수강했는 데 역시 현대적인 프로그래밍언어들은 유사한 부분등이 많은 것 같다.
3. AppDistribution을 통해 사이드프로젝트앱을 배포했는 데 일단 애플개발자멤버십을 구매안하고 테스트하기 좋았다.
4. KavSoft 채널을 내년부터는 하나씩 정리해봐가야겠다.

0 comments on commit ff4185a

Please sign in to comment.