Comments (3)
I think you need to run pod repo update
from smoothpicker.
Code Line
let firstItemWidth = (dataSource?.itemForIndex(index: 0, pickerView: self).frame.size.width)!
Got 'Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)' Error
from smoothpicker.
@Raihan-iOS are you assigning the delegates and datasource ?
yourPickerView.dataSource = self
yourPickerView.delegate = self
and ofcourse conform to those delegates
class ViewController: UIViewController,SmoothPickerViewDelegate,SmoothPickerViewDataSource { ...
from smoothpicker.
Related Issues (8)
- Compiling for iOS 9.0, but module 'SnapKit' has a minimum deployment target of iOS 10.0 HOT 5
- How does it work?
- Example does not work
- error: IB Designables: Failed to render and update auto layout status for viewController
- Compiling for iOS 9.0, but module 'SnapKit' has a minimum deployment target of iOS 10.0: /Users/rohitsingh/Library/Developer/Xcode/DerivedData/sample-chat-gtfaxmsovpkfoabamgcxzokkqhfo/Build/Products/Debug-iphonesimulator/SnapKit/SnapKit.framework/Modules/SnapKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
- Error: Swift runtime failure: force unwrapped a nil value HOT 1
- Error: Swift runtime failure: force unwrapped a nil value #7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smoothpicker.