FSPagerView icon indicating copy to clipboard operation
FSPagerView copied to clipboard

swift compiler error

Open YoungsinParkkk opened this issue 4 years ago • 2 comments

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

YoungsinParkkk avatar May 12 '20 02:05 YoungsinParkkk

+1

herarya avatar Dec 27 '20 02:12 herarya

Storyboard에서 모듈 이름 또한 FSPagerView로 설정해야 합니다. Xcode 버그인지 기본값으로 FSPagerView가 아닌 none이 들어갈 때가 있습니다.

Winnis7 avatar Jul 05 '22 03:07 Winnis7