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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Master
    • 4.0.0
    • cordova-ios
    • 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

            shazron Shazron Abdullah
            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