• 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
Re: EO generating and Interfaces
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EO generating and Interfaces


  • Subject: Re: EO generating and Interfaces
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 21 May 2008 19:37:04 -0700


On May 21, 2008, at 7:23 PM, David den Boer wrote:

Not sure if this has been covered before, but we are trying to migrate to the new Veogen tool from the old Rubicode tool, and are running into a few issues, mainly with generics and interfaces.

The new templates generate a method like this :

public NSArray<com.apple.foo.model.WorkshopMaster> workshops() {
return (NSArray <com.apple.foo.model.WorkshopMaster>)storedValueForKey("workshops");
}



where the old ones would leave the generic off. Now 99% of the time, this is perfect, but in this one case, WorkshopMaster also conforms to the RRSCalendarEvent interface, and that is what we want. Is there any way to have veogen change that or are we hosed and have lots of code to rewrite?

The quick, easy option is to use your own templates and just leave off the generics. I use custom templates with no generics.


Chuck

--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: EO generating and Interfaces
      • From: Mike Schrag <email@hidden>
References: 
 >EO generating and Interfaces (From: David den Boer <email@hidden>)

  • Prev by Date: EO generating and Interfaces
  • Next by Date: Re: EO generating and Interfaces
  • Previous by thread: EO generating and Interfaces
  • Next by thread: Re: EO generating and Interfaces
  • Index(es):
    • Date
    • Thread