Issue Type: Sub-task Sub-task
Affects Versions: 1.0.0.M7
Assignee: Unassigned
Components: ios
Created: 19/Dec/12 11:17 AM
Description:

Inside of the following classes we have a getter, to get an actual object by its name:

  • AGPipeline
  • AGDataManager
  • AGAuthenticator

However, this is not best practice. Usually a method that starts with 'get' deliver values by reference

See NSColor (https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSColor_Class/Reference/Reference.html)

- (void)getComponents:(CGFloat *)components

Instead of, for instance:

- (id<AGAuthenticationModule>)get:(NSString *)moduleName

we can have something LIKE this:

- (id<AGAuthenticationModule>)loadModuleNamed:(NSString *)moduleName
Project: AeroGear
Priority: Major Major
Reporter: Matthias Wessendorf
Security Level: Public (Everyone can see)
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira