AudioUnitEffectExample/Source/CocoaUI/AppleDemoFilter_ViewFactory.h
/* |
Copyright (C) 2016 Apple Inc. All Rights Reserved. |
See LICENSE.txt for this sample’s licensing information |
Abstract: |
View Factory Class |
*/ |
#import <Cocoa/Cocoa.h> |
#import <AudioUnit/AUCocoaUIView.h> |
/************************************************************************************************************/ |
/* NOTE: It is important to rename ALL ui classes when using the XCode Audio Unit with Cocoa View template */ |
/* Cocoa has a flat namespace, and if you use the default filenames, it is possible that you will */ |
/* get a namespace collision with classes from the cocoa view of a previously loaded audio unit. */ |
/* We recommend that you use a unique prefix that includes the manufacturer name and unit name on */ |
/* all objective-C source files. You may use an underscore in your name, but please refrain from */ |
/* starting your class name with an undescore as these names are reserved for Apple. */ |
/************************************************************************************************************/ |
@class AppleDemoFilter_UIView; |
@interface AppleDemoFilter_ViewFactory : NSObject <AUCocoaUIBase> |
{ |
IBOutlet AppleDemoFilter_UIView *uiFreshlyLoadedView; // This class is the File's Owner of the CocoaView nib |
} // This data member needs to be the same class as the view class the factory will return |
- (NSString *) description; // string description of the view |
@end |
Copyright © 2016 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2016-02-19