theduman / TDDropdownList

Customizable dropdown list for iOS. Written in swift3.
Other
7 stars 1 forks source link

how to make TDDropdownList using XIB or storyboard. #2

Open Travloper opened 5 years ago

Travloper commented 5 years ago

I placed a UIView and named the class as TDDropdownList. Gave it constraints, connected IBOutlet and included delegate and run the project. The application crashed saying - Thread 1: Fatal error: This class does not support NSCoding.

How can i achieve it using XIB or Storyboard

theduman commented 5 years ago

Hi. Its been a long time since i quit ios development I dont remember exactly but can you try it creating with swift code only not using IB. Component is based on UIview so you can set its properties using swift code too. One more thing library was created using swift 3 maybe there are some depreciation.

Travloper commented 5 years ago

Actually i wanted to give its frames through constraints not through code. The acts perfects through code but not through XIB.