• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Having Image PICT NIB problem ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Having Image PICT NIB problem ?


  • Subject: Re: Having Image PICT NIB problem ?
  • From: Adin Hunter Baber <email@hidden>
  • Date: Mon, 17 Oct 2005 14:07:03 -0500


On 2005 Oct 17, at 9:20 AM, Denis @ TheOffice wrote:

Hi,

I am pretty much new in the Mac programming. There are still much concept I do not grasp jut yet.

One of them is the Nib vs. RSRC thing. I choose the Nib because I liked the editor and it seems the
way to go in the future.


I want to place icons and image in my dialogs.

I don't see how to do that with Nib.

I bought the book learning Carbon tried the suggested way which was to place the image (rsrc) in the
project.
It didn't work. Is there another way?
Besides what about icons?


Before you add the rsrc image into your project, you need to add the Copy Bundle Resources Build Phase to your project.

Menu item: Project->New Build Phase->New Copy Bundle Resources Build Phase

If you have already added the pict resource, remove it, add the build phase, and then re-add the pict resource.


Another question that popped in my mind. Does functions like "GetPicture (cPictureResID);" works with Nib?


According to the docs, GetPicture() has been deprecated. (Plus, you don't need it after you do the above step).


Can I have Nibs and RSRC together in the same project?
Would ID conflict ?


You may have them together in the same project. I am guessing that you would have to make sure that they don't conflict. Would anyone with more knowledge chime in here?


I have so many questions and I don't know where to look for answers.


This appears to be the place to ask ;-)

Sadly, there does seem to be a dearth of Mac Programming on the web.


Adin Hunter Baber email@hidden



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Having Image PICT NIB problem ? (From: "Denis @ TheOffice" <email@hidden>)

  • Prev by Date: Creationg a stand-alone resource file
  • Next by Date: Re: Source trees don't work any more
  • Previous by thread: Re: Having Image PICT NIB problem ?
  • Next by thread: Re: Having Image PICT NIB problem ?
  • Index(es):
    • Date
    • Thread