This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let selfWidth = Int(width) | |
let selfHeight = Int(height) | |
let selfSize = CGSize(width: selfWidth, height: selfHeight) | |
let title = advertisementTitle | |
SearchPageAdvertisementView.renderQueue.async { | |
let asyncLayer = SearchPageAdvertisementLayer() | |
asyncLayer.title = title | |
asyncLayer.drawsAsynchronously = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Бвл подписан на лесю | |
2. Зашел к ней в профайл отписался | |
3. Открыл карту - получил ответ: | |
{ | |
"users": [ | |
{ | |
"id": 9, | |
"name": "Лейсан", | |
"gender": "female", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Parse.Cloud.beforeSave("Order", function(request, response) { | |
if (!request.object.get("creatorPayedForTargetCount")) { | |
request.object.set("creatorPayedForTargetCount", 0); | |
} | |
var targetLikes = request.object.get("targetCount"); | |
var payedAmountOfLikes = request.object.get("creatorPayedForTargetCount"); | |
if (payedAmountOfLikes < targetLikes) { |