Welcome, Guest
Username Password: Remember me

SCPropertyTypeImagePicker example
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: SCPropertyTypeImagePicker example

SCPropertyTypeImagePicker example 1 year, 8 months ago #1

Hello again, I tried adding a cell of this type but it doesn't appear.
Does the field need to be UIImage?

Can it allow for multiple image selection?


Thank you for all your help!
  • kamanova
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Karma: 3

Re: SCPropertyTypeImagePicker example 1 year, 8 months ago #2

You're welcome Karl

The bound property for an SCPropertyTypeImagePicker must be an NSString (please check documentation of SCImagePickerCell for full details on this).

As for your selection question: SCImagePickerCell uses Apple's UIImagePickerController, which does not currently offer support for multiple image selection.
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2404
  • Karma: 72

Re: SCPropertyTypeImagePicker example 1 year, 8 months ago #3

I apologize, I briefly looked in the online documentation but couldn't find it.
I have a deadline for my app on the 27th (my birthday ), otherwise I would spend more time digging around before jumping on the forums.

Anyway, I was able to get it to work using an NSString property, but I have one question and a couple observations regarding the thumbnail.

The question:
What information is supposed to be in the bound object's property?
After picking an image the property still shows as (null).


The observations:
1. After picking an image the thumbnail in the cell doesn't appear unless you scroll it out of and then back into view.
2. If the table style is UITableViewStyleGrouped, the top and bottom left corners of the thumbnail overlap the rounded corners of the cell.

Thanks again!
  • kamanova
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Karma: 3

Re: SCPropertyTypeImagePicker example 1 year, 8 months ago #4

It's not yet on the online documentation as SCImagePickerCell is still in BETA You should find it in the offline documentation and in SCTableViewCell.h . The NSString bound property will contain the name of the image that is automatically stored in the Documents folder upon selection (again this is explained in detail in the documentation).

Now regarding your questions, we are aware of both issues and are working on fixing them. This BETA version should be ready in about a week's time, do you think that's too late for you?


Happy birthday in advance!
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2404
  • Karma: 72

Re: SCPropertyTypeImagePicker example 1 year, 8 months ago #5

Oops! Didn't realize it was still a beta feature...
That explains why I couldn't find it online !

I'm sure I can postpone that feature for a bit, a week or so would be fine.

Thanks for the birthday wishes!
  • kamanova
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Karma: 3

Re: SCPropertyTypeImagePicker example 1 year, 7 months ago #6

Have you been able to make any progress on this?
  • kamanova
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Karma: 3
  • Page:
  • 1
  • 2
Time to create page: 1.67 seconds