User Defaults Swift

I have hint view (tooltip). And I want it display in my app 1 time per download app. When user downloading app this tooltip is showing and then dismiss. When user delete app and again downloading tooltip should work again. let options: AMTooltipViewOptions = .init(textColor: Color.guideSubTitle, textBoxBackgroundColor: Color.guideScreenBackground, textBoxCornerRadius: 8, lineColor: Color.guideScreenBackground, lineHeight: 15, dotSize:…

Details

How to fetch json data and separate it based on a Parameter?

I have a json object here – { “error”: “0”, “message”: “Got it!”, “data”: [ { “status”: false, “_id”: “5e2fbb74d465702288c54038”, “group_id”: “5e0d9e993944e46ed9a86d95”, “date”: “2020-01-28T00:00:00.000Z”, “title”: “cciigcigc”, “priority”: 3, “description”: “”, “tasks”: [], “created_date”: “2020-01-28T04:41:24.576Z”, “__v”: 0 } ] } I want to fetch it based on the [“data”][“status”] parameter; if the status is false, return…

Details