does anyone know how I can start a new view based application in Xcode 4.2? There is no option to do this like there was in previous versions of Xcode. Thanks
It's now called "Single View Application".
Related
I've developed an iOS web-app for Xcode 5.
now I've shifted to Xcode 7 for testing it on my friend's mobile which has ios9.
so now i tried to run same app in Xcode 7 but its showing blank screen. I've tried adding keys in plist.. still no lucks.Please Help
I think we need more info to answer your problem:
Did you use .xib files for your project?
Is it using Objective-C or Swift?
On my end, I am using Xcode7.1.1 with Swift and in this version, I am using storyboards where I have a web view. The path for the web view content is defined on my ViewController.swift and connected via/through Connections Inspector
I'm currently developping an application in xcode 6 for iOS 8.0. Due to changes in the demands of the customer the application now also needs to be able to run on 7.1. I changed the deployment target from 8.0 to 7.1, and the app still builds and compiles. The storyboard is loaded, however the views arn't shown in the application.
Do i need to create new storyboard files to support 7.1, or is there some way to convert the 8.0 one?
Head over to the Interface Builder Document section in the File Inspector panel.
Then you can change the storyboard settings to suit your client's needs.
Hope this helps,
Will
My objective is to verify that swift apps/code can run on iOS 7 simulators
I am following this question Do Swift-based applications work on OS X 10.9/iOS 7 and lower?
and specifically this answer -by #Anil https://stackoverflow.com/a/24038997
The following are the steps I followed
Installed xcode6 beta
Installed iOS 7.1 simulator from Xcode6->Preferences->Downloads
Now, I created a new iOS Application Master Detail project and selected swift as language
With default settings I was able to run the app
Now I changed the simulator to iPhone 5- 7.1 by following this -https://stackoverflow.com/a/24038727 and changing the deployment target to 7.1.
Now I can see my iOS 7.1 simulators
When i try to run it I get build succeeded but the app crashes with swift dynamic cast excption
libswift_stdlib_core.dylib`swift_dynamicCast:
The Master-Detail Xcode project template creates a storyboard with a UISplitViewController as the root view controller.
Before iOS 8, UISplitViewController was iPad only. The documentation states:
In iOS 8 and later, you can use the UISplitViewController class on all
iOS devices; in previous versions of iOS, the class is available only
on iPad.
You might want to load a different storyboard for devices running an older version of iOS. I've been wondering how apple wants us to approach this with iOS 8. It might be a good idea to read up on what Apple calls Adaptive View Controllers, or watch a WWDC video on them. I believe "Building Adaptive Apps with UIKit" covers the new functionality of UISplitViewController
I have a problem: I can't open the Storyboard file in Xcode 4.6 after having used the app in Xcode 5. What should I do to open it in Xcode 4?
Go back to your Storyboard in Xcode 5, then go to the right pane under the File Inspector tab (select it from the top, it's the icon with the little blank sheet). You will find a section called Interface Builder Document. There, set Opens in as Xcode 4.6 instead of Default (5.0). It will also change the way your user interface will look like, since Xcode 4.X doesn't support iOS 7 SDK, which contains the User Interface components (known as flat UI).
Though, you can use Xcode 5 to develop for iOS 6 (I do). EDIT As Idan said, you won't be able to submit apps for the App Store from a beta version of Xcode, so until its official 'stable' release comes out
Check my answer here:
Just installed xcode 5 and have missing storyboards
Btw, You can develop for iOS5,6 etc. with Xcode 5 but you cannot submit the app with a beta Xcode. So you would have to wait or use old Xcode to submit.
In xcode 4.2 what's the way to create a new simple project? There isn't the choice to start a new based view controller application? Can someone explain me the new ways?
To my understanding, here is the translation: Xcode 4.2 / Xcode 3
A Page-Based App is what was called a Navigation-Based App
A Single View App is what was called a View-Based App
A Tabbed App is obviously what was called a Tab Bar App
An Empty App is what was called a Window-Based App.
Be careful that the MainWindow.xib is no longer created as you start a new project with the Empty App or Single View app template. For more details, you should take a look at this question:
Is a MainWindow.xib truly needed in iOS application?
This Apple tutorial creates an iOS project which has a single view. It's created using:
iOS > Application > Single View Application