Relative Content

Tag Archive for iosswiftiphone

Do you have to pay to make an app for iPhones?

so I’m a primarily game developer, but recently I have been assigned a task to make an app for me and my mom for our Disney world vacation. I have slightly looked it up, but no results. Is there any way to test the app(or just use it) without having to pay and or put it on the App Store?? I have the money but I don’t know if I want to pay for it. If anyone can help that would be nice

Do you have to pay to make an app for iPhones?

so I’m a primarily game developer, but recently I have been assigned a task to make an app for me and my mom for our Disney world vacation. I have slightly looked it up, but no results. Is there any way to test the app(or just use it) without having to pay and or put it on the App Store?? I have the money but I don’t know if I want to pay for it. If anyone can help that would be nice

Gradient layer on UiView

I am trying to provide gradient layer to the View on created XIB. I have to give gradient colors with combination of 5 colors. But unfortunately gradient is not working.

Need alternative solution of IMEI in swift

I have been researching the issue of IMEI binding in Swift. The solution I found was to use UUID. However, due to privacy concerns, Apple had to remove access to the device’s UUID.

Parsing issue in swift

Recently, I am facing issue in parsing the josn into the model class.
{"status":true,"data":[{"id":"252","user_id":"8004","currency_iso_code":"INR","currency_symbol":"u20b9","country_id":"3","product_id":"5","product_name":"Sun Remedy (afflicted Sun Pooja","product_price":"1200.00","service_category_id":"8","service_category_name":"Puja Homam","image_name":"https://testing.com/writeable/uploads/20230809132517_item_service.jpg","quantity":"3","total_amount":"3600.00","rating":"4","item_price_id":"114"}],"total_price_amount":"3600.00","final_price_amount":"4248.00","count":"1","gst_data":[{"name":"igst","value":"648.00"}],"gst_percent":"18.00","gst_amount":"648.00","message":"API Accessed Successfully!"}
For the above json response I have created this model class
struct CartItem: Codable {
let id: String
let user_id: String
let currency_iso_code: String
let currency_symbol: String
let country_id: String
let product_id: String
let product_name: String
let product_price: String
let service_category_id: String
let service_category_name: String
let image_name: String
let quantity: String
let total_amount: String
let rating: String
let item_price_id: String
}