Foundation is a framework written in Objective-C that implements many useful classes and functions.
I have a UICollectionView implementing a grid-based layout of custom UICollectionViewCells. To allow cells to respond to dragging, I individually …
ios objective-c foundationI'm using he UserNotification framework that is available only in iOS 10. I am declaring a method that uses this framework …
objective-c ios10 foundationI wanted to reuse the popover for iPhone described in this video which is exactly what I need. The problem …
iphone ios objective-c xcode foundationI try to get the hang of it, but for now both seem the same thing to me. However, Xcode …
objective-c cocoa cocoa-touch foundation core-foundationI'm rewriting parts of an app, and found this code: fileprivate let defaults = UserDefaults.standard func storeValue(_ value: AnyObject, forKey …
ios swift key-value-observing foundationWhich is considered the better way to derive a new dictionary from an original one: [NSDictionary dictionaryWithDictionary:otherDictionary]; or [otherDictionary …
objective-c foundationThe solution of this question no longer works with Swift 3. There is no longer a property bytes of Data (formerly …
swift nsdata foundation swift3 nsoutputstreamProblem This question may seem a bit long, but I try to give as much information as possible, since I …
objective-c cocoa extension-methods foundation unrecognized-selectorIn iPhone development, speed is of the essence. Does anyone know if there is a speed difference between using a …
cocoa core-foundation foundationi need your help i've got this frustrating "random" error. The app is compose of one Mapviewcontroller and a collectionview …
ios exception core-data foundation nsorderedset