# Is it okay to still use XIB?

**URL:** <https://forums.kodeco.com/t/is-it-okay-to-still-use-xib/27277>\
**Category:** iOS\
**Created:** [March 17, 2017, 2:08am UTC](https://forums.kodeco.com/t/is-it-okay-to-still-use-xib/27277 "2017-03-17T02:08:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sweetoothj](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/sweetoothj/32/102075_2.png) [@sweetoothj](https://forums.kodeco.com/u/sweetoothj)\
**Post date:** [March 17, 2017, 2:08am UTC](https://forums.kodeco.com/t/is-it-okay-to-still-use-xib/27277/1 "2017-03-17T02:08:13Z")

</div>

I seen a lot of tutorials using storyboards and was wondering if XIB is still a viable option? Seems like a lot of people are split online and I’ve seen some blogs where people prefer XIB. Is it just a matter of preference or situation?

---

<div class="post-metadata">

**Author:** ![narrativium](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/narrativium/32/110937_2.png) [@narrativium](https://forums.kodeco.com/u/narrativium)\
**Post date:** [March 17, 2017, 10:21am UTC](https://forums.kodeco.com/t/is-it-okay-to-still-use-xib/27277/2 "2017-03-17T10:21:55Z")

</div>

I think it’s a bit of both.  
I use storyboards to layout most of my view controllers, and the segues between them. But I sometimes also use .xib files if I want to make a custom `UITableViewCell` which will be reused in multiple table views (which I can’t do in a storyboard without duplicating a lot of effort), or to make a custom `UITableViewHeaderFooterView` (which I haven’t figured out how to do at all in a storyboard).  
So, they have their uses.

---

<div class="post-metadata">

**Author:** ![vimipatel](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/vimipatel/32/83106_2.png) [@vimipatel](https://forums.kodeco.com/u/vimipatel)\
**Post date:** [March 17, 2017, 12:50pm UTC](https://forums.kodeco.com/t/is-it-okay-to-still-use-xib/27277/3 "2017-03-17T12:50:31Z")

</div>

@sweetoothj

`storyboard` itself is collection of `xib`s. You can use both of them `xib` or `storyboard` according to your requirements. There is no any strict protocol that you can use `xib` is for some and `storyboard` is for other. It totally depends on your flexibility of your app development.
