• 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: Bindings: Value With Pattern Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings: Value With Pattern Question


  • Subject: Re: Bindings: Value With Pattern Question
  • From: Dave Garaffa <email@hidden>
  • Date: Sat, 20 Dec 2003 15:56:10 -0500

On Dec 20, 2003, at 3:17 PM, mmalcolm crawford wrote:


On Dec 17, 2003, at 9:47 AM, Dave Garaffa wrote:

Does anyone know of a way to force a \n, line-break, etc into the "Display Pattern"?

*A* way: add a suitable key to one of your bindable objects:

- (NSString *)newLine
{
return @"\n";
}

and include that in the pattern...

mmalc



mmalc,

Wow, dunno why I didn't think of that! Too busy thinking unidirectional I guess... Gonna give it a try now!

Dave
_______________________________________________
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.

References: 
 >Bindings: Value With Pattern Question (From: Dave Garaffa <email@hidden>)
 >Re: Bindings: Value With Pattern Question (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: -get<Key>:range:
  • Next by Date: Re: Simple Newbie Question on Calling a Method
  • Previous by thread: Re: Bindings: Value With Pattern Question
  • Next by thread: NSCell and table selection
  • Index(es):
    • Date
    • Thread