|
Swift and KVC 7 messages
This simple little playground doesn’t print any value for the last line. It is a minimization of an issue I’m having in a larger program where the key-value can not be found. Is it me (likely) or is i
This simple little playground doesn’t print any value for the last line. It is a minimization of an issue I’m having in a larger program where the key-value can not be found. Is it me (likely) or is i
|
By
Marco S Hyman
·
|
|
Internationalisation of MainMenu 6 messages
I am trying to make an macOS app international. On thing is MainMenu.strings. This contains lots of stuff which must have an official translation (e.g. into German) already. (e.g. Edit → Cut). Is ther
I am trying to make an macOS app international. On thing is MainMenu.strings. This contains lots of stuff which must have an official translation (e.g. into German) already. (e.g. Edit → Cut). Is ther
|
By
Gerriet M. Denkmann
·
|
|
FYI, Xcode 9.3 was just released.
https://download.developer.apple.com/Developer_Tools/Xcode_9.3/Xcode_9.3.xip
https://download.developer.apple.com/Developer_Tools/Xcode_9.3/Xcode_9.3.xip
|
By
Alex Zavatone
·
|
|
NSCondition 8 messages
Hi All, I’ve almost got my threaded Consumer/Producer Working using NSThread and friends. However, under certain circumstances, I’m getting objects “stuck” on the queue and the Consumer thread not fir
Hi All, I’ve almost got my threaded Consumer/Producer Working using NSThread and friends. However, under certain circumstances, I’m getting objects “stuck” on the queue and the Consumer thread not fir
|
By
Dave
·
|
|
string pointer 11 messages
I have a method like (macOS 13.3, Xcode 9.2 (9C40b)): - (NSUInteger)computeFor: (NSUInteger)arg reason: (NSString * __autoreleasing *)reason { NSUInteger value; // some computing… if ( reason != NULL
I have a method like (macOS 13.3, Xcode 9.2 (9C40b)): - (NSUInteger)computeFor: (NSUInteger)arg reason: (NSString * __autoreleasing *)reason { NSUInteger value; // some computing… if ( reason != NULL
|
By
Gerriet M. Denkmann
·
|
|
horizontally scrolling table 2 messages
I have a view-based NSOutlineTable with a single column containing static text. How do I make the column resize appropriately so that the table will scroll horizontally, rather than truncating the tex
I have a view-based NSOutlineTable with a single column containing static text. How do I make the column resize appropriately so that the table will scroll horizontally, rather than truncating the tex
|
By
James Walker
·
|
|
Changing head item on a (GCD) Queue 13 messages
Hi All, I need to do some changes to a Mac Objective-C project to do the following: 1. Data is Sent to a Delegate method in a class. 2. The data is validated by this method and if ok, it needs to be p
Hi All, I need to do some changes to a Mac Objective-C project to do the following: 1. Data is Sent to a Delegate method in a class. 2. The data is validated by this method and if ok, it needs to be p
|
By
Dave
·
|
|
Getting IB_DESIGNABLE to work properly 14 messages
Hi all, I’m working on a small custom view project (Mac), and have it working generally quite well. I decided to make it IB_DESIGNABLE, and that too mostly works - I can see the view in IB rendered wi
Hi all, I’m working on a small custom view project (Mac), and have it working generally quite well. I decided to make it IB_DESIGNABLE, and that too mostly works - I can see the view in IB rendered wi
|
By
Graham Cox
·
|
|
Push notification debugging mobile profile on Apple's 2265 TN.
https://developer.apple.com/library/content/technotes/tn2265/_index.html Enabling Push Status Messages on iOS To enable logging on iOS, install the configuration profile PersistentConnectionLogging.mo
https://developer.apple.com/library/content/technotes/tn2265/_index.html Enabling Push Status Messages on iOS To enable logging on iOS, install the configuration profile PersistentConnectionLogging.mo
|
By
Alex Zavatone
·
|
|
Keyboard types on the iPad for UITextFields 4 messages
Just checking in to see if someone here knows something I don’t with regards to the available keyboard types vs. the displayed keyboard types on the iPad under iOS. Of course, the documentation here i
Just checking in to see if someone here knows something I don’t with regards to the available keyboard types vs. the displayed keyboard types on the iPad under iOS. Of course, the documentation here i
|
By
Alex Zavatone
·
|
|
macOS animation works once, then not again 4 messages
I'm probably missing something obvious here. I have an NSScrollView. Its document view is an NSImageView. At some point, I add a custom NSView subclass as a subview of the image view. This custom view
I'm probably missing something obvious here. I have an NSScrollView. Its document view is an NSImageView. At some point, I add a custom NSView subclass as a subview of the image view. This custom view
|
By
Steve Mills
·
|
|
Tootips in NSTextView/NSTextfields 4 messages
I want to display tooltips over parts of an attributed string, and thought that using an NSToolTipAttributeName attribute on the required ranges would do the trick but I can't get it to work. In my to
I want to display tooltips over parts of an attributed string, and thought that using an NSToolTipAttributeName attribute on the required ranges would do the trick but I can't get it to work. In my to
|
By
Sak Wathanasin
·
|
|
Replace object at key path in NS[Mutable]Dictionary 4 messages
HiI all, I have a dictionary that has been loaded from a plist file, which has a deep structure of dictionaries within dictionaries. I would like to modify just one key-value pair deep in that hierarc
HiI all, I have a dictionary that has been loaded from a plist file, which has a deep structure of dictionaries within dictionaries. I would like to modify just one key-value pair deep in that hierarc
|
By
Jonathan Taylor
·
|
|
Is it possible to connect different hosts on LAN with NSXPCConnection? 2 messages
Dear all, I am developing a persistent object framework (object oriented database) called the Nursery framework. https://github.com/Nursery-Framework/Nursery In that framework I am using a deprecated
Dear all, I am developing a persistent object framework (object oriented database) called the Nursery framework. https://github.com/Nursery-Framework/Nursery In that framework I am using a deprecated
|
By
Akifumi Takata
·
|
|
Showing tooltips myself
HI, Is there a way to force a tooltip to display when I want it to? I have a UI with a spring-loaded popover - it is only shown during mousedown on its host view. Tooltips on the items in the popover
HI, Is there a way to force a tooltip to display when I want it to? I have a UI with a spring-loaded popover - it is only shown during mousedown on its host view. Tooltips on the items in the popover
|
By
Graham Cox
·
|
|
Auto-Layout Question 2 messages
I would like some help building constraints that adjust a superView to the size of it's subView. Specifically, I have a UILabel embedded in a UIView. The label has fixed width and (since numberOfLines
I would like some help building constraints that adjust a superView to the size of it's subView. Specifically, I have a UILabel embedded in a UIView. The label has fixed width and (since numberOfLines
|
By
Rick Aurbach
·
|
|
problems with tab key and custom views 3 messages
I have a window with 3 views that I want to be able to switch focus between using the tab or shift-tab keys. Going by the view programming guide, it seems like I shouldn't have to do anything besides
I have a window with 3 views that I want to be able to switch focus between using the tab or shift-tab keys. Going by the view programming guide, it seems like I shouldn't have to do anything besides
|
By
James Walker
·
|
|
warning about %s in format string 3 messages
Clang has a warning option, -Wcstring-format-directive, that produces a warning "Using %s directive in NSString which is being passed as a formatting argument to the formatting method" on a line like:
Clang has a warning option, -Wcstring-format-directive, that produces a warning "Using %s directive in NSString which is being passed as a formatting argument to the formatting method" on a line like:
|
By
James Walker
·
|
|
potential leak warnings from static analyzer on window controllers 3 messages
The static analyzer gives me some warnings of possible leaks that I know aren't real leaks, but it makes me think that I may be using a bad design pattern. The situation is that I create an instance o
The static analyzer gives me some warnings of possible leaks that I know aren't real leaks, but it makes me think that I may be using a bad design pattern. The situation is that I create an instance o
|
By
James Walker
·
|
|
Launching apps on 10.13.2 12 messages
Hi all, We are getting a few reports from a couple of our more adventurous customers who are running a beta version of 10.13.2, saying that our app doesn’t launch (the App is available on the App Stor
Hi all, We are getting a few reports from a couple of our more adventurous customers who are running a beta version of 10.13.2, saying that our app doesn’t launch (the App is available on the App Stor
|
By
Graham Cox
·
|