Mert Alnuaimi
Mert Alnuaimi

Reputation: 362

Is it possible to use both swift coding and UI interface storyboards on the same project to build an app on xcode?

I find it really hard to implement certain things using storyboards and it requires some code. So can you use storyboards for whatever is possible to implement it with and rest of the things with code? Does xcode work like that? Thanks

Upvotes: 1

Views: 154

Answers (2)

pedrouan
pedrouan

Reputation: 12910

These sentences are true:

It is possible to develop by coding in Swift/Objective C and building interface in Storyboard.

It is also possible to develop an app without storyboard.

It is not possible to use storyboards without code.

Here is a good article:

https://www.toptal.com/ios/ios-user-interfaces-storyboards-vs-nibs-vs-custom-code

Storyboards are best used with multiple interconnected view controllers, as their major simplification is in transitioning between view controllers.

Upvotes: 3

zoul
zoul

Reputation: 104095

Yes, you can use both code and storyboards to build a UI. I would say it’s the way most non-trivial apps are written.

Upvotes: 2

Related Questions