Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- shorebird
- geofencing
- IOS
- appstore
- github
- window
- FLUTTER
- Xcode
- 웹뷰
- Git
- MacOS
- Swift
- error
- Archive
- JPA
- UIButton
- iOS16
- 개발자
- Apple
- Firebase
- SwiftUI
- Realm
- Notification
- Session
- 이미지
- Code
- darkmode
- rxswift
- 한글
- mac
Archives
- Today
- Total
목록attributesOfFileSystem (1)
EEYatHo 앱 깎는 이야기
Swift ) 디바이스 여유공간 구하기 - EEYatHo iOS
다비이스의 여유 저장공간을 단위까지 변환해서 구하는 함수 /// 여유공간 구하기 func getFreeSizeAsString() -> String { let documentDirectoryPath = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true) var freeSize: NSNumber? // Byte단위 do { let attributes = try FileManager.default.attributesOfFileSystem(forPath: documentDirectoryPath.last! as String) freeSize = attributes[FileAttributeKey.systemFreeSize] a..
iOS, Swift/Feature
2021. 7. 21. 17:36