1{ Parsed from Social.framework SLComposeServiceViewController.h } 2 3 4{ Types from SLComposeServiceViewController } 5{$ifdef TYPES} 6type 7 SLComposeServiceViewControllerPtr = ^SLComposeServiceViewController; 8{$endif} 9 10{$ifdef CLASSES} 11 12// NOTE: NSTextViewDelegate was omitted from SLComposeServiceViewController to prevent a dependancy 13 14type 15 SLComposeServiceViewController = objcclass external (NSViewController) 16 public 17 procedure presentationAnimationDidFinish; message 'presentationAnimationDidFinish'; 18 {$if defined(TARGET_OS_IPHONE)} 19 function textView: UITextViewPtr; message 'textView'; 20 {$else} 21 function textView: NSTextView; message 'textView'; 22 {$endif} 23 function contentText: NSString; message 'contentText'; 24 procedure setPlaceholder(newValue: NSString); message 'setPlaceholder:'; 25 function placeholder: NSString; message 'placeholder'; 26 procedure didSelectPost; message 'didSelectPost'; 27 procedure didSelectCancel; message 'didSelectCancel'; 28 procedure cancel; message 'cancel'; 29 function isContentValid: ObjCBOOL; message 'isContentValid'; 30 procedure validateContent; message 'validateContent'; 31 procedure setCharactersRemaining(newValue: NSNumber); message 'setCharactersRemaining:'; 32 function charactersRemaining: NSNumber; message 'charactersRemaining'; 33 {$if defined(TARGET_OS_IPHONE)} 34 function configurationItems: NSArray; message 'configurationItems'; 35 procedure reloadConfigurationItems; message 'reloadConfigurationItems'; 36 procedure pushConfigurationViewController (viewController: UIViewController); message 'pushConfigurationViewController:'; 37 procedure popConfigurationViewController; message 'popConfigurationViewController'; 38 {$endif} 39 {$if defined(TARGET_OS_IPHONE)} 40 function loadPreviewView: UIViewPtr; message 'loadPreviewView'; 41 {$endif} 42 {$if defined(TARGET_OS_IPHONE)} 43 procedure setAutoCompletionViewController(newValue: UIViewController); message 'setAutoCompletionViewController:'; 44 function autoCompletionViewController: UIViewController; message 'autoCompletionViewController'; 45 {$endif} 46 end; 47{$endif} 48 49