Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7883443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:32:00+00:00 2026-06-03T04:32:00+00:00

I am new to programming on MAC. I have done programming on iOS but

  • 0

I am new to programming on MAC. I have done programming on iOS but using storyboards so not very familiar with the xib format that was used earlier.

I want to achieve this very basic this that i am not able to figure out how.

  1. How to navigate to different windows ?

  2. How to set actions of the button ie: how to set a button click event or button rollover event?

  3. What is the meaning of linking a button from the interface builder to the first responder or to the Application or file owner.

  4. Do we have to set the class for each xib as we do in storyboard for iOS?

Thanks a lot .

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T04:32:02+00:00Added an answer on June 3, 2026 at 4:32 am

    How to navigate to different windows ?

    On the Mac, many windows can be visible at the same time, so you don’t navigate between them as such, you show them and hide them, perhaps bring them to the front etc. Exactly what you do depends on the situation.

    How to set actions of the button ie: how to set a button click event or button rollover event?

    You set an action for a button by control clicking the button in the xib and dragging to the controller object you want to handle it. You can then select an IBAction method to perform when the button is clicked (you must define the actions in the class’s header file first). For tracking mouse-over events, look at NSViews -addTRackingRect:owner:userData:assumeInside: method. That might help.

    What is the meaning of linking a button from the interface builder to the first responder or to the Application or file owner.

    That just determines which object gets the action message.

    Do we have to set the class for each xib as we do in storyboard for iOS?

    No. Any object can load a xib and make itself the owner

    [NSBundle loadNibNamed: @"whatever" owner: objectThatWillOwnIt];
    

    Some resources

    Apple’s Window Programming Guide

    Apple’s Sheet Programming Guide (sheets are the windows that appear attached to the top of other windows e.g. things like open and save panels.

    Cocoa Programming for Mac OS X, Aaron Hillegass (I learned Cocoa from the first edition of this book).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to Mac Programming, but i'm having some ideas for an application. My
I'm quite new to developing on the Mac, I've only done iPhone programming until
Not really a programming related question but... I'd like very much to experiment with
Apologies if this a newbish question, but I'm new to Mac programming, and thought
I am very new to mac programming. Just started before 3 days. I am
I am new to programming for Mac OS X Lion (10.7.3) using Xcode 4.2.1
Friends i am new to cocos2d programming and Mac in general! I have noticed
I'm new to the world of Mac programming. Can someone please tell me what
Let me start by saying I'm new at programming, mac osx, and bash. I'm
let's say that you in your new programming work your boss comes and says

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.