def property_tpl(data):
    """Generates variable data, according to name, type, storage.
    Output:
        @property (nonatomic, copy) NSString *testString;
    """
    name = data['name'] if data['storage'] == 'assign' else '*{}'.format(data
        ['name'])
    result = '@property (nonatomic, {}) {} {};'.format(data['storage'],
        data['class_name'], name)
    return result
