Search results for

SwiftUI List performance

50,605 results found

Post

Replies

Boosts

Views

Activity

multiple microphone inputs on iOS - possible with iOS9?
We are developing an application that would benefit greatly from getting two channel audio input - one from the base mic, the other from the front mic (or any other mic). With these two inputs we can do application specific noise cancelling.Is this possible with the new APIs introduced for iOS 9? We have C/Objective-C experience, etc.I looked into this for iOS 7/8 - it does not seem possible. The only noise cancellation I can get is by calling Apple's built in one, which is completely wrong for our purposes.NSArray* inputs = [[AVAudioSession sharedInstance] availableInputs];Will list multiple inputs, but I can't get record from the base mic and another mic at the same time. We are willing to write our own AUAudioUnit if that would help.--T
1
0
2.2k
Jun ’15
Wildcard App ID and In-app Purchase
So the standard line on the forums is usually that you can't have a generic wildcard app ID if you want in-app purchase. Well, I have five apps using a wildcard app ID that have been offering in-app purchases successfully for over three years. So somehow it's been possible. I'd like to change the apps over to use specific app IDs in order to properly support requirements going forward and enable iCloud use, keychain use, etc.As far as I know, in-app purchases only key into the bundle ID, which will stay the same even when changing the app ID. But I really don't know for sure if app ID does/doesn't tie into in-app purchases, and since it's been listed as a requirement (albeit not a very rigorous/critical one, apparently) it makes me wonder. I would hate to revise the app ID and find that I messed up thousands of customer's in-app purchases, or anything else.So does anyone know for sure what kind of dependencies in-app purchases and app ID have?
1
0
1.7k
Jun ’15
NSStatusButton Visual Updates & Template
Since -view and various other properties of NSStatusItem are deprecated, it looks like the only way to get supported visual updates is to use +[NSImage imageWithSize:flipped:drawingHandler:] and invalidate the cache to update its display. It doesn't allow realtime animation, but something like a progress indicator doesn't seem too difficult. The only issue is -template doesn't seem to work, even if you use black and CGContext* drawing commands.An initialization might look like_item = [NSStatusBar.systemStatusBar statusItemWithLength:NSSquareStatusItemLength]; _item.button.target = self; _item.button.action = //Some action _item.button.image = [NSImage imageWithSize:_item.button.bounds.size flipped:false drawingHandler:^BOOL(NSRect dstRect) { CGContextRef c = NSGraphicsContext.currentContext.graphicsPort; [NSColor.blackColor set]; //Some drawing return true; }]; _item.button.image.template = true;Then on update something like[_item.button.image recache]; [_item.button setNeedsDisplay];Does anyone have any sugg
Topic: UI Frameworks SubTopic: AppKit Tags:
0
0
337
Jun ’15
Reply to submission & sanctity of idea
As an app developer myself, I think this level of secrecy is unjustified. You will never get your idea off the ground if you are as secretive as this. Revolutionary ideas are rare, they are usually iterations of previous ideas, and for this reason I don't sign NDA's at the moment unless necessary. However..For your case, if you get as far as Apple review your app is already developed. You have such an advantage on the market that anyone who learns of your idea has a pretty major disadvantage already. If your idea is as good as you think it is, then when your app hits the store, provided it is properly presented on the app store, it will be such a hit with users that you will have the advantage of being first to market. An idea is worth nothing, your competitors have the disadvantage of having to carry out the real work of executing that idea, making it better than yours, and overcoming your first to market advantage.Against your case is the following clause, which says that Apple can develop competition to yo
Jun ’15
Share items and Notification Centre widgets disappeared
Ever since I updated to 10.11, all the share items disappeard, the share menu in finder (or anywhere else, i.e. Preview.app) is either empty or freezes the app upon click. Also extensions disappeard from the System Preferences.app (the list is empty).Along with that (although it might be a completely unrelated issue), today widgets dispapeard: only Today & Tomorrow widgets are available.Has anyone experienced this issue?
1
0
277
Jun ’15
Finder unable to show mounted Drive with 10.10.4 beta releases
Hi,With the latest yosemite 10.10.4 beta releases, finder is unable to show contents of a mounted virtual Drive. We found that this virtual drive gets mounted successfully and is fully accessible from Terminal, it is just finder which fails to list entries inside this drive. Similar functionality works fine with earlier Yosemite releases (10.10.3 and below).We get following error logs while mounting the said virtual drive on the latest beta-23/06/15 12:34:49.114 pm mds[60]: (Volume.Normal:2464) volume:0x7fb2fd8bd000 ********** Bootstrapped Creating a default store:1 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Volumes/ayushjain-win723/06/15 12:34:49.222 pm mds[60]: (Volume.Error:577) vsd:0x7fb2fc893000 Open failed. failureCount:0 (null)23/06/15 12:34:49.296 pm coreservicesd[110]: SFLItem (ayushjain-win7) is missing volume type when setting new prefs. 1 OSServices 0x00007fff895e8f34 _ZN18SFLMutableListItem11SetNewPrefsEPK14__CFDictionarytP16OpaqueISImageRef + 866 2 OSServices 0x00007fff8964b0ec _ZN15SF
0
0
429
Jun ’15
Setting Up In App Purchase
Hey everyone, so iv been creating a game and the game is finally finished, i have added iAds and have made a button that allows users to remove the adds for 1.29, i have done the devaloper portal side of things and have watched many a tutorials on how to add the in app purchase functionality. I want to charge the user and then run the function removeAdvertisements which stores a proUser variable in NSUserdefault as true, then when i add the ads it checks if proUser is equal to true and then hides the add. Anyway the problem i am having is when i press the remove ads button it does not work. Any and all help will be helpful!!!!!!! BTW IM USING SWIFT 2 AND IOS 9import Foundationimport SpriteKitimport AVFoundationimport StoreKitclass OptionsScene: SKScene, SKProductsRequestDelegate, SKPaymentTransactionObserver { let removeAdsText = SKLabelNode(fontNamed: Bebas Neue Bold) let removeAds = SKSpriteNode(imageNamed: resetHighscoreBtn) let removeAdsComplete = SKLabelNode(fontNamed: Bebas Neue Bold) var backgroundMusi
9
0
3k
Jun ’15
Reply to Indexing thousands of static entries
You don't want to put thousands of entries into either NSUserActivity or CoreSpotlight. If I'm understanding what you have, it sounds like this is effectively static content. If that's the case then your best bet would be to have that content be accessible via a website and let the Apple web crawler index it. That would get it into the public index and would allow the content to be served up to all users when they use iOS Search. NSUserActivity should be used in conjunction with just that, user activity. As the user interacts with your content in the app, it's fine to associate these entries with the activity that the user is doing. If you have an identifier per entry you could associate that with the activity (by way of CSSearchableItemAttributeSet's relatedUniqueIdentifier property, where the attribute set is then attached to the NSUserActivity). If you do this as the user is moving around your app then you would use the same activities for handoff (i.e. with eligibleForHandoff = true). You could also gener
Topic: App & System Services SubTopic: General Tags:
Jun ’15
Get hold of usual locations visited
It's clear that iOS has the ability to predict locations that a user might be going to (e.g. their workplace address), because this functionality is evident in the Today view when you pull down from the top of the screen.What I want to know is: Is this information available to developers via an API, probably in the Location/Maps area....? Sort of like a getPredictedAddresses(Day, Time) sort of API, so that mapping & directions apps could perhaps offer a handy list of locations to choose from rather than having the user type in addresses.
0
0
148
Jun ’15
Reply to New iOS 9 beta 2
yeah - i'm not saying it's ready for general release, but as far as the betas have been in recent years this seems (in my limited use) almost like a b 2.5 than a b1. i have noticed that performance on 5 is better than 5s in many respects, but after a couple days i found it stable enough to install b1 on my primary phone. using it all the time it's clear there's a lot of work to do, but in the past i've had builds that i had to force restart just to get out of apps. this time (for the most part, not 100%) this hasn't been the case. ideally b2 drops today and has substantial performance improvements (and fixes the home button/today tab sensitivity issues)10.11 does strike me as very beta, however.best,d
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15