Xamarin iOS Storyboard not rendering - visual-studio

I got this error "There was a problem rendering this document" when i tried to load my storyboard in my xamarin iOS application. I created another xamarin iOS project and still got the same error.

You can not do much there right now.
There are two options one should do:
1. Use Xcode storyboard if you can.
2. If the first one is not an option, create and use multiple storyboards in your project, since after your storyboard gets big enough xamarin has a lot of problems rendering and working with it. You have a lot of documentation on how to use multiple storyboards in your project.

Related

Xcode storyboard showing osX object library. I want IOS object library

I develop mainly IOS apps but, recently, I worked on an OSX app. Both are possible with Xcode (I use 8, with swift).
Unfortunately, when I switched back to my already-existing IOS project (after restarting Xcode), the storyboard selection menu for the object library shows only OSX objects, not IOS (e.g. UIImageView).
I have googled without success and tried restarting Xcode, also without success. Can anyone help me fix this?
I did a lot more searching and came up with:
Xcode is loading in OS X objects instead of iOS objects
There there are other solutions proposed but the one that worked for me was to close the assistant editor and then, in the file list ( leftmost window in Xcode 8), I double clicked on the storyboard file. Problem solved. I am surprised that this bug still exists in this latest version...it is very troublesome.

Xcode 8.1 missing Object Library

I have an android background, but am just learning how to build iPhone apps using swift. I am using the book Beginning iPhone Development with Swift 2: Exploring the iOS SDK.
Problem is that it refers to Buttons and such being in the Object Library and I don't have anything in my object library. I have clicked on the View as instructed.
I have a newly installed MacBook and am running Xcode 8.1, which is newer than the book's directions. It refers to iOS UIkit, but I don't know how to install this.
I did Single View Application under iPhone to get where I am. Can anyone point me to what I need to do? I am brand new to the Apple world entirely.
Aha! In the main window, I clicked on the storyboard and that allowed the Object Library to contain the view items, including buttons.
So, click on the storyboard in the main window, then click on the view in the IB.

using Xcode designer for xamarin storyboard

I try to use xcode storyboard designer & xamarin ios designer on the same storyboard and I am experiancing some issues/inconsitencies . Does any one has experience to make it work or could recommend me to not mix both designer ?
You should be able to switch between Xcode's Interface Builder and the iOS Designer at will, without issue so it sounds like you are running into an edge case.
Would you mind filling a bug report at Bugzilla against the iOS Designer explaining the issue, and if possible attach the Storyboard in issue?

Xamarin iOs Build failed : Storyboards

It has been a month that I can't build my Xamarin iOs project. This seemed to have started after I updated to the new Xcode for the free provisioning. Since then, I tried finding a solution to this problem, but I haven't seem to find one.
When building the application, Xamarin Studio prompt me with an error that only indicates the name of my storyboard without any description. (The build action used for my storyboard is InterfaceDefinition which is the default one I guess)
Xamarin Studio also opens the Storyboard when the build failed.
I tried to open the storyboard in Xcode and everything went fine. So I really don't understand what is happening with my storyboards.
I even tried to open it with Visual Studio and the build failed but with no error.
Any help would be welcomed !
Thank you in advance :)
I got the same error.
I found the problem. In my storyboard, I added a tableview with static cell. => this caused the error.
Static table views are only valid when embedded in UITableViewController instances
Just changed my tableview to dynamic Prototype and it worked.
One of the cause can be using same storyboard identifier for two view controllers. I faced this error and was able to detect it by opening storyboard file in Xcode.
Having the same StoryBoard.Id property set on different UIViewControllers is another cause.

Migrate from iOS 4 to iOS 5 .

I have an application developed in iOS 4.3 and XCode 4.
What are the steps that I have to follow to migrate it to iOS 5?
Do I have to upgrade XCode?
Thanks.
you'll need xcode 4.2+ - basically get the latest one on the app store. in theory, you shouldn't have many problems (if any), but there are some subtle changes which can catch you out.
off the top of my head:
modal view controllers don't seem to set parentViewController - instead you can use presentingViewController e.g. [[self presentingViewController] dismissModalViewControllerAnimated:YES]
viewWillAppear/viewDidApear/viewWillDisappear/viewDidDisappear notifications have changed in that in the past you didn't get them if you manually added views etc, but now you do. there's a good blog post on it here: http://gamesfromwithin.com/view-controller-notification-changes-on-ios5
the only other thing that i can think of that i ran into was the location where xcode stores "Derived Data", but that was only an issue going from xcode3 -> xcode4 (and we were an edge case), so you shouldn't need to worry about that.

Resources