2016-08-11 UIImage nsli superitem
Got this weird error today while futzing around with AutoLayout, or more specifically VFL, Visual Format . . . __exceptionPreprocess + 165 1 libobjc.A.dylib 0x0000000104dc3deb objc_exception_throw . . .
2K - last updated 2016-08-11 09:11 UTC by 7014
2017-09-17 Replacing NSTimer in Swift 4
For repeated calling of a function, the Timer class is available (used to be called NSTimer). So perhaps . . . get the following warning: The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please . . . address deprecated @objc inference warnings, test your code with “Use of . . . deprecated Swift 3 @objc inference” logging enabled, and then disable inference . . . by changing the "Swift 3 @objc Inference" build setting to "Default" for the . . .
2K - last updated 2017-09-17 10:09 UTC by 7014
2017-11-07 Close button on popover
On iPhone, you usually add a cancel/close button to a modal popover. On iPad, there's usually no need . . . = closeButton return navigationController } @objc func close() { self.dismiss(animated: true, completion: . . . nil) } // MARK: - View cycle @objc func popoverAction() { let pvc = PopoverViewController() . . . == .regular) } @objc func popoverAction() { let pvc = PopoverViewController() . . . = self.doneButtonHidden ? nil : button } } @objc func dismissAction() { self.dismiss(animated: . . .
5K - last updated 2018-01-09 07:28 UTC by 7014
ObjC
[[Objective-C]] . . .
1K - last updated 2012-02-17 10:39 UTC by 7014
4 pages found.