ios - Swift: GTLRGmailQuery.queryForUsersMessagesGet() error -
when use code below gmails:
for dictmessage in listmessageresponse.messages! { var tmpdict2 = dictmessage let ident = tmpdict2.identifier let query = gtlrgmailquery.queryforusersmessagesget() query.identifier = ident // query.format = "metadata" //default full service.executequery(query, delegate: self, didfinishselector: "displayresultwithticketeachmessages:finishedwithobject:error:" ) }
the line let query = gtlrgmailquery.queryforusersmessagesget()
occurs error:
type 'gtlrgmailquery' has no member 'queryforusersmessagesget'
i'd know how fix it. thanks.
Comments
Post a Comment