If you could add anything to Cocoa, what would it be? Are there any features, major or minor, that you would say are missing in Cocoa. Perhaps there is a wheel you have had to invent over and over because of an omission in the frameworks?
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- back button text does not change
- iOS (objective-c) compression_decode_buffer() retu
- how to find the index position of the ARRAY Where
相关文章
- 现在使用swift开发ios应用好还是swift?
- TCC __TCCAccessRequest_block_invoke
- xcode 4 garbage collection removed?
- Xcode: Is there a way to change line spacing (UI L
- Unable to process app at this time due to a genera
- How can I add media attachments to my push notific
- didBeginContact:(SKPhysicsContact *)contact not in
- Custom Marker performance iOS, crash with result “
A way to specify copy/retain properties that are automatically released in dealloc. Perhaps
And RegexKit of course.
@property (..,copy)
support for mutable type classes (NSMutableArray
,NSMutableDictionary
, etc.). Currently, if you assign a value to property for a mutable type class the object created will be non-mutable (due to the copy).Proper support for web services.
A way to flag entire Core Data entities as transient. This would be particularly useful for implementing Bonjour sharing.
For example, let's say I've got an iTunes-like model, with
Playlist
andSong
entities. Currently, to implement Bonjour sharing, I create two additionalNSObject
subclasses,TransientPlaylist
andTransientSong
, which implement all of the same methods as their Core Data counterparts.I shouldn't need to double the number of model classes just to have transient versions of my objects – not when I want them to behave exactly the same, sans persistence.
(Yes, the other option is to have an in-memory persistent store which houses all of the entities you want to be transient. Either way, it's unnecessary overhead)
Certainly a reasonable interface from manage object contexts to SQL database servers'd be pretty cool.
I'd like to see better examples of writing custom views with programatically created cells, all autoscrolling nicely.
Also, there seems to be a real gap in IB's support for complex multi-paned windows with working splitters. I suppose they're working on this?
And whatever happened to resolution independence, huh?