objfw−new − create source code from templates
objfw−new −−app|−−class|−−test [−−superclass=class] [−−property=property] name
objfw−new is a program which creates source code from templates.
−a, −−app
Create a new app.
−c, −−class
Create a new class.
−h, −−help
Show the help.
−p property, −−property=property
Add a property to the class. See examples for syntax.
−s class,
−−superclass=class
−t, −−test
Create a new test.
Create a new application:
|
objfw−new −a MyApp |
Create a new class Dog with a property name and superclass Animal:
|
objfw−new −c −s Animal −p ’(copy, nonatomic) OFString *name’ Dog |
Create a new test:
|
objfw−new −t DogTest |
objfw−compile(1)