최근 scalajs와 ionic으로 iPhone 앱을 만들어 본 분 있나요 … ?
대략 12년 전쯤 시도한 흔적은 찾았어요.
감사합니다,
Tavin
최근 scalajs와 ionic으로 iPhone 앱을 만들어 본 분 있나요 … ?
대략 12년 전쯤 시도한 흔적은 찾았어요.
감사합니다,
Tavin
Anyone made an iPhone application with scalajs and ionic … lately?
I came across hints of attempts roughly twelve years back.
Cheers,
Tavin
제법 간단해요. 여기 설명된 Progressive web app을 써 보세요: Progressive web apps | MDN(https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps)
그걸 scala.js + laminar와 조합하고요
솔직히 실제로는 꽤 간단해요. 다양한 기기에서 얼마나 잘 동작하는지 / 개별 기능은 브라우저 지원 등에 달려 있죠
It's fairly straightforward: try a Progressive web app, as described here: Progressive web apps | MDN (https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps)
then combine that with scala.js + laminar
Honestly, its fairly simple in practice: how well it works across different devices / particular functionality depends on browser support and so forth
iOS는 잘 모르지만 Android 개발 경험으로 보면 이걸 “어렵지 않다”고 말하는 건 조심해야 해요. Android/iOS 앱이 처음에는 Electron 데스크톱 프로그램과 비슷해 보여도, 시작할 때 바로 드러나지 않는 어려움이 여러 가지 있거든요:
-
화면 크기와 픽셀 밀도가 달라서 일부 UI 구성 요소에는 디스플레이별로 다른 버전이 필요해요. 앱은 실행 중인 휴대전화 모델을 파악하고 거기에 맞는 UI 구성 요소를 보여 줘야 해요. (물론 iPhone이 Android보다 차이는 작지만 그래도 문제는 있어요).
-
가로와 세로 방향, 다크/라이트 모드 사이를 전환하면 GUI를 올바르게 그리기가 더 복잡해져요.
-
휴대전화의 여러 설정과 기능을 쓰려면 데스크톱 소프트웨어보다 일이 많아져요. 제가 알기로는 iOS가 Android보다 더 어렵고, 앱이 iOS API 사용법을 알아야 해요.
-
이런 앱을 Apple의 스토어에 올릴 때도 어려움이 생길 수 있고, 기술적인 문제만 있는 것도 아니에요.
요약하면, 분명 가능하기는 하지만 인기가 별로 없는 데는 아마 이유가 있겠죠.
i have limited iOS knowledge, but given my Android development background, I'd be cautious about describing this as “not hard”. An Android/iOS application may seem similar to an Electron desktop program at first, yet there are various difficulties with this approach which are not immediately obvious at the beginning:
-
Screen dimensions and pixel densities differ, which means that some UI components will require alternative versions for the different displays. Your application must identify the handset model it's running on and show the UI components appropriate to it. (Granted, iPhone varies less than Android here, though the issue remains).
-
Moving between landscape and portrait orientations, plus dark/light modes, further complicates rendering the GUI correctly.
-
Using the handset's various settings and capabilities takes additional effort compared with desktop software. From what I understand, iOS makes this harder than Android, and the application needs to understand the iOS API.
-
Getting this kind of application into Apple's store may present difficulties, some beyond purely technical ones.
In short, this can certainly be done, but its lack of popularity probably has explanations.
다양한 기기를 대상으로 하는 상용 앱을 말하는 거라면 전적으로 동의해요
If you mean commercial applications intended for a variety of devices, then I completely agree
Java Mail API로 메시지를 보내고 있어요. 도착한 메일의 받은편지함에는 보낸 주소가 표시돼요. 그 발신자 주소 대신 텍스트를 보여 주고 싶어요. facebook에서 오는 메일은 받은편지함에 "mailbox@faceb…
CRM 코드가 웹 리소스 안에서 실행되다 보니 엔터티 데이터를 가져오려면 이렇게 작성해야 해요. 그런데 typescript로 작성하면 이 표현식이 컴파일되지 않아요. 지금은 Xrm.Page 앞에 window.parent를..…
Date 헤더를 보내고 싶어요. 필요한 형식은 다음과 같아요: 지금까지 시도한 코드는 이거예요: