thrift-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Thrift Wiki] Update of "ThriftUsageObjectiveC-new" by satoshihirano
Date Thu, 05 Jan 2012 08:19:42 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Thrift Wiki" for change notification.

The "ThriftUsageObjectiveC-new" page has been changed by satoshihirano:
http://wiki.apache.org/thrift/ThriftUsageObjectiveC-new?action=diff&rev1=10&rev2=11

Comment:
added ARC support

  ## page was copied from ThriftUsageObjectiveC
+ = Supported Platforms =
+ Thrift supports the following platforms.
+ 
+  * Mac OS X 10.5 or later
+  * iOS 4 or later
+ 
+ == Support of ARC ==
+ 
+ Since iOS 5 and Mac OS 10.7, Objective-C supports ARC (Automatic Reference Counting) in
addition to the conventional object life cycle management by retain/release.
+ 
+ Thrift 0.8.0 does not support ARC. If you want use it within an app in ARC mode, you need
to compile the thrift runtime library in non-ARC mode by specifying -fno-objc-arc flag [[http://stackoverflow.com/questions/6646052/how-can-i-disable-arc-for-a-single-file-in-a-project|(see
this)]].
+ 
+ Use [[0.9.0-dev|https://builds.apache.org//job/Thrift/lastSuccessfulBuild/artifact/thrift/]]
or later, if you need to use thrift in ARC mode,  It supports both ARC and non-ARC. Both the
runtime library and generated Objective-C code can be compiled both in ARC mode and in non-ARC
mode. They automatically adapt themselves to the compilation modes without any switch.
+ 
+ 
+ 
  = Getting started =
  
  This guide will walk you through creating an application that uses Thrift with a Java server
and a client written in Objective-C.  It is assumed that you will have a basic knowledge of
Objective-C and Xcode to complete this tutorial.

Mime
View raw message