HomeStoreForumsWikiiPhone Native AppsiPhone Apps modmyifone Downloadsmodmyifone Links








Cell Phone Reception

Go Back   iPhone Forums at ModMyiFone.com - iPhone | iPod Touch, news, apps, themes. > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion
Register FAQ Members List READ THIS Today's Posts Mark Forums Read

iPhone / iPod Touch SDK | Development Discussion SDK questions. A place for iPhone developers to post code snippets, discuss creating iPhone apps, and any other iPhone developing.


MMi Super Contest | 30 winners! Over $1500 in Prizes! Enter Today!

Discuss AppStore Apps! | MMi Cydia Repo Download Stats

Get more out of ModMyiFone by joining our free community. By registering you get privileges to download files from our downloads section and you may also post your questions in our forums! It's fast, free, and easy!

2.0 Unlock|Jailbreak OS X / Windows | iPhone 3G Detailed Review w/Pics! | Developers - Port Your Apps to 2.0
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-06-2008, 12:33 PM
What's Jailbreak?
 
Join Date: Feb 2008
Device + Firmware: iPod touch 1.1.4
Operating System: Leopard, Vista, XP and Ubuntu ^^
Location: Basel, Switzerland, Europe
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
Creating Custom Controls

Hi,

For my application I need a color picker control. I subclassed UIControl, and it works fine:

Click the image to open in full size.

But then, I placed the color picker in a cell of a table, and now seemingly it doesn't call the touchesMoved:withEvent method. Because of that I cant "slide" the slider along the color bar. Funnily enough the touchesBegan:withEvent seems to be called, because when I tap the color bar, the slider jumps to the tapped place.
Could somebody help mo out, please? How do I have to handle moving touches like the UISlider control does?

Thanks,
DrummerB

EDIT: I've found a temporary solution. If I set the UITableView's scrollEnabled property to NO, then it works. But I wonder why the UISlider works even if scrolling is enabled...

Last edited by DrummerB; 06-07-2008 at 08:08 AM.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  iPhone Forums at ModMyiFone.com - iPhone | iPod Touch, news, apps, themes. > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

ModMyMoto.com - ModMyGPhone.com - ModMyiFone.com - Dedicated Server Hosting by SingleHop - iPhone Wallpapers - iPhone forums | iPod touch forums, news, themes, apps, games, unlock, jailbreak community - ModMyiFone.com RSS Feeds - Contact Us - Link to us - Archive - Privacy Statement - - Top
Copyright © 2007-08 by ModMy, LLC. All rights reserved. You may not copy anything on this site unless you link to the original.
All times are GMT -6. The time now is 07:50 PM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
ModMyiFone.com is an independent publication and has not been authorized, sponsored, or otherwise approved by Apple, Inc or Cisco Systems, Inc. The information contained on this site is for educational purposes only.
Forum skin by poetic_folly