Updated Branches:
  refs/heads/master 237f42e25 -> 380c4d91f

Refs CB-1617 remove iOS5 only api

Removed use of iOS 5 only function, CFBridgingRetain


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/380c4d91
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/380c4d91
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/380c4d91

Branch: refs/heads/master
Commit: 380c4d91f139bae3447364b9a26ad434964e4f08
Parents: 237f42e
Author: Becky Gibson <becka...@apache.org>
Authored: Thu Oct 11 11:35:06 2012 -0400
Committer: Becky Gibson <becka...@apache.org>
Committed: Thu Oct 11 11:35:06 2012 -0400

----------------------------------------------------------------------
 CordovaLib/Classes/CDVGlobalization.m |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/380c4d91/CordovaLib/Classes/CDVGlobalization.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVGlobalization.m 
b/CordovaLib/Classes/CDVGlobalization.m
index f811898..4d960cd 100644
--- a/CordovaLib/Classes/CDVGlobalization.m
+++ b/CordovaLib/Classes/CDVGlobalization.m
@@ -143,9 +143,9 @@
         timeStyle);
     // if we have a valid date object then call the formatter
     if (date) {
-        dateString = 
(NSString*)CFBridgingRelease(CFDateFormatterCreateStringWithDate(kCFAllocatorDefault,
-                formatter,
-                (__bridge CFDateRef)date));
+        dateString = (__bridge_transfer 
NSString*)CFDateFormatterCreateStringWithDate(kCFAllocatorDefault,
+            formatter,
+            (__bridge CFDateRef)date);
     }
 
     // if the date was converted to a string successfully then return the 
result

Reply via email to