Yet another way to make connections in Interface Builder (IB)

Cocoa, General

Some of IB’s features aren’t readily apparent.

Most people know about the mode to switch from icon to text by clicking the icon in the lower right hand section seen in this image:

Bild 5

But, when you are in that mode, did you know you can make connections with the normal ctrl-drag?

Makingconnectionsinib

Cool, huh! This can give you fine-grained control when it is sometimes hard to select certain items.

Previous Post
no_thumbnail
Tiger and the dictionary is a keyboard shortcut away
Next Post
no_thumbnail
My Louisie is gone...

1
Leave a Reply

avatar
500
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
warren Recent comment authors
  Subscribe  
Notify of
warren
Guest
warren

Until I found that mode, it drove me crazy trying to connect a dataSource delegate from an NSTableView to my App Controller object instance in IB. I think the IB guys should override the ctrl-click handling, so that you can’t accidentally select the NSScrollView. That’s a frigging weirdo user interface if I ever saw one (drop an NSTableView onto your app, then try to drag from what you thought was one object, and find out it’s actually a couple embedded objects inside each other. totally weirded me out.)

Warren

As an Amazon Associate I earn from qualifying purchases.

(c) 2008-2019 Corbin Dunn

Privacy Policy

Subscribe to RSS feeds for entries.

77 queries. 0.456 seconds.

Log in