• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cocoa --> Java Interfaces?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cocoa --> Java Interfaces?


  • Subject: Cocoa --> Java Interfaces?
  • From: Brian Gilman <email@hidden>
  • Date: Sat, 17 May 2003 19:01:11 -0400

Hello all,

I know this might seem like a dumb question but, I really need some
clarification on Cocoa @Protocol. Are these like Java interfaces?

How do I port the following code to Cocoa?

public interface IFooInterface extends Serializable{

public void setSomething(int something);

public int getSomething();

}

Thanks in advance and yes, I RTFM but, I'm not the brightest bulb in the
bunch.

Best,

-B
--
Brian Gilman <email@hidden>
Group Leader Medical & Population Genetics Dept.
MIT/Whitehead Inst. Center for Genome Research
One Kendall Square, Bldg. 300 / Cambridge, MA 02139-1561 USA
phone +1 617 252 1069 / fax +1 617 252 1902
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Cocoa --> Java Interfaces?
      • From: James Duncan Davidson <email@hidden>
  • Prev by Date: Re: Calculation by string
  • Next by Date: reading a text file
  • Previous by thread: tableviews, strings, columns, complicated
  • Next by thread: Re: Cocoa --> Java Interfaces?
  • Index(es):
    • Date
    • Thread