Search results for

NSCocoaErrorDomain Error Code 4

170,019 results found

Post

Replies

Boosts

Views

Activity

tableviewcontroller to tabbarcontroller
Having a tough time trying to push a tabbarcontroller into view from a tableviewcontroller. I don't get any errors, but the tab bar on the tabbarcontroller is empty and the view is black. If I set the tabbarcontroller as 'is initial view controller' it works as expected. So for some reason there is a problem when I try to push the tabbarcontroller into view via code.I am using swift and XCode 6.3.2.Any help would be appreciated.
Topic: UI Frameworks SubTopic: UIKit Tags:
5
0
1.2k
Jun ’15
WKInterfaceController.openParentApplication is unavailable
I have an app that is currently available for the the Watch. In taking my first peek at iOS9, it only has 2 errors. One in the glanceController and the same in the interfaceController'openParentApplication(_:reply:)' is unavailableIt doesn't look like openParentApplication is even an option with the WKInterfaceController anymore.I know it's early in the process, but suggestions?
2
0
4.1k
Jun ’15
Multitasking How-To/Issues
Yes, I understand this is beta, and it's day 1. However, we got a nifty new feature, so I'm interested in seeing what everyone else runs into with itFirst, if you didn't figure out how to activate the split, single-finger swipe from the right to acivate split viewIssues with split view:1) If I split view, it doesn't appear that I can close the app in the right split or replace it with another2) While I'm in split view, there does not appear to be a way to kill the right-split app. If I four-finger swipe, it does not show in the open windows unless I close the split. If I dismiss it, and then do a split, again, it shows up, again. If I kill it and the left-split app, and then try to split another app, the right-split app from the first app shows up, again.3) If I have an app launched, open a split, then dismiss the left-split app, then relaunch it, it appears as if I have not dismissed it at all (try this with Safari, for instance).4) If I open a split, then close the split, then four
8
0
1.4k
Jun ’15
Reply to Redeem Code
Okay, so that honestly is weird.The only way I was able to get my code to redeem was my spam clicking the button once the code is entered. After a while it asked me to login. Did this about 4 times and then it finally redeemed it.My god, that was hard.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Arrays of tuples
In Swift 2, I created an array of tuples and try to append an item such as: var foo = [(Int, String)]() foo.append((400, Bad Request))I get an error:error: missing argument for parameter #2 in call foo.append((400, Bad Request))However, if I do: var foo = [(Int, String)]() let e = (400, Bad Request) foo.append(e)It compiles.This code worked with the previous version of XCode and Swift, and the release notes don't make any mention of changes to tuples.Is this a bug or am I doing something wrong?
4
0
5.3k
Jun ’15
Reply to linker command failed with exit code 1 (use -v to see invocation)
Ld /Users/nathan/Library/Developer/Xcode/DerivedData/ExampleApp-adsgjtlrzvwdjxbdymykwbukmfch/Build/Products/Debug-iphonesimulator/ExampleApp.app/ExampleApp normal i386 cd /Users/nathan/Desktop/Xcode App/ExampleApp1/ExampleApp export IPHONEOS_DEPLOYMENT_TARGET=9.0 export PATH=/Volumes/Xcode/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Volumes/Xcode/Xcode-beta.app/Contents/Developer/usr/bin:/Volumes/Xcode/Xcode-beta.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin /Volumes/Xcode/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Volumes/Xcode/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -L/Users/nathan/Library/Developer/Xcode/DerivedData/ExampleApp-adsgjtlrzvwdjxbdymykwbukmfch/Build/Products/Debug-iphonesimulator -F/Users/nathan/Library/Developer/Xcode/DerivedData/ExampleApp-adsgjtlrzvwdjxbdymykwbukmfch/Build/Products/Debug-iphonesimulator -f
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Reply to Multitasking How-To/Issues
Hmm. Also, now app-killing doesn't seem to work at all. If I have twitter and safari open, then dismismiss both, then launch one of them and four-finger swipe sideways, I switch to the other - even though they were both dead a moment ago. Anybody else?
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Create an app
You could start by using the resources you paid for that are found in the Dev Center. See:- View guides and sample code- iOS Developer Library Also, take time to view the WWDC Videos to help understand the latest new tools, etc.Good luck in any case.
Jun ’15
Reply to Wifi connected but no internet
Connected to a NetGear D6300 gigabit router. Can ping and I am get a response and an IP Address. But have also connected to iOS devices also. Same issue no internet. I have run diagnostics and get the error to contact ISP due to DNS issue. Everything appears to be normal.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Swift 2 crashing on where clause inside if-let
Converting my app to use Swift 2, and I'm getting a crash on this if-let where clause (that worked in 1.2):Used to look like this:if showFilterButton { if let dataController = dataController() as? FilteredCoreDataController, filter = dataController.filter where filter.customized { filterButton = UIBarButtonItem(image: UIImage(named: FilterFilled), style: .Plain, target: self, action: showFilters:) } else { filterButton = UIBarButtonItem(image: UIImage(named: Filter), style: .Plain, target: self, action: showFilters:) } } else { filterButton = nil }But it crashes on line 2. Finally discovered that removing the where clause doesn't crash the app (but obviously doesn't give me the behavior I want). Thought it was something weird like Apple changing how where clauses with in an if-let clause, but even separating it out into a nested if doesn't work:if showFilterButton { if let dataController = dataController() as? FilteredCoreDataController, filter = dataController.filter {//where filter.customized { if filter.cu
1
0
485
Jun ’15