Re: MultiBinding

2013-10-29 Thread jonat...@mugginsoft.com
On 28 Oct 2013, at 20:35, jonat...@mugginsoft.com wrote: > On 28 Oct 2013, at 17:52, Gerd Knops wrote: > >> In Interface Builder text fields you can use "Value with Pattern" to combine >> multiple properties into a single output. Alternatively in code you can do >> something like this: >> >>

Re: MultiBinding

2013-10-28 Thread jonat...@mugginsoft.com
On 28 Oct 2013, at 17:52, Gerd Knops wrote: > In Interface Builder text fields you can use "Value with Pattern" to combine > multiple properties into a single output. Alternatively in code you can do > something like this: > > - (NSString *)fullName { > > return [NSString stringWi

Re: MultiBinding

2013-10-28 Thread Gerd Knops
tName,self.firstName]; } + (NSSet *)keyPathsForValuesAffectingFullName { return [NSSet setWithObjects:@"lastName",@"firstName",nil]; } Gerd On Oct 28, 2013, at 11:41 AM, jonat...@mugginsoft.com wrote: > Has anyone any suggestions for how to implement somet

MultiBinding

2013-10-28 Thread jonat...@mugginsoft.com
Has anyone any suggestions for how to implement something similar to XAMLs MultiBinding class? Essentially this enables multiple bindings to be combined through a transformer to produce the final view output. http://msdn.microsoft.com/en-us/library/system.windows.data.multibinding.aspx