Search results for

SwiftUI List performance

50,605 results found

Post

Replies

Boosts

Views

Activity

orientation at start up
I am having a strange problem with orientation at app startup. This problem shows up on both the iPad simulator and iPad hardware. Lets say I am running in the iPad 2 (8.3) simulator. If the simulator is orented in portrait before I start the app, the views all look fine and when I simulate rotations, all the views rotate and look just fine.Now if I orient the simulator in landscape before I start the app, the views are properly oriented but larger in size. Now when I simulate rotations, all the views rotate but the size is still too large and there is no way to recover other than stopping the app, rotate the hardware, and restart the app again.My main view is a split screen in landscape but not in portrait. If I start the app with the simulator in landscape, the main view comes up split screen like it supposed to but the display view on the right is the one that is too large. The view looks like it goes off the screen to the right and bottom.By split screen I mean a scrollable list view on the left
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
2.4k
Jun ’15
iOS 9 Slide Over gestures needs reconsidering
I understand the need for simplicity with devices that span languages and all ages, however the current dominance of relying on single finger guesture to be used for every new feature is causing serious breakdowns of existing iOS UX paradigms.eg. One finger down on the springboard does spotlight search, however a single finger bevel swipe down shows the Notification Center, these can get muddled.What is far worse is in the app Messages, when you cannot single finger swipe up from the bottom to bring up the Control Center because the keyboard grabs the touch first. This also happens in many scrolling apps including safari.It's now much worse in iOS 9.eg. In safari a single finger bevel swipe left or right will move the page back or forwards. However, with the new slide over guesture it now prevents safari from detecting the page forward gesture.Thats a huge problem because iOS has trained users in navigation flow to bevel swipe.The solution, should be that Apple starts to use a specific number of fingers to perform
4
0
4.3k
Jun ’15
Reply to Why doesn't Float80 conform to the FloatingPointType protocol?
In a thread on the older forums, one of the Apple engineers stated that the reason Float80 is only available on OS X and simulated iOS (not on iOS hardware) is because it isn't built in to the ARM processors.It doesn't sound like they are planning to put much work into Float80 at this point, if it isn't even going to to be availble on iOS devices. Since it It doesn't already have the right methods to conform to the protocol on OS X, it might not be worth the effort to them to make it conform.https://devforums.apple.com/message/1118295------------Swift's current design/policy for floating point types is to expose the capabilities of the processor. This doesn't preclude providing software floating point implementations of other floating point formats, but we cannot comment on future plans (or lack thereof) to add them.One thing I will point out though: Float is much more than just a space optimization. All modern hardware supports SIMD vectors, and using Float instead of Double enables 2x the auto-vectorization
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
XCode Interface Builder and Simulator basics
This is my first foray into iOS and using XCode development. After making a brisk start using iOS ToDo List tutorial...I have become stuck on following issues and cannot progress! Please help...How do I get different scenes to align in storyboard. I cant seem to drag the 3rd scene and align it to the other two. I have cleared all constraints.When creating Segues to link two scenes on canvas - the scenes are not on the full screen...How do I drag from on be scene to another AND scroll the screen at the same time?Utility area - How do we scroll further down to see content e.g. properties in Attributes Inspector? The frameworks at the bottom right of the screen seem to prevent this.iOS Simulator - Running the iOS introductory ToDo list tutorial - for some reason the table view controller starts in the middle of the screen and I cannot scroll up in the simulator.iOS Simulator - Navigation Controller's Navigation bar and the bar buttons don't show.
0
0
271
Jun ’15
Baffled by iOS 9 Podcasts App
As a regular user of Podcasts I'm completely baffled by the changes to the App in iOS 9. No idea what I'm supposed to be doing. My old iOS 8 workflow would be to scan through the list of recently added Podcasts, click on Download and click on Add To On The Go. Then once I'm out and about go to my On The Go list and pick the Podcasts to listen to.I've no idea how to achieve the same outcomes on the iOS 9 Podcasts App ... anyone got any ideas? The Up Next function seems to put them into an invisible pre-ordered list ... how can I jump around and pick what I want to listen to? How I can I instantly see all the Podcasts that I have downloaded on my phone?Aaaagh! 😠
16
0
33k
Jun ’15
Reply to How do I get a list of all possible values of a Swift enum?
This is at the top of my list as well! I have an app that has an enum with all of the countries and their country codes, and it isn't feasable to return a list of those by hand (it would easily get out of sync with the list and is a large amount of boilerplate).Here is the closest I have been able to come:protocol EnumerableEnum { static func allValues()->[Self] init?(index:Int) } extension EnumerableEnum { static func allValues()->[Self] { var idx = 0 return Array(anyGenerator{ return Self(index: idx++)}) } }If you have an Enum with integer values like so:enum TestEnum:Int,EnumerableEnum{ case A, B, C init?(index:Int){ self.init(rawValue:index) } }Then you can call the allValues() function to get a list of all values. If it doesn't have integer values, then you can implement the init method (but it doesn't buy you that much over just returning the list by hand).print(TestEnum.allValues()) // [TestEnum.A, TestEnum.B, TestEnum.C]A couple of notes:I couldn't ad
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Reply to Using the digital crown + touch fundamentals
About the dummy array + WKInterfacePicker, yeah I also figured that out. Thanks for the info about playing sound via bluetooth that might be interesting.Did you figure out how to respond to TAP events for the WKInterfacePicker? According to the docs:A WKInterfacePicker object presents a scrolling list of items for the user to choose from. Items in the picker may consist of text, images, or a combination of the two. The user interacts with a picker by tapping it, using the crown to scroll through items, and tapping again to select an item. A single interface controller may contain multiple pickers, each with its own set of items.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Asset List type in iCloud
Hi, I got problem when i try to store my array image to icloud with Asset List type. I just only can store 1 image to iCloud not multiple images. Can any one help me fix this issue, i do not know how to store array to LIST TYPE in iCloud. My project using Swift. Thank.
1
0
255
Jun ’15
Reply to ARD not working
My ARD (3.8) allows control and observe, but I've noticed the following under 10.11:All of my previous machines and lists have disappearedIt prompts for my ARD password every time I launch the app, even if I tick 'Add to Keychain'Machines I add to the all computers list do not always appear with a blue dot next to them in the scanner to indicate they are already in the main listMachines that are in my list often show as simply 'screen sharing available', meaning I can't run any unix commands, reports etc. Quitting and relaunching ARD can sometimes cause this to change and result in me having full functionaility against a clientTested against 10.8 clients so far. Will test against 10.9-10.11 soon, but this will obviously not change certain things mentioned above.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Software keyboard performance degrades considerably after continuous use of our app built with Xcode 6
Our app records data for filling out reports. After continuously entering data, the appearance and disappearance of the software keyboard slows down considerably, making the app unusable.This occurs when the ipa file is built with Xcode 6 (SDK 8.3). If we build the ipa file with the same code in Xcode 5 (SDK 7.1), the problem does not occur.When app is experiencing the performance issues, they immediately go away if we connect a hardware keyboard through bluetooth, and come back when we disconnect the keyboard. This is how we determined that it was the actual keyboard and not just when the text field receives focus.The issue occurs whether we are using the default iOS keyboard or a third party keyboard.This issue is occurring in the version of the app that is currently available in the app store, so it wasn't rejected by the app reviewers.We have profiled the code using Time instrument. We see _CfxNotificationPost growing. The response to keyboard events start at 17ms, 120ms, 300ms, 900ms for every i
0
0
231
Jun ’15
Reply to Not able to find the indexed data in spotlight
I'm having the same issue. Items index without an error, but nothing gets returned in spotlight when I search for any indexed search term. Also, my app doesn't show up in the list of search providers in Settings (not sure if that is intended or not).Is there anything else we need to do to turn this on? I've also implemented the application:continueUserActivity:restorationHandler method in the app delegate.
Topic: App & System Services SubTopic: General Tags:
Jun ’15
Reply to Using San Francisco in an app
This seems to be in conflict with the following statement by Apple:Get your apps ready with the latest beta versions of the San Francisco fonts for iOS 9,OS X El Capitan, and watchOS 2.Found here: https://developer.apple.com/fonts/I was able to download the fonts from the page above. So I am not sure about the source KMT's post and whether is is against the HIG or something for an iOS 9 app? It appears that the post from KMT is from here:https://developer.apple.com/watch/human-interface-guidelines/resources/And it looks like it pertains to resources for WatchOS downloads. But if you download the SF Fonts from the above link, then the Apple License Agreement with with files says this:APPLE INC.LICENSE AGREEMENT FOR THE APPLE SAN FRANCISCO FONTFor iOS and OS X application uses only---So it looks like you can use it with an iOS app and this article seems to confirm that:http://appleinsider.com/articles/15/06/12/apple-releases-san-francisco-system-fonts-for-ios-os-x-and-watchos-2-to-developersThe Font Tool Suite
Topic: App & System Services SubTopic: General Tags:
Jun ’15