moltin / ios-sdk Goto Github PK
View Code? Open in Web Editor NEWSwift SDK for the Moltin eCommerce API
Home Page: https://moltin.github.io/ios-sdk
License: MIT License
Swift SDK for the Moltin eCommerce API
Home Page: https://moltin.github.io/ios-sdk
License: MIT License
Looks like the removeItem
method is attempting to parse a Cart
object, but the response is returning [CartItem]
. Need to update the function to return this correctly.
Also worth looking into the other requests here to make sure they're correct
I followed instruction and installed the pod file to my project. I open the workspace and clean and build it. I then try to import Moltin, but "no such module" is found. I created a bridging header containing the statement: "#import <Moltin/Moltin.h>". I have the compiling settings for objective c in build settings set to the bridging header I created. I've tried several solutions, but nothing works. Help with this issue would be greatly appreciated.
The molten example app categories don't work correctly and neither does the checkout. Pretty much nothing works.
The cart api is not returning an array of product but a key value json. Shouldn't it be an array? How do you loop around products?
Would like to see support for Carthage ;)
I'm trying to update the customer object but I get this error error = "You do not have access to the (write) customers scope"; and there's no way to change the permission scope for the customer.
How can I achieve this with the iOS sdk? Should I implement the API call by myself skipping the SDK?
I'm sorry to say that the Moltin module is still not working. While version 3.0.6 fixed the problem with the import statement, the pod is still broken. Attached is a video of a clean Xcode project (seen to run successfully) and also a video of the Moltin pod added to it. After the Moltin pod is added, the import statement is read correctly but upon run the app fails to install. A quick response to this would be greatly appreciated as I'm trying my best to enjoy Moltin but there seems to be no end of problems with it.
Video 1 (Without Moltin): https://drive.google.com/file/d/1bIDsQqryrm-EGcHtumxY25-eHeTRLmdX/view?usp=sharing
Video 2 (With Moltin): https://drive.google.com/file/d/1czsb0rnhbrnE5WUe4BBM0_ngvfwI50jU/view?usp=sharing
I am trying to find a subset of Product by brand.
However, I cannot find any examples of how to query by Product.brand
.
I have tried the brand.title
& brand.ID
as the values but have been unsuccessful.
Moltin.sharedInstance().product.searchWithParameters(["brand": **?????**])
Perhaps for version 2, you should re-consider the two-letter MT prefix. Generally Cocoa apps are encouraged to use a three-letter prefix to avoid clashes with system frameworks.
"Two-letter prefixes like these are reserved by Apple for use in framework classes." from https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/Conventions/Conventions.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.