开发者

generate NSString off of UITextField

开发者 https://www.devze.com 2023-03-25 02:12 出处:网络
i need to开发者_StackOverflow社区 generate a NSString named after a UITextField..Then i also need to be able to use this string. anyone have any kind of idea to do something like this?

i need to开发者_StackOverflow社区 generate a NSString named after a UITextField..Then i also need to be able to use this string. anyone have any kind of idea to do something like this?

Thanks, Jacob

Edit:

The user will type in his/her name..this name will then be generated into a NSString--It will be the strings name. Like how you would say

NSString *NAME;

i need the string to be named whatever there name is.


Do you mean the following?

NSString *myString = [[myUITextField stringValue] retain];
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号