FSPagerView
FSPagerView copied to clipboard
swift compiler error
StoryBoard compiler error with FSPagerView IBOutlet
Install cocoaPod
platform :ios, '10.0' use_frameworks! target 'sdfsdfsdf' do pod 'FSPagerView' end
1、Simply drag UIView instance into your View Controller, Change the Custom Class to FSPagerView. (Or FSPageControl)
2、Link the dataSource and delegate property of FSPagerView to your View Controller.
3、Register a cell class. @IBOutlet weak var pagerView: FSPagerView! {. !!<<<<<< Use of undeclared type 'FSPagerView didSet { self.pagerView.register(FSPagerViewCell.self, forCellWithReuseIdentifier: "cell") } }
Environment Xcode 11.4.1
+1
Storyboard에서 모듈 이름 또한 FSPagerView로 설정해야 합니다. Xcode 버그인지 기본값으로 FSPagerView가 아닌 none이 들어갈 때가 있습니다.