Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8270

Objective-C methods on categories should be named with a prefix

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: 4.0.0
    • Component/s: cordova-ios
    • Environment:

      All iOS platforms

      Description

      According to Apple's documentation, naming a Category method without a prefix would possibly cause a Name Clash
      https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/CustomizingExistingClasses/CustomizingExistingClasses.html#//apple_ref/doc/uid/TP40011210-CH6-SW4

      In CordovaLib/Classes/CDVJSON.h : NSArray(CDVJSONSerializing)
      The method name should starts with a prefix

        Attachments

          Activity

            People

            • Assignee:
              shazron Shazron Abdullah
              Reporter:
              aemaeth Ruoyu Fu
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified