Search results for

SwiftUI List performance

50,611 results found

Post

Replies

Boosts

Views

Activity

Reply to modifying Outgoing Servers in Mail
nope doesn't work.The issue I have is that there are servers on the list of outgoing servers that are not connected to any of my accounts.. Mail still seems to want to check if they're alive and when they fail, Mail shows an error...I want to remove those servers from the list but the dialog that shows the list and offers + and - for adding and removing servers doesn't work... (+ and - buttons inactive)These work fine in the previous versions of OS X.. don't seem to work here..--marcel
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’15
presentTextInputControllerWithSuggestions must have suggestions now?
Is this new or a bug? I remember that someone asked in the old forum how we can start the voice recognition directly. The answer was that we must give the method an empty list of suggestions and the allowedInputMode must be set to plain.But now this doesnt work anymore. I see this also in other apps that were build with the old WatchKit SDK running on an Apple Watch with the new Watch OS 2.0When you make a call now to presentTextInputControllerWithSuggestions with these parameters you will only see a cancel button in the lower left corner but the voice input doesnt start. I hope this is not working as intended.
6
0
601
Jul ’15
Reply to Is there a way to control a xcuielement swipe?
If I understand correctly, you're trying to access an element further down in a list that's not visible in the initial screen?If I understood you correctly, you shouldn't have to swipe and reveal onto the screen before you tap on that element. Just specify the element in the list to tap and it should find it automatically for you.For instance, if it's a list of elements in a table format, you can identify each element by its staticTexts. So you can use:[app.tables[@Name of Table View].staticTexts[@Element Name] tap];It should scroll to the element and tap on it for you.
Jul ’15
The softwareupdate command line tool for OS X 10.11 (15A178W) is unable to access updates for OS X 10.11 (15A204H) without first opening the App Store application
I ran into an issue with making a factory-fresh unconfigured OS X VM which is running 10.11 Beta 2, where running the softwareupdate tool on Beta 1 was not giving me the following updates:OS X El Capitan Developer Beta 2El Capitan Recovery UpdateI figured out a solution today and filed a bug report. For those also experiencing this issue, here's the bug report that describes the problem and how I fixed it:Bug report ID: 21671178Title: OS X 10.11 (15A178W): The softwareupdate command line tool for OS X 10.11 (15A178W) is unable to access updates for OS X 10.11 (15A204H) without first opening the App Store applicationSummary:The softwareupdate command line tool for OS X 10.11 (15A178W) is unable to access the following updates without first opening the App Store application:OS X El Capitan Developer Beta 2El Capitan Recovery UpdateSteps to Reproduce:1. Perform a new install (not upgrade) of OS X 10.11 (15A178W) into a VM or on a Mac.2. Without going through Setup Assistant, install a script or other me
0
0
10k
Jul ’15
Reply to What is the use of Git Hub to an app developer.
One additional benefit of Github to the ones NotMyName and KMT listed is online backup of your code. Without Github if your Mac was stolen, was destroyed in a fire, or had its hard drive/SSD go bad, you would lose your code. With Github if disaster strikes, you can buy a new Mac, clone your Github code on the new Mac, and continue to work on your app as if nothing happened.
Jul ’15
Inconsistent behaviour in openParentApplication in my WatchKit App
I'm developing an Apple Watch application that uses the openParentApplication:reply: method to communicate with its parent app.The parent app communicates with a web service and sends back the data it gets to the watch extension by means of calling the reply method with a NSDictionary containing the data.The app works perfectly when the parent app is open in the foreground or background. But if I open the parent app and then terminate it using the task switcher, the first time the watch extension sends a request, it gets the following error and the parameter replyInfo comes in as nil.UIApplicationDelegate in the iPhone App never called reply()The weird thing is, every single openParentApplication:replyInfo: call the extension makes after that gets a proper response. It's as if the handleWatchKitExtensionRequest:reply: method in the parent is doesn't get called when the app is first launched the first time after it was killed.What could be the possible reason for this?I'm performing all operations in
5
0
1.2k
Jul ’15
Reply to Payment options for Premium account and sponsored item features
It sounds like there are two types of 'products' being sold - the actual physical goods and the premium listing (i.e.'seller can highlight' and 'premium account functionality'). Regarding the physical goods - you cannot use IAP and depending on how you interpret 11.2 you may, or may not, use a 'PayPal' like system within your app. You can use a PayPal like system accessed through your website for the physical goods. Regarding the premium listing - I think you must use IAP for that.
Topic: App & System Services SubTopic: StoreKit Tags:
Jul ’15
Reply to iTMSTransporter cli upload app with debug symbols
I would also like to know if this is possible, as I'd like to be able to automate uploading of test flight builds from Xcode Bots.Might it be as simple as just not stripping debug symbols in the build settings and submitting as usual? Is there a way to know if symbols have been included in iTunes Connect? I don't see that information listed in the binary details.Cheers,-- Charles
Jul ’15
Reply to Testing nested arrays for equivalence
Ah, yes, and NSArray conforms to Equatable no matter what the type of elements, so eg:// import Foundation // Uncomment to enable typechecking and compile time error! :P print([1, 2, 3] == [1, 2, 3])There certainly are quite a lot of issues that have to do with the automatic conversion and the bridging of NSArray and Array ...It's also ... interesting to note that your example code won't even compile if we comment out import Foundation, but this time it's print that will or will not take Bool as an argument:// import Foundation infix operator |==| {} func |==|<T : Equatable>(lhs: [T], rhs: [T]) -> Bool { print(lhs: (lhs.dynamicType)) print(rhs: (rhs.dynamicType)) return lhs == rhs } print([[1, 2, 3], [1, 2, 3]] |==| [[1, 2, 3], [1, 2, 3]]) // Compile Error: Cannot find an overload of 'print' that accepts an argument list of type '(Bool)'It's like a strange new world waiting for us to be explored by commenting and uncommenting import Foundation.I wonder when all this will be fixed, this is th
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’15
Slide in menu via offscreen tableview?
Hi,Context: The following is for iPhone only and I don't have to worry about the device rotating. In old terms, it's portrait mode only. iPhone 4s, 5... to iPhone 6+. iOS 7 and iOS 8.Similar to a master / detail relationship... If I want to have a slide in option list menu that does not completely cover the screen, but only comes in from the right about half way, is that best achieved using a table view subview that is out of sight and just animate it into place as needed?It's just like the LookInside project sample code associated with the WWDC 2014 video titled A Look Inside Presentation Controllers. ( pg 122 of the PDF slides from that talk shows the idea too. )I was going to go the route of a UIPresentationController but we support iOS 7 and more importantly it's portrait and iPhone only. So, we don't need the flexibility now are in the foreseeable future.Thanks!
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
382
Jul ’15
Reply to new app v update
Sometime it gets difficult for a developer to keep on updating single app that was initially developed long time ago just because new development tools keep on arriving and it gets clumsy to manage older things with new tools and time gets wasted in resolving bugs. So, rather a developer would prefer to create entirely new app using new development tools so that it can give better performance and save time.
Jul ’15
Reply to Can we get a "try?" as a more lenient "try!"?
Thats far too general a statement to make. What constitutes an error depends on the API designer, but in general an error occurs when a method fails to perform all of its intended actions. Whether or not you can/must/should handle an error depends on the specific failing method and how and why you are calling it.Swift has a sensible default behaviour - that methods should always succeed, and if not then you should handle that explicitly. They accept that sometimes there is no way to reasonably handle a failure, so we have try!. The same logic goes in reverse - there are times where there is no need to handle a failure, so it follows we should have a try? keyword.If they don't add it, people will just hack around it with shims like the above examples. It's better that they bring it in to the language - it could present optimisation opportunities and there may be sensible limitations they can impose for safety.
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’15