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 01-06-2010, 05:14 PM   #1 (permalink)
simon88
Registered Member
 
Join Date: Sep 2009
Posts: 9
simon88 is on a distinguished road
Default Editing, Tables & UITextField

I think that I must be missing something very basic here.
In Apple's sample code TaggedLocations, a UITableView with custom cells is used (both for the locations as well as the tags). The custom cells have a UITextField as part their view. Under normal (non edit) mode, these UITextField cells are non-changable. Once the edit button (self.editButtonItem) is pressed and the table is in edit mode, these UITextField cells become editable.

In my code (based upon this example), my UITextField cells are editable all the time (both in Editing/Done modes). I can turn programmatically off the field editing by using .enabled property, but I can't see any such code in Apple's sample (e.g. in the setEditing: animated: method)

I am going crazy here - what am I missing that allows Apple to control the field level editing of a UITextField via the self.editButtonIem?

Many thanks for any suggestions.
simon88 is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,427
Threads: 94,023
Posts: 402,573
Top Poster: BrianSlick (7,978)
Welcome to our newest member, shakiraeb60
Powered by vBadvanced CMPS v3.1.0

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