XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.M8
    • 1.0.0.M7
    • ios
    • None

      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
      

      Current 'get' methods:

              cvasilak_jira Christos Vasilakis (Inactive)
              mwessend@redhat.com Matthias Wessendorf
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: