UA-17470720-3

Jump to content


Photo
- - - - -

AccesoryView in DetailTableView

cells view-controllers

  • Please log in to reply
27 replies to this topic

#21 David DelMonte

David DelMonte

    Forum Master

  • STV 4.0 Pro
  • PipPipPipPipPipPipPip
  • 527 posts
Reputation: 41
Excellent

Posted 19 February 2015 - 03:12 PM

Let me know if I should report this to Apple..



#22 David DelMonte

David DelMonte

    Forum Master

  • STV 4.0 Pro
  • PipPipPipPipPipPipPip
  • 527 posts
Reputation: 41
Excellent

Posted 30 March 2015 - 05:56 PM

Sorry, been a bit preoccupied with life :)  I appreciate your investigation. I'll try this on a device, and let you know.


  • wizgod likes this

#23 David DelMonte

David DelMonte

    Forum Master

  • STV 4.0 Pro
  • PipPipPipPipPipPipPip
  • 527 posts
Reputation: 41
Excellent

Posted 31 March 2015 - 06:36 AM

OK. So on an iPad device, I get the same result. I cannot change / style any accessory. Also, I cannot remove it . So, same results on a device and on the sim -- and both, only on iPad -- iPhone is ok.

 

I knocked up a simple non-STV core data app, and in both the sim, and on a device, I can change/style/remove the accessory as I would expect.

 

So, I think this is an STV problem -- although, I'm happy to try something else.

 

I really like the roadmap you have defined so don't make this a high priority on my account. 



#24 Tarek

Tarek

    Forum Admin

  • Administrators
  • 3670 posts
Reputation: 452
Popular

Posted 31 March 2015 - 07:16 AM

Thank you very much David, that's actually a really good starting point! Would you please attach the sample here?


  • David DelMonte likes this

#25 David DelMonte

David DelMonte

    Forum Master

  • STV 4.0 Pro
  • PipPipPipPipPipPipPip
  • 527 posts
Reputation: 41
Excellent

Posted 31 March 2015 - 11:00 AM

sure.. attached is my knockup....

Attached Files


  • Tarek likes this

#26 Tarek

Tarek

    Forum Admin

  • Administrators
  • 3670 posts
Reputation: 452
Popular

Posted 01 April 2015 - 07:55 AM

Thank you David :)


  • David DelMonte likes this

#27 wizgod

wizgod

    I'm what you guys call a User

  • STV 5.0 Pro
  • PipPipPipPipPipPipPip
  • 575 posts
  • LocationThe Grid
Reputation: 149
Popular

Posted 20 April 2015 - 08:35 PM

Greetings Programs!

 

Is there a resolution to this? I also have a custom nib for an SCArrayOfObjectsCell that I want to remove the accessory type for as well.

 

I tried pretty much the same as David...

 

var oCell = cell as! SCArrayOfObjectsCell

oCell.accessoryType = .None
oCell.editingAccessoryType = .None
oCell.accessoryView = .None
oCell.editingAccessoryView = .None

 

Wg


P.S. I love Swift... talk Swift.. Never too old school to learn yet another programming language. LOL! ;-)


#28 Tarek

Tarek

    Forum Admin

  • Administrators
  • 3670 posts
Reputation: 452
Popular

Posted 27 April 2015 - 08:27 AM

For removing the cell's own accessory:

 

oCell.cellActions.willDisplay =
{
    (cell, indexPath) in

    cell.accessoryType = .None
}






Also tagged with one or more of these keywords: cells, view-controllers

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users