[MacRuby-devel] Frameworks Help
Shaun August
shaun at eoslightmedia.com
Tue Oct 19 21:00:03 PDT 2010
Hi Robert,
Thanks! That make sense. All those cocoa classes have capitals and they work fine. I seem to be able to call from the framework but I am running into an undefined method 'extern'. I have also read somewhere that extern doesn't work with MacRuby. Is that correct? The framework I am dealing with is calling C functions and I am having trouble accessing them.
Thanks,
Shaun
On 2010-10-19, at 8:26 PM, Robert Rice wrote:
> Hi Shaun:
>
> Lower case method names is only a convention. MacRuby will work fine using upper case, i.e., constant, method names.
> I know because I only recently changed my project to conform to the convention.
>
> Bob Rice
>
>
> On Oct 19, 2010, at 7:17 PM, Shaun August wrote:
>
>> Hi There,
>>
>> I am attempting to work with a framework provided by a USB device manufacturer and all of their method names start with capitols and I am wondering about the easiest way to access these methods through macruby. I remember reading somewhere about fixing the constants in Obj-C but I cannot locate the information.
>>
>> Does anyone have any suggestions as to how to remedy this? Should I rename every command in the framework?
>>
>> Thanks,
>>
>> Shaun
>>
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
More information about the MacRuby-devel
mailing list