cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8270) Objective-C methods on categories should be named with a prefix
Date Thu, 22 Jan 2015 17:51:35 GMT

    [ https://issues.apache.org/jira/browse/CB-8270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14287855#comment-14287855
] 

ASF subversion and git services commented on CB-8270:
-----------------------------------------------------

Commit 3543c9e43749c7c7b1b736ddca2a92608e979081 in cordova-ios's branch refs/heads/master
from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=3543c9e ]

Revert "CB-8270 Rename category methods for JSON handling with a prefix (close #124)"

This reverts commit a98144b8ad63fe714c9f6d274bc9fd98b62575e7.

To be un-reverted in 4.0.x branch.


> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message