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 6827597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:17:03+00:00 2026-05-26T22:17:03+00:00

Well, first of all, I hope I stated my problem correctly. I am using

  • 0

Well, first of all, I hope I stated my problem correctly.
I am using Xcode4, but not using the default code structure.
I am aiming at creating a transparent window here. Now, it’s very easy by just adding initialization code here :

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
    // Insert code here to initialize your application
    [[self window] setAlphaValue:0.9];
    [[self window] setOpaque: NO]; 
}

But, because I change the WindowAppDelegate into this :

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
  {
    NSLog(@"delegate: init main window");
    mainWindow = [[MainWindowController alloc] initWithWindowNibName:@"MainWindow"];
    [[mainWindow window] makeKeyAndOrderFront:self];
    [[mainWindow window] setAlphaValue:0.8];
    [[mainWindow window] setTitle:@"Fool"];
  }

It won’t work. I mean the code of setAlphaValue didn’t had any effect, nor other method call such as setTitle.

I guess this is because of me didn’t wire things correctly in the NIB…
But, what is it anyway?

Thanks in advance

  • 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-05-26T22:17:03+00:00Added an answer on May 26, 2026 at 10:17 pm

    @bavarious. This is his answer “Have you connected the window outlet in File’s Owner (which should be of type MainWindowController) to the actual window? – Bavarious Oct 30 at 7:37”

    I will accept in in two days as the answer for my question.

    Thanks @bavarious!

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

Sidebar

Related Questions

Hello dearest community, First of all, I hope my intention is not missconcept. I
First of all, I'm using Rails3 with Ruby 1.9.2. I have a problem using
(First of all I don't speak english as well as I wish, I hope
Hi this is my first post here hope you all are well. So Im
Well, first of all sorry about this question it must be pretty straight forward
well this is my problem i use 2 source first query (select * from
Well, I'm trying to make a graphical game for the first time, but: BufferedImage
Well, I've started with iPod/iPhone programming using Head First iPhone Development (O'reilly) and I'm
this is my first question here so I hope I can articulate it well
This is my first post on the forum, hope all of you guys are

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.