pfimageview

How can I use a PFImageView in Swift?

对着背影说爱祢 提交于 2020-01-06 19:43:10
问题 I've tried simply dragging one into my storyboard, but there all I can find is UIImageView. In my IBOutlet for the UIImageView, I changed it to a PFImageView, and I get an error saying: "Use of undeclared type: 'PFImageView'" Do PFImageViews simply not exist in swift? 回答1: You need to ensure that you have the Parse SDK installed. You also need to ensure that you import the ParseUI on the class you are using, for example: import ParseUI You can then, on your Storyboard, select a normal

Parse.com with iOS App and Objective-C code

纵然是瞬间 提交于 2019-12-08 16:25:22
问题 until recently, I've always used Parse.com for data management of my app I was now working on a new project and I have some problems .... P.S. I'm using Xcode 6 First there PFImageView , you can confirm this? at this point without consulting a PFImageView how can I draw a picture in my app? I do not understand why you can not use in my app PFImageView Also when I do a query, previously (using the enter button on the keyboard) appeared the auto-build block of the query but now I find myself

How to add another column to my class in Parse.com? (Swift)

為{幸葍}努か 提交于 2019-12-08 10:32:06
问题 I am having some difficulty adding a new column to my class in Parse. Currently I have made a class (named: Venue Data) with the name and geopoints of restaurants. I would like to add to that class a column for image which will be paired respective to the specific restaurant. I am quite stumped as to how I should go about it. Any help is greatly appreciated. 回答1: Parse allows you to add columns to a class lazily, meaning that you can add a field to your PFObject and if it is not present in

Images not appearing in PFQueryCollectionViewController

北慕城南 提交于 2019-12-05 07:01:54
问题 I'm working on an iPhone app that should display images in a UICollectionView . The images are saved on the Parse cloud, and I'm using a subclass of PFQueryCollectionViewController to make the query and display the images. Tapping on a MKMapView callout triggers the segue that shows the CollectionViewController . The images do not appear in the cells the first time the CollectionViewController is presented. However, if I go back to the MapView , and then return to the CollectionViewController

Images not appearing in PFQueryCollectionViewController

£可爱£侵袭症+ 提交于 2019-12-03 21:42:06
I'm working on an iPhone app that should display images in a UICollectionView . The images are saved on the Parse cloud, and I'm using a subclass of PFQueryCollectionViewController to make the query and display the images. Tapping on a MKMapView callout triggers the segue that shows the CollectionViewController . The images do not appear in the cells the first time the CollectionViewController is presented. However, if I go back to the MapView , and then return to the CollectionViewController , the images appear in the cells. How can I get the images to appear the first time the

Why scale to fill give bigger image than UIImageVIew size? (using swift)

北城以北 提交于 2019-12-03 04:52:31
问题 I'm trying to showing a list of place name, including it's photo using PFQueryTableViewController . It's included in ParseUI SDK from parse.com I have managed to show the image. Unfortunately, when I change the UIImageView mode to Aspect fill, the image is become bigger than it should be. here are the pictures: https://dl.dropboxusercontent.com/u/86529526/pic_normal.png https://dl.dropboxusercontent.com/u/86529526/pic_error.png in pic_normal , you will see two cell, with two normal image. in

Why scale to fill give bigger image than UIImageVIew size? (using swift)

萝らか妹 提交于 2019-12-02 18:08:45
I'm trying to showing a list of place name, including it's photo using PFQueryTableViewController . It's included in ParseUI SDK from parse.com I have managed to show the image. Unfortunately, when I change the UIImageView mode to Aspect fill, the image is become bigger than it should be. here are the pictures: https://dl.dropboxusercontent.com/u/86529526/pic_normal.png https://dl.dropboxusercontent.com/u/86529526/pic_error.png in pic_normal , you will see two cell, with two normal image. in pic_error , you will the second cell was being overlaid by the first cell image. can anyone help me to