iPad app using Xcode, how to take user text input and display it in another text field

I am rather new to iOS coding and am trying to make an application where when the user types in some text the app output their text in ASCII art.

I just want to know how I can get the app to realise when the user types "The" that it has to realise that there is a T a H and an E and put out a certain list of characters.

I am making this for the iPad, using a "Tabbed application" pre-made workspace.

Answers


Make sure your viewcontroller is the delegate of the "entry" text field. Implement textField:shouldChangeCharactersInRange:replacementString: and make the equivalent changes to the string of your "art" text field. Make sure you return YES at the end so that the entry text field can actually be updated.


Need Your Help

Miscellaneous confusion about Xcode build settings (64/32 bits, SDK version, etc)

objective-c xcode osx cocoa ide

When I create a new OS X application project, I noticed many target options those confuse me quite a lot:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.