[
https://issues.apache.org/jira/browse/CB-8270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14284401#comment-14284401
]
ASF subversion and git services commented on CB-8270:
-----------------------------------------------------
Commit a98144b8ad63fe714c9f6d274bc9fd98b62575e7 in cordova-ios's branch
refs/heads/wkwebview from [~aemaeth]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=a98144b ]
CB-8270 Rename category methods for JSON handling with a prefix (close #124)
> Objective-C methods on categories should be named with a prefix
> ---------------------------------------------------------------
>
> Key: CB-8270
> URL: https://issues.apache.org/jira/browse/CB-8270
> Project: Apache Cordova
> Issue Type: Improvement
> Components: iOS
> Affects Versions: Master
> Environment: All iOS platforms
> Reporter: Ruoyu Fu
> Priority: Critical
> Labels: categories, ios, namespace
> Fix For: Master
>
> Original Estimate: 168h
> Remaining Estimate: 168h
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]