Tagged: #GameDev

Gif animation (Swift)

Embed Gif animation? Easy! ? There are 3 easiest ways to embed an animation into a Gif application:  Download using UIImageView: ??? ???????? = ???????.???????????????? (“????”) ??? ????????? = ??????????? (?????: ????????)  Download using Data: ??? ????????? = ???? ???? (??????????: ??????.????.??? (???????????: “???????”, ?????????????: “???”)!) ??? ?????????? = ???????.???????????????? (?????????!) ??? ????????? = ??????????? (?????: ??????????)  Download via URL: ??? ?????? : ?????? = “????://???.????.???/???????.???” ??? ???????? = ???????.???????????????(??????) ??? ????????? = ???????????(?????: ????????) Cats Gif RabbiFox 2-3 easy steps and animation is built in! Supplement to the code in the document: iOSGIF.swift Swift...

Read & comments

Effect Blur (Swift)

In the standard Xcode tools, there is one very convenient thing – UIVisualEffectView. Often a blur effect is needed and to make life easier, you can use this tool. With it, you can blur any object, select a blur level and a hue. IOS Development Programming Swift tutorial RabbiFox

Read & comments

Apple emoji

?????⛄️ - Apple Emoji

Apple has banned developers from using emoji in their applications. Emoji Apple can now be used only when typing text from the keyboard, in other cases (for example, use as buttons or other elements) in the release of the application will be denied. Development Programming Swift tutorial

Read & comments

Json (Swift)

Typically, if we work with the API Social. networks, the data comes to us in the .json format and we need to work with the data contained within this document. To work with this data is very simple, in most cases the data in the document are contained in the form of arrays or dictionaries. For example, we received data in this form: let json = “” “{// the first parenthesis opens the object “data”: [// square bracket denotes an array {// and this is again an object, that is, we get an array of...

Read & comments

Share the link (Swift)

Share the link! Do you know what this phrase means? Share a link or picture, if it’s simple, then it means sharing it with someone. In this case, share a link with your friends. For such purposes, you can use the UIActivityViewController. The UIActivity object has a set of parameters excludedActivityTypes (assignToContact, print, addToReadingList …) with which you can define an object for sharing. Standard sharing implies that the user can share the specified object in any application (of course, which has this feature), which is installed on the mobile device. Swift programming tutorial RabbiFox

Read & comments