initializeWithConnection:userName:password: method

Gets the singleton instance/object of the AppSettings class.

Syntax

+ ( SMPAppSettings * ) initializeWithConnection : ( SMPClientConnection * ) clientConn userName : ( NSString * ) userName password : ( NSString * ) password

Parameters

Returns

Returns the instance of the class SMPAppSettings

Example 1

SMPAppSettings* appSettings = [SMPAppSettings initializeWithConnection:clientConn userName:"username" password:@"password"];