• 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: How to copy class interface and implementation without connections to .xib file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to copy class interface and implementation without connections to .xib file


  • Subject: Re: How to copy class interface and implementation without connections to .xib file
  • From: "Richard Altenburg (Brainchild)" <email@hidden>
  • Date: Sun, 01 Jul 2012 22:54:31 +0200

Thanks for your thoughts, Charles.

No, I did not copy the .xib to a new project.

I created a new project for iOS wit one view, and created a new class in it that is to be a subclass of UIView which will contain my drawing code in drawRect. I copied code from the old project over into the new project, into the .h and .m files of the new class. It immediately showed that the outlets and actions were connected, and on inspection they were connected to the .xib in the old project. I connected them to my new .xib in my new project, but how on earth are old ones copied over to a new project is beyond me at this moment.

[[[Brainchild alloc] initWithName:@"Richard Altenburg"] saysBestRegards];

Op 1 jul. 2012, om 21:21 heeft Charles Srstka het volgende geschreven:

> ’m not sure I understand what you mean by this. Did you copy over the .xib from the other project? If so, of course it will contain all the connections from the old .xib, since it’s the same .xib. Just set up a new .xib file, or modify the old one to remove everything that doesn’t need to be there.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: How to copy class interface and implementation without connections to .xib file
      • From: Andy Lee <email@hidden>
    • Re: How to copy class interface and implementation without connections to .xib file
      • From: Jens Alfke <email@hidden>
References: 
 >How to copy class interface and implementation without connections to .xib file (From: "Richard Altenburg (Brainchild)" <email@hidden>)
 >Re: How to copy class interface and implementation without connections to .xib file (From: Charles Srstka <email@hidden>)

  • Prev by Date: Re: Base64 encoding of NSImage
  • Next by Date: Re: How to copy class interface and implementation without connections to .xib file
  • Previous by thread: Re: How to copy class interface and implementation without connections to .xib file
  • Next by thread: Re: How to copy class interface and implementation without connections to .xib file
  • Index(es):
    • Date
    • Thread