Results 1 to 2 of 2
  1. #1
    Adding a fullscreen window from another project and customising

    Member Since
    Feb 24, 2007
    Posts
    100
    Adding a fullscreen window from another project and customising
    Hi

    I have limited experience of Xcode and would like to add a window that resizes to fullscreen to my Cocoa application. I came across the following webpage which explains how to design just the kind of window I am looking for and has a downloadable project which just consists of the resizable window:

    Cocoa with Love: Animating a window to fullscreen on the Mac

    At the end of the article it states that "The whole code is one method in the sample app an easy copy and paste into any application" but I am still not sure exactly what I need to copy and paste to get the window in my new project.

    Also I am trying to work out how to add the following features:

    1. set the colour of the background to black
    2. set the window to go fullscreen when it is double-clicked
    3. add a close button to the window so that it can be closed (it will not be the main window of my application).

    Any help to get this working would be appreciated.

    Thanks

    Nick
    OS X 10.5.7
    Mac Pro
    2 x 3 GHz Dual-Core Intel Xeon
    8 GB RAM

  2. #2
    Adding a fullscreen window from another project and customising
    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    Did you download the project which there are two links on that page for it. The first sentence under the Conclusion heading has the link.

    1. See listing 4.4 in this Apple documentation.

    2. In that document is the heading "Responding to User Events and Actions". I think that is where you want to start to capture double clicks. Look at the loop code in one of the samples. You like will still have to search for an online explanation.

    3. Drag a Round Button to the view in Interface Builder and learn how to alter the color and perhaps other needed attributes. If you look at the inheritance, you'll see that button is a view.
    CameraTime - Time lapse photography for novice and advanced users.

    When asking questions, post the version of your software. You'll receive better answers.

    Please post your results to the thread as it is good feedback.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. iMovie 9 : Clips not playing at Edit Project Timeline window.
    By HelpIMovie9 in forum OS X - Apps and Games
    Replies: 1
    Last Post: 10-14-2012, 06:07 PM
  2. Customising my Mac
    By Thebutchersboy in forum Switcher Hangout
    Replies: 2
    Last Post: 09-04-2012, 12:26 AM
  3. Customising HUD Window
    By nick_harambee in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 10-08-2010, 05:34 AM
  4. Replies: 2
    Last Post: 10-02-2009, 11:35 AM
  5. customising desktop?
    By djflair1 in forum Switcher Hangout
    Replies: 1
    Last Post: 02-20-2008, 09:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •