• 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: cocoa-dev digest, Vol 2 #3798 - 13 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cocoa-dev digest, Vol 2 #3798 - 13 msgs


  • Subject: Re: cocoa-dev digest, Vol 2 #3798 - 13 msgs
  • From: Joe Lester <email@hidden>
  • Date: Mon, 8 Mar 2004 09:12:45 -0500

I too would be very pleased if Apple would make its "Address Book Edit
View" available. You can take a look at the code I did to mimic it. It
will probably seem like a cheesy hack to more experienced programmers,
but it has been working well in my program. It needs MUCH more work
though.

JCRecordView relies heavily on its delegate and data-source to do the
work of deciding what fields should be displayed in what order, etc.

The only mandatory data-source methods are:
- (NSArray *)recordViewFieldIdentifiersForCurrentRecord:(JCRecordView
*)view;
- (id)recordView:(JCRecordView *)view
objectValueForIdentifier:(NSString *)identifier;

To load a record into the view (which messages the data-source methods)
use:
- (IBAction)loadRecord:(id)sender;

Here are the links to the source files:
http://homepage.mac.com/joe_lester/JCRecordView.h
http://homepage.mac.com/joe_lester/JCRecordView.m


> From: Andrew Kazmierski <email@hidden>
> Subject: Re: Addressbook style textfield
>
> Thanks for the clarification. I'm not missing something simple after
> all. :-\ However, I don't have time to wait until Apple releases the
> code. I'm going to look into it myself and see if I can get anywhere.
> In the mean time, if anyone can provide any assistance, it'd be greatly
> appreciated by me and, I'm sure, many others.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: AuthorizationExecuteWithPrivileges and CFpreferences issues
  • Next by Date: Re: NSEditor, NSEditorRegistration Protocols
  • Previous by thread: Re: AuthorizationExecuteWithPrivileges and CFpreferences issues
  • Next by thread: NSMutableArray morphs itself into an NSArray?
  • Index(es):
    • Date
    • Thread