Money icon indicating copy to clipboard operation
Money copied to clipboard

How to use this?

Open SylarRuby opened this issue 8 years ago • 2 comments

Sorry for a really stupid question but for new comer to Swift, how to use this in my Swift project? I do not know what to search for.

SylarRuby avatar Dec 12 '16 19:12 SylarRuby

Hi @SylarRuby, do you have an app which needs to work with "money types" i.e. represent dollars & cents, or pounds & pence?

If so, then you might need to perform math, or display money values to the user. This framework can facilitate that.

However, you can also just use built in Foundation types like DecimalNumber to perform math, and Formatter to display currency. And, I would say that if you are new to Swift and just getting started, then getting to learn built in types is the best way to learn.

danthorpe avatar Dec 13 '16 11:12 danthorpe

Also, I wrote an introductory blog post about it here and the README contains pretty much everything else you need to know.

danthorpe avatar Dec 13 '16 11:12 danthorpe