I’m struggling to connect a NSSegmentedControl up in interface builder, i was just wondering if i was missing something or its just something i would have to write in code to make it work.
Its a 2 Segment button with a plus and a minus just for adding and deleting, i can connect one up like a normal button but i can’t connect the other one up without it deleting the other connection.
it may have several segments, but it only has one action. From the docs: " When any segment in the control is clicked, the action message is sent to the target”unless the segment is disabled or has a menu. You can determine which segment was clicked by finding the tag for the selected segment". And: “Note that the cell’s selectedSegment method returns the segment that was last clicked.”