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 12-30-2009, 01:40 PM   #1 (permalink)
AppStoreMod
Registered Member
 
AppStoreMod's Avatar
 
Join Date: Jul 2009
Location: Sacramento,CA
Posts: 90
AppStoreMod is on a distinguished road
Send a message via Skype™ to AppStoreMod
Default Shorten A Bit Of Text In A UITextView and Make It Pop Up In A UIAlertView

Okay say you have a UITextField and a UITextView. Now when you type into the UITextField and then you click Done on the keyboard so it goes away and then whatever you typed into the UITextField it will pop up in the UITextView. I got that all working. But lets say you typed "I will be right back" and then you click Convert on the top button corner. Then it will convert and it will pop up in a UIAlertView with your new message. So in the UIAlertView it should say it converted it to "I will brb" how can I make it convert just some bits of text in code? I don't want it to convert it to a whole new thing just a bit. So like from I will be right back to I will brb. How can I do that? I really need this asap. Also I am not referring to this code.

if(textView.text isEqualToString:@"I will Be right back") {
textView.text = @"BRB"
}

I am not referring to that code above. That will replace the whole text. I want it to just change a bit of text and still have the other text there.
__________________
- AppStoreMod
Youtube | Website | Twitter | Xcode Video Tutorials | AppStoreApps
AppStoreMod is offline   Reply With Quote
 

» Advertisements
» Online Users: 673
20 members and 653 guests
ADY, BdR, Droverson, Duncan C, esoteric, givensur, gmarro, iAppDeveloper, jimmymacapps, krisk, mer10, mraalex, pipposanta, renesteg, sacha1996, Sami Gh, smithdale87, Steve Shanks, Xaphann, Yoshkow
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,422
Threads: 94,019
Posts: 402,546
Top Poster: BrianSlick (7,978)
Welcome to our newest member, iAppDeveloper
Powered by vBadvanced CMPS v3.1.0

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