# Pragma mark in Swift || Annotations in swift

Solution:

In swift you can use the annotations for code folding and formatting.You can easily access your need of line using pragma marks.

//  MARK :- Title for identification

// write your codes here

It will format your code via the title you had given

Comments

Popular posts from this blog

store cgpoint in userdefaults iOS swift

libc++abi: terminating due to uncaught exception of type NSException iOS swift