Difference between revisions of "Swift FAQ"

From PeformIQ Wiki
Jump to navigation Jump to search
(Created page with "=How do I do this in Swift 3?= == In draw() Related Methods== ===CGPointMake()=== Use of unresolved identifier 'CGPointMake' Use: <pre> CGPoint(x: 2.0, y:2.0) </pre> ==...")
 
(No difference)

Latest revision as of 21:55, 16 October 2021

How do I do this in Swift 3?

In draw() Related Methods

CGPointMake()

Use of unresolved identifier 'CGPointMake'

Use:

CGPoint(x: 2.0, y:2.0)

NSMakeRect(42, 35, 117, 55)


Attributed Strings

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