Questions tagged [xcode6]

Xcode 6 is Apple's integrated development environment (IDE). This tag should only be used for questions about Xcode itself, and not for general Mac or iOS programming topics. Use [cocoa] for Mac programming questions, and [cocoa-touch] or [ios] for iOS programming questions.

Xcode is Apple's integrated development environment (IDE) for developing OS X and iOS apps. The version 6 was presented at the WWDC on June 2nd 2014. The new features of Xcode 6 include the new programming language Swift, the playground as an interactive way to play with the code and a more visual debugger.

The latest production version of the IDE is Xcode 6.4. Download Here

The important enhancements are described here and here.

This tag is for IDE only questions with the version 6. Questions related to the programming languages should go to the correct tag , , and . When they are only related to the os and .

6121 questions
3
votes
2 answers

Explaining in Detail the ScnVector4 method

I am using 3ds max for a long time and I know xyz axis. what I see in xcode in rotation the scnnode what made my mind blowed up is w component of scnvector4. Can someone explain in detail how to use this method because I searched a lot of time but I…
FamousMaxy
  • 686
  • 5
  • 21
3
votes
0 answers

xCode: assets catalog duplicates images

I have created assets catalog, and specified images for backgrounds. I have only two images - one for iphone, another for ipad. I manually edited Contents.json to re-use existed files. "images" : [ { "idiom" : "universal", "scale" :…
Mikhail
  • 4,271
  • 3
  • 27
  • 39
3
votes
2 answers

UIViewController view not full screen XCode 6

I made a simple app using XCode 6 but something wrong is happening with its view frame. The frame of the UIViewController's view is not covering full screen and moreover the status bar is also shifted by some distance.Can someone give me any…
SandeepAggarwal
  • 1,273
  • 3
  • 14
  • 38
3
votes
0 answers

iOS: Presenting multiple modal view controllers

I need to present two modal view controllers one after the other. According to the requirement I cannot dismiss the first one either. First modal is a popup view and the second modal is the camera in UIImagepicker controller. Any suggestions? Thanks…
dammika
  • 115
  • 10
3
votes
1 answer

Different font size for different devices in Xcode 6

I want to use the same text on different devices. I am using the universal storyboard but I can't find any constraints for the font size. I know that you can use different text fields on different devices with the new layout but then I need to add…
hidayat
  • 9,493
  • 13
  • 51
  • 66
3
votes
0 answers

Mac OS X exported .app won't run

I am adding functionality to an existing OS X application. I can run the app within Xcode (6.1) just fine. However, when I archive the application, then click "Export...", then select "Export as a Mac Application" (I don't have an account to sign…
bfich
  • 393
  • 2
  • 19
3
votes
1 answer

Game Center in Swift Sprite Kit

I am trying to add Game Center Leaderboards and achievements into my game but I can not find any tutorials for SpriteKit in Swift. All of the tutorials have self.presentViewController(viewController, animated: true, completion: nil) but in…
Loanb222
  • 841
  • 1
  • 11
  • 29
3
votes
1 answer

Use Xcode project in another project

I need to use some controllers from one of my project to another so i am trying to add that Xcode project to my project but i am not sure how can access those controller in my new project. Here is an example. OLDProject.XcodeProj -…
Dipen Patel
  • 911
  • 2
  • 9
  • 22
3
votes
1 answer

iOS8 , Xcode6 how to get memory usage programmatically as shown by Xcode

I am using the following to get the memory usage: struct task_basic_info info; mach_msg_type_number_t sizeNew = sizeof(info); kern_return_t kerr = task_info(mach_task_self(), TASK_BASIC_INFO, …
3
votes
4 answers

Background Fetch Does Not Appear to Fire

In my app, I have performed the following listed below and have added counter to the app fetch routine to highlight the number of times fetch is called by iOS 8.1. Turned on Background Modes and enabled background fetch. Wrote code for…
mkneisler
  • 31
  • 1
  • 2
3
votes
1 answer

iOS App localization Crash on language change

I have localized my app with storyboards. It has the following behavior: Works fine when built to device in development language (English) When I change the iPhone language to something that the app is localized in, and open the app, it shows a…
rocket101
  • 7,369
  • 11
  • 45
  • 64
3
votes
1 answer

Instantiating UIViewController Without A Storyboard Or xib File

I have been looking for a a way to instantiate a custom UIViewController class which is not attached to a storyboard or xib file. Naturally, when I try to initialize the UIViewController it's expecting an NSCoder object. However I have no idea where…
Aggressor
  • 13,323
  • 24
  • 103
  • 182
3
votes
1 answer

Images.xcassets breaking the laws of targets

Ok so i'm pulling my teeth out over this one and I sincerely hope i've made a stupid mistake (there have been some late nights involved). Short back story, we are building a product that needs to be brand-able as multiple customers will share 90%…
Simon McLoughlin
  • 8,293
  • 5
  • 32
  • 56
3
votes
1 answer

Control/Close 3rd party applications in iOS

I have a situation where I have to close other running/suspended applications in iOS, from my application. Is there a way to achieve this in iOS 8. Initial impression is that I have to increase the memory usage of my app so that iOS closes out…
Nithin
  • 6,435
  • 5
  • 43
  • 56
3
votes
1 answer

Setup keywords for local spotlight search

My application name is quite long... "Super Duper Game V2". I've set the bundle display name to "SDGV2". This means that the text underneath the iOS app displays "SDGV2", but I want the local spotlight search (when the user pulls down from the home…
Msencenb
  • 5,675
  • 11
  • 52
  • 84