title: No known class method for selector in objectiveC class found written in swift class
body: <p>I have written one class function in one swift class then trying to access the same from one objectiveC class getting No known class method for selector 'myMethodName'. I have also done <code>#import "ProjectName-Swift.h"</code> . It was working properly with Xcode below 10.1 . Please help me at the earliest. Thanks in advance. </p>
  
  <pre><code>import UIKit
  
  typealias LoginCompletionHandler = (_: Bool) -&gt; Void
  
  class SCLoginViewController: UIViewController {
  
      var myLoginCompletionBlock: LoginCompletionHandler? = nil
      // MARK: - View Lifecycle
      override func viewDidLoad() {
          super.viewDidLoad()
      }
  
      //PRAGMA:- Class Methods
      class func showOnNavigation(navigationController:UINavigationController, completionBlock:@escaping LoginCompletionHandler) {
          let vc = SCLoginViewController.init(nibName: "SCLoginViewController", bundle: nil)
          vc.myLoginCompletionBlock = completionBlock
          navigationController.pushViewController(vc, animated: true)
      }
  
  }
  
  
  #import "LoginOptionVC.h"
  #import "Project-Swift.h"
  
  @interface LoginOptionVC () &lt;&gt;
  
  @end
  
  @implementation LoginOptionVC
  
  
  - (instancetype)initWithBarButtonType:(BarButtonType)btnType showClubLogo:(BOOL)showLogo onCompletion:(CompletionHandler) completionBlock {
  
      self = [[ClubLoginOptionVC alloc]initWithNibName:@"ClubLoginOptionVC" bundle:nil];
  
      if (self) {
          self.myCompletionBlock = completionBlock;
      }
  
      return self;
  }
  
  
  #pragma mark - View LifeCycle
  - (void)viewDidLoad {
      [super viewDidLoad];
  - (IBAction)clickLogin:(id)sender {
      [SCLoginViewController showOnNavigationWithNavigationController:self.navigationController completionBlock:^(BOOL isSuccess) {
          if (isSuccess) {
              NSLog(@"logged in ");
          }
  
          if (self.myCompletionBlock) {
              self.myCompletionBlock(isSuccess);
          }
      }];
  }
  }
  </code></pre>