nsmutablestring
Can we compare the NSString with NSMutableString
for example... NSString string1 = @\"Hello world\"; NSMutableStr开发者_开发百科ing string2 = [NSMutableString stringWithString: string1];[详细]
2023-01-27 00:59 分类:问答Objective-C: NSMutableString error
I keep getting an error with this code, the app is telling me I am trying to mutate an object which is not mutable. Can someone take a look and explain what I am doing wrong? Thanks.[详细]
2023-01-25 03:43 分类:问答NSMutableString appendString generates a SIGABRT
This makes no sense to me.Maybe someone here can explain why this happens. I\'ve got an NSMutableString that I alloc at the top of my iPhone app, then append to later in the process.It results in a S[详细]
2023-01-15 09:47 分类:问答Clearing rather than releasing a NSMutableString
I\'ve got a rather large loop that gets a string, does something to it, than goes onto the next one. I was originally relea开发者_如何学Gosing it then reallocating it but thought that is a bit of wast[详细]
2023-01-08 15:34 分类:问答NSMutableArray of NSStrings contains actual data or just pointers to the data
I\'m relatively new to Objective C and while I\'ve been trucking right along writing iPhone apps, I think I need some help understanding something.[详细]
2023-01-08 10:43 分类:问答Replace a char into NSString
I want simply replace all occourrencies of \"+\" with a blank \" \" char... I tried some开发者_如何学编程 sample listed here, also used NSSMutableString, but the program crash...[详细]
2023-01-05 05:53 分类:问答Reusing NSMutableString correctly on the iPhone
Using objective-c on the iPhone, what is wrong with this code? Is it leaking memory?Why? How would I do this correctly?[详细]
2023-01-04 09:21 分类:问答Removing the rtf format and tags from nsMutableString
I am trying to display the contents of a rtf file in uiwebview. I do this by taking the contents of rtf into nsmutablestring and loading it into uiwebview.[详细]
2023-01-03 18:01 分类:问答Xcode - EXEC_BAD_ACCESS when concatenting a large string
I\'m getting a EXEC_BAD_ACCESS when concatenting a large string. I\'ve read from a feed and to create my webview I bu开发者_StackOverflow社区ild up my string like:[详细]
2022-12-28 22:22 分类:问答How do I send the mutable string to the NSTextField properly?
So I have all this code that I have debugged and it seems to be fine. I made a mutable string and for some reason I can not get it to be displayed on my label. the debugger says[详细]
2022-12-28 02:05 分类:问答