Image as a background for an interface

Discussion in 'Mac Programming' started by Khanjan, Jul 13, 2009.

  1. Khanjan macrumors newbie

    Jun 25, 2009
    Hey all,

    I have made this interface in Objective C , which has two sections - Input Section and Output Section. The Input section allows user to see/update a configuration file, takes user input and runs a script on the input file. The Output section displays the list of output files and shows each file when the user clicks on it.

    So, I have my Input section as one view and Output Section as another view, separated by a vertical line. Both the views, rest in one main view of the window.

    Now, my problem is, I want to make this interface colorful, like put some image in the background.

    I tried to write one more class ( apart from my main controller class) for the main, used some code given at

    to display an image in the view, but its not working.

    Can anyone help me ? How do the two classes work in conjuction. The functionality still works, but no image is displayed. I try to draw a rectangle and draw a image in the Main View. Where am I going wrong?

    Thanks for all help,

  2. Khanjan thread starter macrumors newbie

    Jun 25, 2009
    Sorry guys,

    My mistake... I did not configure the view class to work with the My View... Got it working !!

    Thanks anyways :) !!


Share This Page