While searching the solution of a problem I found the NSFont and UIFont both,
whats the basic difference between both and when should we use?
Apple documentation for appkit uikit
Apple documentation for nsfont
It is pretty clear that they both are part of different framework.
NSFont
is part ofAppKit
which is the UI library for MacOS.UIFont
is part ofUIKit
which is the UI library for iOS.