#Swift / #iOS / #NumberFormatter / #NSAttributedString
In this video we look at two ways to format currencies as Strings.
1. Using NumberFormatter.
2. Using NSAttributedStrings.
0:00 What's the problem?
0:17 What's the solution?
3:00 Why Decimal?
4:12 NumberFormatter solution
5:55 NSAttributedString solution
8:20 modf
9:45 What is a tuple?
13:20 What is an NSAttributedString?
15:40 Summary
Show notes:
https://github.com/jrasmusson/swift-a...
Level Up Courses
Data Structures & Algorithms
https://www.udemy.com/course/the-swif...
Level Up AutoLayout
https://www.udemy.com/course/level-up...
Level Up in Swift
https://www.udemy.com/course/level-up...
Source code
https://github.com/jrasmusson/swift-a...
Twitter
@jrasmusson
Watch video Currency Formatting in Swift with NumberFormatter and NSAttributedString online without registration, duration hours minute second in high quality. This video was added by user Swift Arcade 22 October 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,763 once and liked it 48 people.