|
Some gestures aren't working right away
2 messages
I have an iOS app that's giving me a pain. One view hierarchy has a scroll view, page view, and other views. The storyboard has 3 gesture recognizers scattered among a couple of the view controllers.
I have an iOS app that's giving me a pain. One view hierarchy has a scroll view, page view, and other views. The storyboard has 3 gesture recognizers scattered among a couple of the view controllers.
|
By
Steve Mills
·
|
|
Dragging a file unto an app in iOS simulator
Hi: Previously, you could drag and drop from the Mac desktop over an app in iOS Simulator, and if the app was set up for that file extension, it would open the app and open the file through the applic
Hi: Previously, you could drag and drop from the Mac desktop over an app in iOS Simulator, and if the app was set up for that file extension, it would open the app and open the file through the applic
|
By
Owen Hartnett
·
|
|
flagsChanged: not being called on NSControl subclass
3 messages
What do you have to do these days to make this work? I tried returning YES from acceptsFirstResponder, as was suggested somewhere. There is 1 NSTrackingArea added to the view, using options NSTracking
What do you have to do these days to make this work? I tried returning YES from acceptsFirstResponder, as was suggested somewhere. There is 1 NSTrackingArea added to the view, using options NSTracking
|
By
Steve Mills
·
|
|
Creating objects via AppleScript and setting readonly properties
6 messages
This seems like bug, or I need to override something. I have a class: @interface Blah : NSObject @property (readonly) NSUInteger id; @end The id property is exposed to AppleScript in the Blah class: <
This seems like bug, or I need to override something. I have a class: @interface Blah : NSObject @property (readonly) NSUInteger id; @end The id property is exposed to AppleScript in the Blah class: <
|
By
Steve Mills
·
|
|
Adding scripting support for custom records
6 messages
What's the best way to return data from a scriptable app when the property is a record-type that's declared in the sdef? It corresponds to an Objective-C class. I ended up adding a separate property t
What's the best way to return data from a scriptable app when the property is a record-type that's declared in the sdef? It corresponds to an Objective-C class. I ended up adding a separate property t
|
By
Steve Mills
·
|
|
Selectable text in NSTableView?
7 messages
I’ve got a view-based NSTableView that uses NSTextFields. I’d like to be able to select text in some of the columns, mostly so it can be copied to the pasteboard. If I set the “selectable” property of
I’ve got a view-based NSTableView that uses NSTextFields. I’d like to be able to select text in some of the columns, mostly so it can be copied to the pasteboard. If I set the “selectable” property of
|
By
Jens Alfke
·
|
|
Crash in dragImageForSelection
5 messages
I have what seems to be a simple operation to perform, but it crashes. I have a custom view which includes an NSTextView called textView. In the mouseDragged(with:) function in my view subclass, I hav
I have what seems to be a simple operation to perform, but it crashes. I have a custom view which includes an NSTextView called textView. In the mouseDragged(with:) function in my view subclass, I hav
|
By
John Brownie
·
|
|
macOS Drag and Drop onto App Icon
4 messages
Hi Folks, I will dispense with a rant about the eroding freedoms and the pains of sandboxing. My problem is finding a correct (App Store approval) method to enable drag and drop to the App Icon. I'm f
Hi Folks, I will dispense with a rant about the eroding freedoms and the pains of sandboxing. My problem is finding a correct (App Store approval) method to enable drag and drop to the App Icon. I'm f
|
By
Bill Pitcher
·
|
|
Strange Memory Patterns
7 messages
We have an app that handles incoming server connections. For each connection it opens a window that shows the activity of the connection. When the client is done the window closes. When the activity h
We have an app that handles incoming server connections. For each connection it opens a window that shows the activity of the connection. When the client is done the window closes. When the activity h
|
By
Sandor Szatmari
·
|
|
validateUserInterfaceItem not called
6 messages
I implemented a new feature that brings up an NSTextField for entering data. Once it's done, I call removeFromSuperview() and it goes away as expected. But then validateUserInterfaceItem is no longer
I implemented a new feature that brings up an NSTextField for entering data. Once it's done, I call removeFromSuperview() and it goes away as expected. But then validateUserInterfaceItem is no longer
|
By
John Brownie
·
|
|
Some advice requested on debugging a difficult problem. iOS.
6 messages
In the iOS app that I’m working on now, we have a problem that I’ve never seen in my years as an iOS programmer. While we have a 99.7% crash free user experience, what does crash is weird as fuck. By
In the iOS app that I’m working on now, we have a problem that I’ve never seen in my years as an iOS programmer. While we have a 99.7% crash free user experience, what does crash is weird as fuck. By
|
By
Alex Zavatone
·
|
|
find standard about panel
8 messages
How can I find the window produced by -[NSApplication orderFrontStandardAboutPanel:]? (I’d like to hide the window when my app deactivates.) I know it’s somewhere in the array -[NSApplication windows]
How can I find the window produced by -[NSApplication orderFrontStandardAboutPanel:]? (I’d like to hide the window when my app deactivates.) I know it’s somewhere in the array -[NSApplication windows]
|
By
James Walker
·
|
|
Custom UTIs based on com.apple.package don't always work
3 messages
I have a file type all set up in my target's Document Types and Exported UTIs as so: <key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeExtensions</key> <array> <string>livery</string> <
I have a file type all set up in my target's Document Types and Exported UTIs as so: <key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeExtensions</key> <array> <string>livery</string> <
|
By
Steve Mills
·
|
|
Care to opine on a stack trace
5 messages
I have an app where I see this crash periodically. Does this look to you like the stream is being destroyed before the run loop releases it? Basically an overrelease? Thread 8 Crashed: 0 com.apple.Cor
I have an app where I see this crash periodically. Does this look to you like the stream is being destroyed before the run loop releases it? Basically an overrelease? Thread 8 Crashed: 0 com.apple.Cor
|
By
Sandor Szatmari
·
|
|
Continuously update value bug in 10.13
3 messages
Since we finally were able to move up to 10.13 (printing company, historically slow to change), I've noticed that text fields in views and in cell-based table views now exit editing as soon as any cha
Since we finally were able to move up to 10.13 (printing company, historically slow to change), I've noticed that text fields in views and in cell-based table views now exit editing as soon as any cha
|
By
Steve Mills
·
|
|
unrecognized selector retainedCGImage
5 messages
Hi all, Can anybody advise on the following exception/crash that I am encountering? The issue is: > [NSWindowGraphicsContext retainedCGImage]: unrecognized selector sent to instance The problem is tha
Hi all, Can anybody advise on the following exception/crash that I am encountering? The issue is: > [NSWindowGraphicsContext retainedCGImage]: unrecognized selector sent to instance The problem is tha
|
By
Jonathan Taylor
·
|
|
Need help with combining generics, protocols and protocol extensions
This is a Swift usage question. I am working on a family of UI objects which share some common behaviors. Having done several, it is time to refactor (for all of the obvious reasons). I would like to
This is a Swift usage question. I am working on a family of UI objects which share some common behaviors. Having done several, it is time to refactor (for all of the obvious reasons). I would like to
|
By
Rick Aurbach
·
|
|
Autolayout(?) question
5 messages
Running Xcode 9.4.1 on macOS 10.4.2, when I click on a combo box in a window, in the debugger I get an exception: > [General] The window has been marked as needing another Display Window > pass, but i
Running Xcode 9.4.1 on macOS 10.4.2, when I click on a combo box in a window, in the debugger I get an exception: > [General] The window has been marked as needing another Display Window > pass, but i
|
By
John Brownie
·
|
|
Need help understanding a threading issue
4 messages
Let me start by saying I have a solution to my problem, but would like to know why some of the other things I tried didn't work... I have some procedures which are performed on background queues (spec
Let me start by saying I have a solution to my problem, but would like to know why some of the other things I tried didn't work... I have some procedures which are performed on background queues (spec
|
By
Rick Aurbach
·
|
|
Creating a .icns file again
7 messages
I solved this problem in 2012, and then again in 2014, when a change disrupted things. Now Mojave is changing the playing field once more... The problem: I need to get the icon for the current keyboar
I solved this problem in 2012, and then again in 2014, when a change disrupted things. Now Mojave is changing the playing field once more... The problem: I need to get the icon for the current keyboar
|
By
John Brownie
·
|