[Rubycocoa-devel 630] API changes

Back to archive index

Laurent Sansonetti lsans****@apple*****
Thu Jan 18 23:41:06 JST 2007


Summary of the API changes in the SVN:

- objc_export is deprecated (you can still use it but with a warning)  
- recommended alternative is objc_method
- objc_class_method has been introduced (it's the objc_method  
equivalent to register class methods and not instance methods)
- ns_overrides is deprecated (it does nothing but printing a warning)

Laurent

On Jan 17, 2007, at 12:46 AM, Fujimoto Hisa wrote:

> On 2007/01/16, at 20:54, Laurent Sansonetti wrote:
>
>> On Jan 16, 2007, at 9:00 AM, Fujimoto Hisa wrote:
>>> On 2007/01/16, at 11:52, Laurent Sansonetti wrote:
>>>> We need a good name, and objc_export_singleton looks a bit long to
>>>> me.
>>>> Any suggestion?
>>>
>>> mmmh, i should see this case when thinking about objc_export.
>>>
>>> i would prefer a bit objc_class_export rather than
>>> objc_export_singleton though almost no difference.
>>
>> The problem with objc_class_export is that it can mean "exporting an
>> ObjC class". I think it's confusing.
>>
>> objc_export_singleton is a bit better to me, Rubyists know about
>> singleton, but the name is too long.
>
> we'll replace move for the next release.
>
>    * objc_method       - instead of objc_export
>    * objc_class_method - instead of objc_export_singleton
>
> So objc_export will be deprecate.
> --
> hisa
>
>
>
> _______________________________________________
> Rubycocoa-devel mailing list
> Rubyc****@lists*****
> http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel




More information about the Rubycocoa-devel mailing list
Back to archive index