I am reading a book related to IOS development. And i am facing a problem when i reading this line let bundle = NSBundle.mainBundle()
. The book told that
this call returns a bundle object that represents our application.
I know, in swift an object is created as let objname = classname()
. Please tell how let bundle = NSBundle.mainBundle()
create an object?