We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extension String { var localized: String { return NSLocalizedString(self, comment: "") } }
func localized<T: CVarArg>(with argument: T) -> String { return String(format: self.localized, argument) }
Scheme마다 설정다르게 해서 언어 설정이나, DEBUG/RELEASE를 구분할 수 있다.
import MessageUI
final class LocalizableViewController: UIViewController, MFMailComposeViewControllerDelegate, UINavigationControllerDelegate {}
func sendMail() { if MFMailComposeViewController.canSendMail() { let mail = MFMailComposeViewController() mail.setToRecipients(["taekki@taekki.com"]) mail.setSubject("다이어리 문의사항") mail.mailComposeDelegate = self present(mail, animated: true) } else { // 메일 등록을 해주시거나, "~~@~~.com"으로 문의 주세요 print("alert") } }
The text was updated successfully, but these errors were encountered:
[#123] Localization, 다국어 대응
eee26d0
[#123] 리뷰/문의(메일) 키워드
7d94d66
Update documentation (#123 - Localization, 리뷰/문의)
904d5d3
fdfc59e
- 날짜 오탈자 수정
Taehyeon-Kim
No branches or pull requests
Custom Font
사용시 주의할 점
다국어 지원
다국어 대응
strings
Scheme 설정하기
Scheme마다 설정다르게 해서 언어 설정이나, DEBUG/RELEASE를 구분할 수 있다.
리뷰 남기기(옵션)
문의 남기기
The text was updated successfully, but these errors were encountered: