🍎 iOS

[iOS] 레퍼런스 모음

dev_zoe 2022. 11. 10. 23:51
반응형

1. info.plist에 custom font를 넣고, 스펠링이 틀리지 않았음에도 폰트를 nil로 가져오는 현상

https://stackoverflow.com/questions/51088003/uifont-returning-nil-for-custom-font

 

UIFont returning nil for custom font

I am trying to use the Nunito-ExtraBoldItalic font for my UILabel. I followed the steps outlined in tutorials and other answers. Add font to fonts folder. Made sure the target is set to the proje...

stackoverflow.com

Build Phase에서 Copy Bundle Resources에 폰트들을 넣어주니 해결

 

2. 일부 모서리만 둥글게 처리하는 방법

https://swieeft.github.io/2020/03/05/UIViewRoundCorners.html

 

UIView 특정 모서리만 둥글게 만들기(Round Corners) - 뀔뀔(swieeft)의 개발새발기

오늘은 UIView에서 특정 모서리만 둥글게 처리하는 방법을 알아보려고 합니다. 개발을 하다보면 “뷰의 상단만 둥글게 해주세요”, “왼쪽 상단만 둥글게 해주세요” 등의 요구사항을 받을 때가

swieeft.github.io

 

3. 한 라벨에서 글자에 여러 색 넣는 방법

https://stackoverflow.com/questions/24666515/how-do-i-make-an-attributed-string-using-swift

 

How do I make an attributed string using Swift?

I am trying to make a simple Coffee Calculator. I need to display the amount of coffee in grams. The "g" symbol for grams needs to be attached to my UILabel that I am using to display the amount. The

stackoverflow.com

3-1. 한 라벨에서 글자에 언더라인 넣는 방법

https://sulkunblog.tistory.com/48

 

Swift ) label underline programmatically

안녕하세요 오늘은 제목 그대로 label underlien을 해보겠습니다. 코드는 너무 간단해서 붙여넣기하셔서 사용하셔되 될것 같아요 var text:String = "Hoxy, 언더라인 찾으세요?? " let attributedString = NSMutableAt

sulkunblog.tistory.com

 

4. 텍스트 필드 왼쪽에 패딩 넣는방법

https://developer-fury.tistory.com/46

 

[Swift] UITextField Left padding 넣어주기 !!

안녕하세요 :] 오늘 정리할 내용은 UITextField의 Text에 left padding 값을 주는 거예요. 보통 UITextField의 값을 입력할 때면 너무 왼쪽에 딱 붙어서 경계선과 글자의 구분이 애매하죠. 그래서 왼쪽에 약

developer-fury.tistory.com

 

5. 텍스트필드에 입력 시 숫자 키보드 뜨도록

https://ikkison.tistory.com/18

 

6. 텍스트필드 정규식

https://ios-development.tistory.com/591

https://ios-development.tistory.com/592

 

[iOS - swift] NSPredicate (핸드폰 번호, 이메일, 패스워드 정규성 검사, CoreData 쿼리)

NSPredicate 메모리 내에서 어떤 값을 가져올때 filter에 대한 조건 사용처1: CoreData에서 특정 데이터를 가져올때 NSPredicate 사용 // CoreData에서 특정 id 값 존재 let request: NSFetchRequest = Entity.fetchRequest() let

ios-development.tistory.com

7. 텍스트필드 길이제한

https://stackoverflow.com/questions/25223407/max-length-uitextfield

 

Max length UITextField

When I've tried How to you set the maximum number of characters that can be entered into a UITextField using swift?, I saw that if I use all 10 characters, I can't erase the character too. The only

stackoverflow.com

 

8. textfield에 포맷 넣기

https://ios-development.tistory.com/257

 

[iOS - swift] UITextField 포맷 (핸드폰 번호, 이메일, 카드 번호) - AnyFormatKit 사용

cocoapod pod 'AnyFormatKit' 구현 import import AnyFormatKit 델리게이트 함수에 적용 textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool 예제1) 폰 번호 포맷 - 010-1234-2134

ios-development.tistory.com

 

9. 뷰에 그림자 넣기

https://ios-development.tistory.com/653

반응형