I m facing very strange issue in that I have one project which was created in Xcode 8.3.2 and swift 3 and now I have updated the code with swift 4 and using latest Xcode 9.2 all other changes I have made and app is working fine in simulator and device
Main Problem: - When I open storyboard so it load properly and if I m making any changes in any viewcontroller(Interface builder) so it is not reflecting in that viewcontroller(Interface builder) after quit storyboard and reload so my change are showing so I have to do this all the time for every single changes I made in the storyboard
I have tried to search to whole stack and also many other links still not find a solutions so let me know the solutions or your suggestions
Note:- I can not take new storyboard cause I have already design too many screens so.
Open your storyboard (make sure it is in the active tab), then uncheck Editor > Automatically Refresh Views.
The answer is YES! Here we will be discussing a simple way to use SwiftUI into our existing project, which already consists of a storyboard.
Storyboard Advantages over SwiftUIIt is easier to use Storyboard as a beginner . Storyboard consist of Xib and custom View which can be reusable in the projects. It is easier to build an app as there is only drag and drop of the elements of the storyboard.
There is no direct way of migrating from storyboard to swift UI. This compels a developer to continue the use of the storyboard for existing apps and in lower versions. Since, it is very new so there is less community support which is not the case for storyboard.
I have facing same issue. Please do as below.
Go to > Project directory.
Select ProjectName.xcodeproj and go to show package content as below as per below image.
- Delete
xcuserdata
folder, You can show in below image.
Remove derive data from project.
Just clean and Build...Happy coding...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With