foundation
Help with NSUndoManager
Ok, So i want to add the ability to undo certain actions in my app.I was going to create a way to do it, with my own protocals or something, but then I found out about NSUndoManager.I would like to us[详细]
2023-02-21 22:50 分类:问答Why am I getting "incompatible pointer type"?
I am trying to create a custom object that simply inherits the NSString class and overrides the \'description\' method.[详细]
2023-02-18 15:48 分类:问答NSNumber Literals
I am very new to Objective-C. I know C and C++ but Objective-C has quite the learning curve. Anyway, is there a shorter way (possibly by some kind of NSNumber literal if such exists) to write the foll[详细]
2023-02-18 11:44 分类:问答How is Key-Value Observing implemented internally?
I got answer about Foundation magic for this question: What's the 开发者_如何转开发most *simple* way to implement a plain data object which conforms key-value-observing?[详细]
2023-02-18 02:40 分类:问答Memory Leak in Foundation's Library NSCFString
I\'m working on a project that requires extreme care with memory. I ran the simulation on instruments and it shows the next leak:[详细]
2023-02-16 20:30 分类:问答UIImageViews and related view controllers for photo gallery
I have a list of UIImageViews that I\'d like to flick through, much like Facebook\'s image viewer. Any suggestions on which controller I should use a page controll with custom view controllers or does[详细]
2023-02-15 03:55 分类:问答How could I communicate with an RS232 device in Objective-C?
I\'m trying to write a command-line, Foundation Objective-C program and I need to communicate to an RS232 serial device.[详细]
2023-02-15 02:06 分类:问答how to determine when two NSDates are 1 week apart?
I\'m my app I have an NSMutableArray, and each entry has an NSMutableD开发者_如何学JAVAictionary with several Key-Value pairs. One of these pairs contains the date of the entry. For one of the functio[详细]
2023-02-14 23:48 分类:问答NSURLConnection: Resume functionality
I\'m writing a download manager in Objective-C, and I have it working with resume functionality. I am writing the data to disk as I receive it so that if the download is interrupted for any reason, it[详细]
2023-02-14 17:42 分类:问答iOS: NSSocketPort, where art thou?
The developer docs are full of references to NSSocketPort, which is supposedly part of the Foundation framework. However, I can\'t seem to find a header file for NSSocketPort in Foundation. My guess i[详细]
2023-02-13 23:46 分类:问答