-4
Objective C 코드를 Swift로 변환하는 데 도움을 줄 수 있습니까? 감사.Objective C를 Swift로 변환하려고합니다
UISwipeGestureRecognizer *swipeRecognizer = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(swipeLeftDetected:)]; swipeRecognizer.direction = UISwipeGestureRecognizerDirectionLeft; [self.view addGestureRecognizer:swipeRecognizer];[swipeRecognizer release];
http://rshankar.com/uigesturerecognizer-in-swift/ –
애플의 문서를 보면, 그들은 두 언어의 예를 제공합니다. 거기서 시작하는 것이 좋습니다. – Tander
안녕하세요. 나는 이것을 iOS 8 사용자 정의 키보드에 사용하고 싶습니다. 그래서 이것을 변환해야합니다. 나는 이것을위한 인간적인 전환이 필요할 것이다. –