UA-17470720-3

Jump to content


Photo
- - - - -

Auto Generated New Item and Detail View Not Respecting Type and Attributes


  • Please log in to reply
3 replies to this topic

#1 designwerks

designwerks

    Advanced Member

  • STV 5.0 Std
  • PipPipPipPipPip
  • 139 posts
  • LocationKingsville, Ontario, Canada
Reputation: 23
Excellent

Posted 25 August 2015 - 08:17 PM

Ok - sorry for all the questions...

 

I have a small issue when it comes to those new Generated New Item and Detail View Controllers in IB.

 

If I do not use them - then the type and attribute works (Image Picker etc.)

 

But, if I auto generate those Controllers in IB, those types and attributes no longer work.

 

In my screenshots you can clearly see, that the image picker works as supposed to, if I do not auto generate those viewControllers, but the second I do, I can no longer click in the Image Picker cell... I have not used any code, since this is auto generated...

 

Any ideas - am I to add some code for this to work properly?

 

John

Attached Files



#2 designwerks

designwerks

    Advanced Member

  • STV 5.0 Std
  • PipPipPipPipPip
  • 139 posts
  • LocationKingsville, Ontario, Canada
Reputation: 23
Excellent

Posted 25 August 2015 - 08:30 PM

Figured it out... my bad...

 

I have to MANUALLY CHANGE the Custom Class...

 

If your interested here are the screenshots...

 

John

Attached Files


  • Tarek likes this

#3 ozie

ozie

    ¯\_(ツ)_/¯

  • STV 5.0 Pro
  • PipPipPipPipPipPipPip
  • 515 posts
  • LocationAustralia
Reputation: 168
Popular

Posted 25 August 2015 - 11:08 PM

hmm.. if the auto builder knows it should be a imagepicker, then i wonder why the generated view didnt pick that it should be an imagepicker too??


  • Tarek likes this

P.S. I hate Swift.. don't talk Swift.. Too old school to learn yet another programming language.


#4 Tarek

Tarek

    Forum Admin

  • Administrators
  • 3670 posts
Reputation: 452
Popular

Posted 26 August 2015 - 06:37 AM

Good morning guys,

 

Yes, the custom class should be automatically set for SCImagePickerCell. I'll check it out and add it to our bug reports once replicated.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users