Profile Photo
I am no longer able to do any work since my developer account is in this state: "Your Apple ID currently has two-step verification turned on, but two-factor authentication is required."   But I cannot enable two-factor authentication since all my trusted devices are assigned to my non-developer Apple ID.  And I cannot change that since that… (Show more)
in Xcode IDE and Editor
Profile Photo
Hi! Some help, please!!!   I want to sort my list on tableView by carDate, typeCar or carColor. But is the problem when I sort only array, the others arrays won't will be sorted and will be shuffle.   var carDate = [String]() var typeCar = [String]() var carColor = [String]() var carImage = [UIImage]()   That's all loading on my tableView.… (Show more)
in Swift
Profile Photo
We were planning to use UI Tests for a work project.  For my home business, since 2004, I wrote my own UI testing infrastructure that will serve as a plan B.   Anyhow, we found that our first UI test refused to work with a saved file that holds application state.  To simpifly this for this discussion, lets say you have a simple file that contains… (Show more)
in Testing and Code Coverage
Profile Photo
As being stated here https://developer.apple.com/app-store/marketing/guidelines/#section-products under the "Status Bar" section, I should not display a carrier name when using screenshots of my iPhone. On a real device, is there any way to (temporarely) hide the carrier's name in order to take a screenshot? If not, do I have to use the XCode… (Show more)
in iOS Simulator and Devices
Profile Photo
I cannot find any documenation on Encodable or Decodable as to any claim that computed properties are/will-be always ignored.   I'm actually hoping this is the case to allow for less coding.   Issue: I have a struct with a fairy large number of properties.  I need to add a few computed properties.  I've noticed that computed properties are… (Show more)
in Swift
Profile Photo
Hi, I am new to the UI design, I found the Apple Design Resources here: https://developer.apple.com/design/resources/   I downloaded the one for Photoshop as I am more familiar with it, I found it easy to create the icons, but haven't got how to use the Production Files to add the elements to the interface design on Xcode?
in Interface Builder
Profile Photo
I'm a beginner, please help me to understand why it happens?   I have two TableViewCotrollers - dynamic and static. When I add or edit item in static TVC it pass to the dynamis TVC. This data is visible in the table. But after that it is not saved. When i open the app again these changes are missing and if I roll the wheel of the pickerView these… (Show more)
in Swift
Profile Photo
I have two custom views in the dock of my view controller. (I linked them up to IBActions already) When button 1 is clicked this code gets triggered: mainView.addSubview(view1)  So I add view1 as a subview of mainView. (Note: Mainview is a view i created that fills a portion of the screen. Mainview and view1 are the same height and width)   But… (Show more)
in Cocoa Touch
Profile Photo
We are switching to Xcode 10 and are noticing some issues with Xcode 10's code coverage. Entire swaths of code are getting no coverage.  So far I have noticed   * Computed vars * class functions in extensions * guard statements in extensions   For example:   import UIKit… (Show more)
in Testing and Code Coverage
Profile Photo
Problem: We have a struct that echoes what our web-based product will send down as JSON.  Unfortunately, it's a large list of separate boolean properties.  The struct in Swift is effectively:   struct SomeStruct : Codable {… (Show more)
in Swift
Profile Photo
Hey everyone,   I am currently facing a problem which I can't solve. Hope somebody can help me, because I haven't found anything that worked for me. The body of the response looks like that:      [           {                "position1" : "someData",                "position2" : "someData",                "position3" : "someData",… (Show more)
in Swift
Load more items