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

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


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

(You may reply in Caps Lock if this question is too noobish for this list)

I wrote an experimental project for Mac OS X. It uses a custom NSView and some user interface controls connected to the view's class in Interface Builder.

I want to do about the same project for iOS, so I started a new project in Xcode 4.3.3 and created a new class which will be a custom UIView. I copied most of the code from the Mac OS X version into the interface and implementation of the new class in the new project. Unfortunately the connections with the .xib from the other project are still there, which is obviously not what I want. I just want to connect the IBOutlets and IBActions to the .xib in my new iOS project.

What did I do wrong? And how did all those books I read not make me smart enough to figure this out on my own? I must be getting old...


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

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: Charles Srstka <email@hidden>
  • Prev by Date: Re: Base64 encoding of NSImage
  • Next by Date: Re: Base64 encoding of NSImage
  • Previous by thread: Re: Base64 encoding of NSImage
  • Next by thread: Re: How to copy class interface and implementation without connections to .xib file
  • Index(es):
    • Date
    • Thread