Social Changes for Swift
Social
Modified SLComposeServiceViewController
Declaration | |
---|---|
From | class SLComposeServiceViewController : UIViewController, UITextViewDelegate, NSObjectProtocol, UIScrollViewDelegate { func presentationAnimationDidFinish() var textView: UITextView! { get } var contentText: String! { get } var placeholder: String! func didSelectPost() func didSelectCancel() func cancel() func isContentValid() -> Bool func validateContent() var charactersRemaining: NSNumber! func configurationItems() -> [AnyObject]! func reloadConfigurationItems() func pushConfigurationViewController(_ viewController: UIViewController!) func popConfigurationViewController() func loadPreviewView() -> UIView! var autoCompletionViewController: UIViewController! } |
To | class SLComposeServiceViewController : UIViewController, UITextViewDelegate, UIScrollViewDelegate { func presentationAnimationDidFinish() var textView: UITextView! { get } var contentText: String! { get } var placeholder: String! func didSelectPost() func didSelectCancel() func cancel() func isContentValid() -> Bool func validateContent() var charactersRemaining: NSNumber! func configurationItems() -> [AnyObject]! func reloadConfigurationItems() func pushConfigurationViewController(_ viewController: UIViewController!) func popConfigurationViewController() func loadPreviewView() -> UIView! var autoCompletionViewController: UIViewController! } |
Modified SLComposeViewController
Declaration | |
---|---|
From | class SLComposeViewController : UIViewController { class func isAvailableForServiceType(_ serviceType: String!) -> Bool init!(forServiceType serviceType: String!) -> SLComposeViewController class func composeViewControllerForServiceType(_ serviceType: String!) -> SLComposeViewController! var serviceType: String! { get } func setInitialText(_ text: String!) -> Bool func addImage(_ image: UIImage!) -> Bool func removeAllImages() -> Bool func addURL(_ url: NSURL!) -> Bool func removeAllURLs() -> Bool var completionHandler: SLComposeViewControllerCompletionHandler! } |
To | class SLComposeViewController : UIViewController { class func isAvailableForServiceType(_ serviceType: String!) -> Bool init!(forServiceType serviceType: String!) class func composeViewControllerForServiceType(_ serviceType: String!) -> SLComposeViewController! var serviceType: String! { get } func setInitialText(_ text: String!) -> Bool func addImage(_ image: UIImage!) -> Bool func removeAllImages() -> Bool func addURL(_ url: NSURL!) -> Bool func removeAllURLs() -> Bool var completionHandler: SLComposeViewControllerCompletionHandler! } |
Declaration | |
---|---|
From | init!(forServiceType serviceType: String!) -> SLComposeViewController |
To | init!(forServiceType serviceType: String!) |
Modified SLComposeViewControllerResult [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified SLRequest
Declaration | |
---|---|
From | class SLRequest : NSObject { init!(forServiceType serviceType: String!, requestMethod requestMethod: SLRequestMethod, URL url: NSURL!, parameters parameters: [NSObject : AnyObject]!) -> SLRequest class func requestForServiceType(_ serviceType: String!, requestMethod requestMethod: SLRequestMethod, URL url: NSURL!, parameters parameters: [NSObject : AnyObject]!) -> SLRequest! var account: ACAccount! var requestMethod: SLRequestMethod { get } var URL: NSURL! { get } var parameters: [NSObject : AnyObject]! { get } func addMultipartData(_ data: NSData!, withName name: String!, type type: String!, filename filename: String!) func preparedURLRequest() -> NSURLRequest! func performRequestWithHandler(_ handler: SLRequestHandler!) } |
To | class SLRequest : NSObject { init!(forServiceType serviceType: String!, requestMethod requestMethod: SLRequestMethod, URL url: NSURL!, parameters parameters: [NSObject : AnyObject]!) class func requestForServiceType(_ serviceType: String!, requestMethod requestMethod: SLRequestMethod, URL url: NSURL!, parameters parameters: [NSObject : AnyObject]!) -> SLRequest! var account: ACAccount! var requestMethod: SLRequestMethod { get } var URL: NSURL! { get } var parameters: [NSObject : AnyObject]! { get } func addMultipartData(_ data: NSData!, withName name: String!, type type: String!, filename filename: String!) func preparedURLRequest() -> NSURLRequest! func performRequestWithHandler(_ handler: SLRequestHandler!) } |
Declaration | |
---|---|
From | init!(forServiceType serviceType: String!, requestMethod requestMethod: SLRequestMethod, URL url: NSURL!, parameters parameters: [NSObject : AnyObject]!) -> SLRequest |
To | init!(forServiceType serviceType: String!, requestMethod requestMethod: SLRequestMethod, URL url: NSURL!, parameters parameters: [NSObject : AnyObject]!) |
Modified SLRequestMethod [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |