EurekaCommunity / ViewRow

ViewRow is a Eureka row that allows you to display any UIView (or UIView sunclass) within a Eureka row. Views can be created in code or loaded from nib files.
MIT License
77 stars 16 forks source link

Create a View From Storyboard Name #26

Open ClearlyAwesome opened 2 years ago

ClearlyAwesome commented 2 years ago

I'm trying to figure out how to use a storyboard name instead of a NIB name and it just isn't clicking. Is it even possible to add a View Row using SB name?

alldritt commented 2 years ago

I don't believe this is possible. UIStoryboard only provides APIs for loading viewControllers, not views.

https://developer.apple.com/documentation/uikit/uistoryboard

I suppose you could load a view controller from your storyboard, and try to display the associated view in a ViewRow, but that probably introduces as many problems as it solves.