Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
there is all work just fine, the takeText is working well at analyzing the text and removing other letters, like !@$^&*(), the biggest problem is when a user type-in "Hello. ", its make the app crush.
Do you have e-mail or MSN or Skype that I can explain you the problem with screen sharing or something?

So I'm confused, didn't you say that the app didn't crash, but that takeText.text was just an empty string? If the app crashes what is the error in the debugger? Are there any warnings when you compile? Often when I try to set an NSString to a constant and forget the @ symbol my app will crash without a peep.

Have you tried walking through your app with breakpoints? Are you SURE that this is the line causing your app to crash?
 
So I'm confused, didn't you say that the app didn't crash, but that takeText.text was just an empty string? If the app crashes what is the error in the debugger? Are there any warnings when you compile? Often when I try to set an NSString to a constant and forget the @ symbol my app will crash without a peep.

Have you tried walking through your app with breakpoints? Are you SURE that this is the line causing your app to crash?

Yes, it shows an empty string.
And Yes, when I'm trying new commands for it the app crushes,
The only problem is this.
 
Yes, it shows an empty string.
You sure it contains an empty string, though? Maybe it's not showing what you think it should, since you don't seem to even understand the difference between %@ and @%.

And Yes, when I'm trying new commands for it the app crushes
What new commands are you trying? Don't expect us to guess. I suggest you give this blog post a good read through before you seek further help: Getting Answers

The only problem is this.
Doubtful.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.