Re: When did we get automatic synthesis of accessors in OS X?

2014-01-12 Thread Mohit Sharma
On Sun, Jan 12, 2014 at 12:39 PM, Jerry Krinock je...@ieee.org wrote:

 Automatic synthesis of Objective-C property accessors was introduced
 several years ago.  I forget and cannot find what are the prerequisites for
 this.  Is it

 64 vs. 32 bit build?
 the SDK version?


llvm 4.0 which comes with Xcode 4.4

the Mac OS X runtime version?


OSX 10.8 is the usual one. But you could have also installed Xcode 4.4 with
10.7.4 and above I think(you should check the release notes for precise
information).


 some combination of the above?

 I hope this has an easy answer, so “thanks in advance”.

 Jerry Krinock


 ___

 Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

 Please do not post admin requests or moderator comments to the list.
 Contact the moderators at cocoa-dev-admins(at)lists.apple.com

 Help/Unsubscribe/Update your Subscription:

 https://lists.apple.com/mailman/options/cocoa-dev/mohit.sharma0690%40gmail.com

 This email sent to mohit.sharma0...@gmail.com
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: What am I looking for in the documentation?

2013-05-09 Thread Mohit Sharma
You might want to look at sprintf http://linux.die.net/man/3/sprintf.
sprintf(text, %f, fv) should work just fine.


On Sat, May 4, 2013 at 4:20 PM, YT y...@redwoodcontent.com wrote:

 I have need to turn a local float value into a char array.

 That is, The Quartz 2D graphics function requires the passing of a (const
 char *) to a text string or I was thinking of a character array.

 My mind is mush at the moment - can't seem to recall the way to program a
 conversion of

 float fv = 40.0;

 into

 const char *text = 40.0;

 or

 const char text[ ] = 40.0;


 Please advise...

 Thanks YT



 ___

 Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

 Please do not post admin requests or moderator comments to the list.
 Contact the moderators at cocoa-dev-admins(at)lists.apple.com

 Help/Unsubscribe/Update your Subscription:

 https://lists.apple.com/mailman/options/cocoa-dev/mohit.sharma0690%40gmail.com

 This email sent to mohit.sharma0...@gmail.com

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com