Literal Expression | Swift

Screen Shot 2017-06-13 at 6.24.49 PM.png

Inside a function, the value of #function is the name of that function, inside a method its the name of the method, inside the property getter or setter is the name of that property.

#line will give the line number, #column is the column number and #file will be for the name of the file.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s