Watching the What's new in Storyboards talk from WWDC2015, the example application showed a custom container view control that had multiple embed segues coming out of it. That's never been possible before, as far as I know. Unfortunately the sample code that went with that talk wasn't actually the sample application they kept showing.Is this a new feature of Xcode 7? Is it something we can do ourselves somehow?
Search results for
xcode github
94,047 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Thank you.Well, the image welldone.png shows on the Xcode screen when I navigate to Xcode > Project navigator > Project name > Classes > Graphics > Interface Graphics > welldone.png.I set a breakpoint in KLPAViewController.m > line 209 > UIImage *backgroundImage = [UIImage imageNamed:@welldone.png]; > I'm not sure how to look for the value of the background variable?I see the Debug area at the bottom and a load of data.
Topic:
Programming Languages
SubTopic:
General
Tags:
Yes, it was mentioned in What’s New in LLDB. The debugger command is:br s -E swiftIt seems that it is not yet possible to enable this breakpoint in the Xcode 7 UI so you have to type it manually in the debugger when you run your program (or put it in your ~/.lldbinit).
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Hello,as far as my memory goes, it was possible to use Xcode 5.x to run code on iOS 8. Or am I wrong?My Xcode 6.3 — even after attempting to read symbols — tells me that my iOS 9 device is inelligible. Is that a bug, or works as specified?ThanksAlex
You keep saying shadowing. Shadowing is allowed, but redefining is not. The code I showed you is redefining x, not shadowing it. If you try to shadow a local variable it works fine.One more time:Shadowing is when you define a variable in a scope when the same name is already used in the outer scope. The variable in the outer scope cannot be referred to, which is why it is called shadowing.Redefining is when you try to define a variable with a name that is already used in the same scope.If you want to have a language that creates a new scope for every line, then that is fine, but Swift is currently not that language.
Topic:
Programming Languages
SubTopic:
Swift
Tags:
I can not remove managed by xcode provisioning profiles from my account on developer portal. When i delete them and open xcode they are automatically created. Is there a way to stop xcode to stop regenerating these profiles?
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags:
Signing Certificates
Provisioning Profiles
Downloaded Xcode 7 beta to try it out and discoverd when setting an SKTextures filtering mode to nearest it does not work (as in there are no visible results when running the app, I still see blurred pixels). Simple example below:let texture = SKTexture(imageNamed: image) texture.filteringMode =.Nearest let sprite = SKSpriteNode(texture: texture) addChild(sprite)Just wondered if this was a known issue with this beta or it's just happening to me?Thanks,Tom
HI, David,I am trying to navigate the same waters as you. The properties and methods declared in the new header are definitely for 10_11 and up. However, I did attempt to run the CocoaSlideCollection sample code in Yosemite after building it with 10_10 as deployment target. It ran, but it failed to select JPEGs when browsing.My expectation is that we will have to run different code for NSCollectionView and maybe load different NIBs, depending on the outcome of a test for OS X version. I have a question in to Apple about that.Best regards,Tom McVay
Topic:
UI Frameworks
SubTopic:
AppKit
Tags:
Hi,I am developing an Hybrid app and I am able to generate the Xcode project files via the command line.Now, I would like to know if (with the latest iOS Dev updates) it's possible to generate an IPA file on Linux or Windows without the use of a Virtual Machine ?I only have a Windows and Linux machine avalaible.Kind regards,Lelka
Why Xcode cannot build, I tried to start new project and error message is:env: python: No such file or directoryCommand /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 127
When I opened the proejct in Xcode 7, it immediately asked if I wanted to update to Swift 2 syntax, and that went pretty well, but there were still some issues I am still going through.This code, at least the Swift version, doesn't look great. Looks kind of haphazard and there's no comments in the code.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Hi,I create a test project:Xcode7SwiftModule is main programSection1 is an embedded frameworkHere my Main.storyboard with the FirstViewControllerThe last element it's a Storyboard Reference object define like this:In Section1 (my embedded framework) I have another storyboard Section1.storyboard with the SecondViewControllerI can build my test project, display the FirstViewController but when I click on Go to Section1ViewController the application crash with the message:2015-06-16 15:05:32.920 Xcode7SwiftModule[7494:1712281] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'Section' in bundle NSBundle </...../Developer/CoreSimulator/Devices/C0FD9F5E-F49E-44A8-8464-C96560ED312C/data/Containers/Bundle/Application/480FA9F7-F979-47A8-A5F6-138A5D98855E/Xcode7SwiftModule.app> (loaded)'It's like the Storyboard Reference object ignore the path in the bundle field (?!?!?)How I can create the link between my FirstViewController in the main story
Below is an example of the Xcode feature I was thinking of.protocol SomeProto { func returnInt() -> Int func returnString() -> String func returnValueType() -> CGRect func returnADT() -> [String] func returnOptionalClass() -> NSDateFormatter? func returnClass() -> NSDateFormatter}X-Code would complain it does not conform to protocol)class SomeProtoImpl : SomeProto {}Using Xcode new Fix-it feature it would generate default(dummy) implementations as depcitedbelow of the required protocol functions making SomeProtoImpl compile and then you replacethe dummy logic with the actual logic you would like to implement.class SomeProtoImpl : SomeProto { func returnInt() -> Int { return 0 } func returnString() -> String { return } func returnValueType() -> CGRect {return CGRectZero} func returnADT() -> [String] { return []} func returnOptionalClass() -> NSDateFormatter? { return nil} func returnClass() -> NSDateFormatter { return NSDateFormatter() }}
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
If you are using the El Capitan seed, be aware that application-specific options that are added to the save sheet are now collapsed by default. There is an Options button in the bottom left of the save sheet that will disclose them. Xcode puts target membership choices and group coices in those options when creating new files.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Hello everyone,I'm having this strange issue. You see, we uploaded a new version of our application to itunes connect, and we sent it to the internal testers. However, only those where we installed some version of the application directly through XCode at some point are the ones who can install it via testflight.Our devices where the app has never been directly installed through XCode cannot install the application right now through testflight (the download gets to around 98% and the says that it was unable to install, even if they had downloaded a previous version of the application through Testflight successfully at some point).So, I'm assuming, maybe there's something in the XCode settings? It seems like something quite specific.