Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找能够将文本字段转换为方程式变量的代码。我已经设置了文本字段,单击时他们会拉出一个小键盘,我只需要将它们链接起来。建议?
without more detail i cant really help but for extracting something from a textfield
just get the string form the textfield, then convert to int?
NSString *variable = textfield.text; int x= [variable intValue];