Welcome, Guest
Username Password: Remember me

SCCustomPropertyDefinition without using a .xib file
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: SCCustomPropertyDefinition without using a .xib file

SCCustomPropertyDefinition without using a .xib file 1 year, 5 months ago #1

Hi!

I was wondering if it was possible to add a SCCustomPropertyDefinition without using a .xib? The documentation seem to say so but i didn't see this in the samples (i'm using Sensible Cocoa version 2.0 beta 2). I'm trying to define this dynamically in my viewDidLoad using initWithName:withuiElement:withObjectBindings:. What exactly can we pass to the withuiElement: parameter?

Thanks!

And keep up your amazing work!
  • codebonbon
  • OFFLINE
  • Expert Boarder
  • Posts: 149
  • Karma: 8

Re: SCCustomPropertyDefinition without using a .xib file 1 year, 5 months ago #2

Hi Harold,

Sure, it's not at all necessary to use an xib file for a custom cell. Simply assign uiElement to an SCControlCell (or subclass) instance. The instance can be as simple as:

 
SCControlCell *cell = [SCControlCell cell];
 


Please tell me if you need any more help.
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2404
  • Karma: 72
  • Page:
  • 1
Time to create page: 0.63 seconds