Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 02-21-2010, 11:43 PM   #2 (permalink)
kamath.bharath
i m on the edge
 
Join Date: Jan 2010
Posts: 13
kamath.bharath is on a distinguished road
Default

Quote:
Originally Posted by devavejay View Post
Hi, I am new to IPhone Development...

I have am writing a app similar to a piano keyboard, I am recording touch events of UIButton's but when I go to "play" them back, by setting the .highlighted property of the button to true, and preforming the event that plays the sound, the buttons dont change color. I tried inverting the highlighted property on hunch and it appears it does the UI update after we are done with the event. I am guessing the UI thread is waiting for the processing thread to be done - or I am doing something basic wrong.

Typically in other languages I would call a DoEvents or a Application.ProcessMessages() here, to test that out, but per other members of this forum - a call like that does not exist.

Does anyone have any ideas?

-Deva

i tried using the highlighted property but it doesn work. donno y..

anyways y don u create an IBAction and connect it to button touch down. that should do the job for ur Keyboard app.
kamath.bharath is offline   Reply With Quote
 

» Advertisements
» Online Users: 754
21 members and 733 guests
AH24, ajlondon, baja_yu, carltonbaugh652, chemistry, ChrisYates, Clouds, dacapo, Droverson, EvilElf, G-Power, gogoman, HemiMG, iAppDeveloper, MattPo, mediaspree, MysticLine, RobTaku, stebaps, torujahan, tsfrocks
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,523
Threads: 94,045
Posts: 402,632
Top Poster: BrianSlick (7,978)
Welcome to our newest member, ajlondon
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:32 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.