writeToFile in OSX, appending to the file?

前端 未结 5 2005
自闭症患者
自闭症患者 2020-12-20 17:26

I need to write some data from time to time to a file, appending to it.

Right now I have:

BOOL ok = [[NSString stringWithFormat:@\"%f\",raw] writeToF         


        
5条回答
  •  一向
    一向 (楼主)
    2020-12-20 17:47

    strcontent may be self when you put this method to a Catagory of NSString.

提交回复
热议问题