Is there a way to create multiple files that reference each other using File Templates?

I'd like to create a UIViewController subclass that has a custom UIView subclass as its view.

Here's what I'm wondering if AppCode can be configured to automatically do (or possibly AppCode can do parts of the following example):

  1. Create a UIViewController subclass called JSViewController
  2. Create a UIView subclass called JSView
  3. Override -[JSViewController loadView] and set self.view = [[JSView alloc] init]
  4. Create a property called jsView or customView or something and make its implementation @dynamic
  5. Override JSViewController's getter for jsView and return (JSView *)self.view


1 comment
Comment actions Permalink

currently it is not possible, but we have a feature request you can watch and vote for: IDEA-91565


Please sign in to leave a comment.