Comments (2)
This sounds about right...
I think the problem comes down to a fact that the code for both platforms is cross-platform, and not split per iOS/OSX.
I am slightly rusty on OS X AppKit, but as far as I can see - [[NSImage alloc] initWithData:imageData]
should already unblock people from doing other things, like up/down scaling for drawing.
Would love to hear your thoughts and review any Pull Request to make this documentation better.
from docs.
I have to admit I was stupid and forgot to quote the actual problematic part:
let imageData = UIImagePNGRepresentation(image)
let imageFile = PFFile(name:"image.png", data:imageData)
As you noted, the re-constructing from data is easy, but the creation of the png data is not.
Both code samples are incorrect though.
from docs.
Related Issues (20)
- π Change block codes format to jsonc
- π Fix json example HOT 1
- π Navigation links in the API page are broken HOT 5
- π Wrong link to the API Reference in JavaScript block HOT 1
- π Improving Parse Server AWS guide
- π Refurbishment of Python code examples HOT 3
- Endpoint `loginAs` is falsely documented to require GET request HOT 6
- Remove forms that request sensitive information
- Parse Server Option `enforcePrivateUsers` not documented HOT 3
- π Remove reference to `{ usePost: true }` option in login documentation
- π Examples section with end to end tutorial HOT 6
- π How to use Defined Schema on existing Parse Server installation
- Update to PS6 π
- Create Rate Limit docsπ
- Create auth adapter docs
- Fix docs page HOT 6
- Documentation HOT 2
- π
- πProvide information on using Facebook's Limited Token
- π Missing examples throughout the docs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.