hey guys! hoping me little programming issue i've been having. i'm developing iphone app convert various base numbers between 1 (binary octal, example). have set multiple text fields, each field representing different base system. user can input of these text fields, , input's converted value reflected appropriate other text field (for example, if user typed in 101 in binary field, octal field read 5. works fine, until higher numbers. see, have set numbers convert live user types, , due heavy amount of string manipulation have going, begins slow app down input number gets longer. , result, keyboard input becomes laggy - on older devices - freezing during execution of number conversion code, becoming responsive.
kind of issue, if user inputs large number, take long time them input whole thing, between typing , waiting keyboard become responsive. therefore, wanted know if there way around this? maybe give priority keyboard above else? saw other app converts length values in same ui way mine does, though in app, when numbers large, updating of text fields slow down, keyboard input never gets laggy! it's if keyboard living in own world, unaffected whatever other logic going on in background.
please, if knows this, please give me hand. always, appreciated!
wirelessly posted (mozilla/5.0 (iphone; cpu iphone os 5_0_1 mac os x) applewebkit/534.46 (khtml, gecko) version/5.1 mobile/9a405 safari/7534.48.3)
sort if string manipulation doing, can post code? kind of functionality you're going should possible fast no lag @ all. based on description, guess inefficient may happening.
Forums iPhone, iPad, and iPod Touch iOS Programming
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
No comments:
Post a Comment