{"id":37569,"date":"2019-10-31T22:18:22","date_gmt":"2019-10-31T19:18:22","guid":{"rendered":"https:\/\/prohoster.info\/blog\/yazyk-programmirovaniya-swift-na-raspberry-pi\/"},"modified":"2019-10-31T22:18:22","modified_gmt":"2019-10-31T19:18:22","slug":"yazyk-programmirovaniya-swift-na-raspberry-pi","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/news\/yazyk-programmirovaniya-swift-na-raspberry-pi","title":{"rendered":"Gjuha e programimit Swift n\u00eb Raspberry Pi","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" alt=\"Gjuha e programimit Swift n\u00eb Raspberry Pi\" src=\"\/wp-content\/uploads\/2019\/08\/74066769b8703e5580c3e7743a6481d9.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<i>Raspberry PI 3 Model B+<\/i><\/p>\n<p>N\u00eb k\u00ebt\u00eb manual, ne do t\u00eb diskutojm\u00eb baza t\u00eb p\u00ebrdorimit t\u00eb Swift n\u00eb Raspberry Pi. Raspberry Pi \u00ebsht\u00eb nj\u00eb kompjuter i vog\u00ebl dhe i p\u00ebrballuesh\u00ebm, potenciali i t\u00eb cilit \u00ebsht\u00eb i kufizuar vet\u00ebm nga burimet e tij llogarit\u00ebse. Ai \u00ebsht\u00eb mir\u00eb i njohur p\u00ebr teknik\u00ebt dhe entuziast\u00ebt e DIY. \u00cbsht\u00eb nj\u00eb pajisje e shk\u00eblqyer p\u00ebr ata q\u00eb duan t\u00eb eksperimentohet me nj\u00eb ide ose t\u00eb testojn\u00eb nj\u00eb koncept t\u00eb caktuar n\u00eb praktik\u00eb. P\u00ebrdoret p\u00ebr projekte t\u00eb ndryshme dhe d\u00ebrgohet leht\u00ebsisht pothuajse n\u00eb \u00e7do vend \u2014 p\u00ebr shembull, mund t\u00eb montoni n\u00eb kapakun e monitorit dhe ta p\u00ebrdorni si desktop, ose ta lidhni me nj\u00eb tabel\u00eb provuese p\u00ebr t\u00eb menaxhuar nj\u00eb skem\u00eb elektronike.<\/p>\n<p>Gjuha zyrtare e programimit t\u00eb \u00abmalin\u00ebs\u00bb \u00ebsht\u00eb Python. Edhe pse Python \u00ebsht\u00eb mjaft i leht\u00eb p\u00ebr t'u p\u00ebrdorur, i mungon siguria e tipit dhe konsumon shum\u00eb memorie. Swift, nga ana tjet\u00ebr, ka menaxhimin e memories ARC dhe \u00ebsht\u00eb pothuajse 8 her\u00eb m\u00eb i shpejt\u00eb se Python. Dhe meqen\u00ebse kapaciteti i RAM dhe mund\u00ebsit\u00eb llogarit\u00ebse t\u00eb procesorit t\u00eb Raspberry Pi jan\u00eb t\u00eb kufizuara, p\u00ebrdorimi i nj\u00eb gjuhe si Swift lejon maksimalizimin e potencialit t\u00eb k\u00ebtij mini-PC. <br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex> <\/p>\n<h3>Instalimi i OS<\/h3>\n<p>\nPara se t\u00eb instaloni Swift, duhet t\u00eb zgjidhni OS. P\u00ebr k\u00ebt\u00eb, mund t\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/www.raspberrypi.org\/downloads\/\">p\u00ebrdorni nj\u00eb nga opsionet<\/a><\/noindex>, t\u00eb ofruara nga zhvillues t\u00eb jasht\u00ebm. Zgjedhja m\u00eb e zakonshme \u00ebsht\u00eb Raspbian, OS zyrtare nga Raspberry Pi. Ka disa mund\u00ebsi p\u00ebr t\u00eb instaluar Raspbian n\u00eb kartel\u00ebn SD; n\u00eb rastin ton\u00eb, ne do t\u00eb p\u00ebrdorim balenaEtcher. K\u00ebtu \u00ebsht\u00eb \u00e7far\u00eb duhet t\u00eb b\u00ebni:<\/p>\n<ul>\n<li>Shkarkoni versionin m\u00eb t\u00eb fundit t\u00eb Raspbian OS <noindex><a rel=\"nofollow\" href=\"https:\/\/downloads.raspberrypi.org\/raspbian_latest\">k\u00ebtu<\/a><\/noindex>.<\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/www.admfactory.com\/how-to-format-usb-flash-drive-to-fat32-in-mac-os\/\">Formato kartel\u00ebn SD n\u00eb FAT duke p\u00ebrdorur Disk Utility<\/a><\/noindex>.<\/li>\n<li>P\u00ebrdorni <noindex><a rel=\"nofollow\" href=\"https:\/\/www.balena.io\/etcher\/\">balenaEtcher<\/a><\/noindex> p\u00ebr t\u00eb ngarkuar n\u00eb kartel\u00ebn e formatuar.<\/li>\n<\/ul>\n<p>\n<img decoding=\"async\" alt=\"Gjuha e programimit Swift n\u00eb Raspberry Pi\" src=\"\/wp-content\/uploads\/2019\/08\/dd0c0a822edee69d6d5c11f6fc1f0dfb.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<i>Hapi i dyt\u00eb: formato kartel\u00ebn SD n\u00eb MS-DOS (FAT)<\/i><\/p>\n<p><img decoding=\"async\" alt=\"Gjuha e programimit Swift n\u00eb Raspberry Pi\" src=\"\/wp-content\/uploads\/2019\/08\/6d256c2aeab9e031f6ba636ab89507c7.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<i>Hapi i tret\u00eb: p\u00ebrdorni balenaEtcher p\u00ebr t\u00eb ngarkuar Raspbian n\u00eb kart\u00ebn<\/i><\/p>\n<blockquote><p><b>Kemi rekomanduar nj\u00eb intensiv falas mbi m\u00ebsimin e makinerive p\u00ebr fillestar\u00ebt:<\/b><br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/webinar.skillbox.ru\/data-science-intensive\/?utm_source=habr-com&amp;utm_medium=banners&amp;utm_campaign=all_all_habr-com_banners_banners_intensive-11_all_code_skillbox&amp;utm_content=2019-08-29\">Shkruani modelin e par\u00eb t\u00eb m\u00ebsimit t\u00eb makinerive p\u00ebr tre dit\u00eb<\/a><\/noindex> \u2014 2-4 Shtator. <i>Nj\u00eb intensiv falas q\u00eb lejon t\u00eb kuptoni se \u00e7far\u00eb \u00ebsht\u00eb Machine Learning dhe t\u00eb m\u00ebsoni si t\u00eb punoni me t\u00eb dh\u00ebna t\u00eb hapura nga interneti. Po ashtu, m\u00ebsojm\u00eb t\u00eb parashikojm\u00eb kursin e dollarit p\u00ebrmes nj\u00eb modeli t\u00eb zhvilluar nga vet\u00eb.<\/i>.\n<\/p><\/blockquote>\n<h3>Konfigurimi i Raspberry Pi<\/h3>\n<p>\nGati gjysma e rrug\u00ebs \u00ebsht\u00eb kaluar! Tani kemi nj\u00eb kartel\u00eb SD me OS q\u00eb do t\u00eb p\u00ebrdorim, por ende duhet t\u00eb instalojm\u00eb sistemin operativ. Ka dy mund\u00ebsi p\u00ebr k\u00ebt\u00eb:<\/p>\n<ul>\n<li>P\u00ebrdorni monitorin, tastier\u00ebn dhe miun t\u00eb lidhura me pajisjen.<\/li>\n<li>B\u00ebni gjith\u00e7ka nga nj\u00eb PC tjet\u00ebr p\u00ebrmes SSH ose duke p\u00ebrdorur nj\u00eb kabllo USB Console.<\/li>\n<\/ul>\n<p>\nN\u00ebse ky \u00ebsht\u00eb p\u00ebrvoja juaj e par\u00eb me Pi, rekomandoj opsionin e par\u00eb. Pas vendosjes s\u00eb kart\u00ebs SD me Raspbian OS n\u00eb Pi, lidhni kabllon HDMI, miun, tastier\u00ebn dhe kabllon e energjis\u00eb.<\/p>\n<p>Pi duhet t\u00eb ngarkohet kur ta ndizni. Urime! Tani mund t\u00eb kaloni pak koh\u00eb duke eksploruar desktop-in tuaj dhe funksionalitetet e tij.<\/p>\n<p><img decoding=\"async\" alt=\"Gjuha e programimit Swift n\u00eb Raspberry Pi\" src=\"\/wp-content\/uploads\/2019\/08\/d1691be44fc7aec778e2a17b39edcb3f.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <\/p>\n<h3>Instalimi i Swift<\/h3>\n<p>\nP\u00ebr t\u00eb instaluar Swift n\u00eb 'malinka', duhet ta lidhni at\u00eb me internetin (n\u00ebp\u00ebrmjet Ethernet ose WiFi, n\u00eb var\u00ebsi t\u00eb modelit t\u00eb bordit). Sa her\u00eb q\u00eb interneti \u00ebsht\u00eb i lidhur, mund t\u00eb filloni instalimin e Swift.<\/p>\n<p>Ajo mund t\u00eb realizohet n\u00eb dy m\u00ebnyra. E para \u2014 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/uraimo\/buildSwiftOnARM#building-on-arm\">krijimi i nj\u00eb build-i t\u00eb Swift vet\u00eb<\/a><\/noindex>, e dyta \u2014 p\u00ebrdorimi i binar\u00ebve t\u00eb p\u00ebrpiluar tashm\u00eb. Un\u00eb rekomandoj q\u00eb t\u00eb p\u00ebrdorni m\u00ebnyr\u00ebn e dyt\u00eb, pasi e para do t\u00eb k\u00ebrkonte disa dit\u00eb p\u00ebrgatitje. M\u00ebnyra e dyt\u00eb erdhi fal\u00eb grupit <noindex><a rel=\"nofollow\" href=\"https:\/\/swift-arm.com\">Swift-ARM<\/a><\/noindex>. Ata jan\u00eb pronar\u00ebt e repo-s, nga e cila mund t\u00eb instaloni Swift, duke p\u00ebrdorur apt (<noindex><a rel=\"nofollow\" href=\"https:\/\/help.ubuntu.com\/lts\/serverguide\/apt.html\"><strong>A<\/strong>dvanced <strong>P<\/strong>ackage <strong>T<\/strong>ool<\/a><\/noindex>).<\/p>\n<p>Ky \u00ebsht\u00eb nj\u00eb mjet komande, di\u00e7ka si App Store p\u00ebr aplikacionet dhe paketat p\u00ebr pajisje me Linux. Puna me apt fillon duke futur n\u00eb terminal apt-get. M\u00eb pas, duhet t\u00eb tregoni nj\u00eb s\u00ebr\u00eb komandash q\u00eb do t\u00eb sakt\u00ebsojn\u00eb detyr\u00ebn q\u00eb po kryhet. N\u00eb rastin ton\u00eb, na nevojitet t\u00eb instalojm\u00eb Swift 5.0.2. Paketat p\u00ebrkat\u00ebse mund t\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/packagecloud.io\/swift-arm\/release\">gjejm\u00eb k\u00ebtu<\/a><\/noindex>.<\/p>\n<p>Noa, le t\u00eb fillojm\u00eb. Tani, kur e dim\u00eb se do t\u00eb instalojm\u00eb Swift duke p\u00ebrdorur apt, duhet t\u00eb shtojm\u00eb repo-n n\u00eb list\u00ebn e repove.<\/p>\n<p>Komanda p\u00ebr shtimin \/ instalimin e repo-s <noindex><a rel=\"nofollow\" href=\"https:\/\/swift-arm.com\">swift-arm<\/a><\/noindex> duhet t\u00eb duket k\u00ebshtu:<\/p>\n<pre><code class=\"plaintext\">curl -s  | sudo bash<\/code><\/pre>\n<p>\n<img decoding=\"async\" alt=\"Gjuha e programimit Swift n\u00eb Raspberry Pi\" src=\"\/wp-content\/uploads\/2019\/08\/f5c42400a4679d7910545b2da5ca16b4.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nM\u00eb pas, instalojm\u00eb Swift nga repo-ja e shtuar:<\/p>\n<pre><code class=\"plaintext\">sudo apt-get install swift5=5.0.2-v0.4<\/code><\/pre>\n<p>\n<img decoding=\"async\" alt=\"Gjuha e programimit Swift n\u00eb Raspberry Pi\" src=\"\/wp-content\/uploads\/2019\/08\/5b575739ad368f5be7479c517e8d598a.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nK\u00ebtu kemi! Tani Swift \u00ebsht\u00eb instaluar n\u00eb 'malinka' ton\u00eb.<\/p>\n<h3>Krijimi i nj\u00eb projekti testues<\/h3>\n<p>\nAktualisht <noindex><a rel=\"nofollow\" href=\"https:\/\/www.techrepublic.com\/article\/pro-tip-using-apples-swift-repl-from-the-terminal\/\">Swift REPL<\/a><\/noindex> nuk funksionon, por gjith\u00e7ka tjet\u00ebr po. P\u00ebr test, le t\u00eb krijojm\u00eb nj\u00eb paket\u00eb Swift duke p\u00ebrdorur Menaxherin e Paketave Swift.<\/p>\n<p>S\u00eb pari krijoni nj\u00eb direktori me emrin MyFirstProject.<\/p>\n<pre><code class=\"plaintext\">mkdir MyFirstProject<\/code><\/pre>\n<p>\n<img decoding=\"async\" alt=\"Gjuha e programimit Swift n\u00eb Raspberry Pi\" src=\"\/wp-content\/uploads\/2019\/08\/07c8bf535812d1fa43cb61cfeeeeb544.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nM\u00eb pas ndryshoni direktorin\u00eb e pun\u00ebs aktuale n\u00eb MyFirstProject q\u00eb e krijuat rishtazi.<\/p>\n<pre><code class=\"plaintext\">cd MyFirstProject<\/code><\/pre>\n<p>\n<img decoding=\"async\" alt=\"Gjuha e programimit Swift n\u00eb Raspberry Pi\" src=\"\/wp-content\/uploads\/2019\/08\/b2ff73dfb2dc5d65268a057609cf4d54.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nKrijoni nj\u00eb paket\u00eb t\u00eb re ekzekutueshm\u00ebrisht Swift.<\/p>\n<pre><code class=\"plaintext\">swift package init --type=executable<\/code><\/pre>\n<p>\n<img decoding=\"async\" alt=\"Gjuha e programimit Swift n\u00eb Raspberry Pi\" src=\"\/wp-content\/uploads\/2019\/08\/d93e6a1eff4c958f3b57861815d69258.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nK\u00ebto tri rreshta krijojn\u00eb nj\u00eb paket\u00eb t\u00eb zbraz\u00ebt Swift, e cila quhet MyFirstProject. P\u00ebr ta ekzekutuar, shkruani komand\u00ebn swift run.<\/p>\n<p><img decoding=\"async\" alt=\"Gjuha e programimit Swift n\u00eb Raspberry Pi\" src=\"\/wp-content\/uploads\/2019\/08\/25a195442369d0d3218e4a3ef88e34b3.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nSa her\u00eb q\u00eb kompilimi t\u00eb p\u00ebrfundoj\u00eb, do t\u00eb shohim fraz\u00ebn \"Hello, world!\" n\u00eb terminal.<\/p>\n<p>Pasi krijuam program\u00ebn ton\u00eb t\u00eb par\u00eb n\u00eb Pi, le t\u00eb b\u00ebjm\u00eb disa ndryshime. N\u00eb drejtorin\u00eb MyFirstProject, do t\u00eb b\u00ebjm\u00eb ndryshime n\u00eb skedarin main.swift. Aty ndodhet kodi q\u00eb ekzekutohet kur startojm\u00eb paket\u00ebn me komand\u00ebn swift run.<\/p>\n<p>Ndryshojm\u00eb drejtorin\u00eb n\u00eb Sources\/MyFirstProject.<\/p>\n<pre><code class=\"plaintext\">cd Sources\/MyFirstProject <\/code><\/pre>\n<p>\n<img decoding=\"async\" alt=\"Gjuha e programimit Swift n\u00eb Raspberry Pi\" src=\"\/wp-content\/uploads\/2019\/08\/b80855c0f8510016fb6afbd714741d48.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nEdytojm\u00eb skedarin main.swift duke p\u00ebrdorur <noindex><a rel=\"nofollow\" href=\"https:\/\/www.nano-editor.org\/\">edituesin nano<\/a><\/noindex>.<\/p>\n<pre><code class=\"plaintext\">nano main.swift<\/code><\/pre>\n<p>\n<img decoding=\"async\" alt=\"Gjuha e programimit Swift n\u00eb Raspberry Pi\" src=\"\/wp-content\/uploads\/2019\/08\/7f8e8c5884d50146058004975632a1c6.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nSa her\u00eb q\u00eb editori hapet, do t\u00eb jeni n\u00eb gjendje t\u00eb ndryshoni kodin e programit tuaj. Le t\u00eb z\u00ebvend\u00ebsojm\u00eb p\u00ebrmbajtjen e skedarit main.swift me k\u00ebt\u00eb:<\/p>\n<p><img decoding=\"async\" alt=\"Gjuha e programimit Swift n\u00eb Raspberry Pi\" src=\"\/wp-content\/uploads\/2019\/08\/45d6abbbc9d2752282452a13c687d548.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <\/p>\n<pre><code class=\"plaintext\">print(\"Hello, Marc!\")<\/code><\/pre>\n<p>\nNatyrisht, mund t\u00eb vendosni emrin tuaj. P\u00ebr t\u00eb ruajtur ndryshimet, duhet t\u00eb kryeni k\u00ebto hapa:<\/p>\n<ul>\n<li>CTRL+X p\u00ebr t\u00eb ruajtur skedarin.<\/li>\n<li>Konfirmojm\u00eb ndryshimet duke shtypur \"Y\".<\/li>\n<li>Konfirmojm\u00eb ndryshimin n\u00eb skedarin main.swift duke shtypur Enter.<\/li>\n<\/ul>\n<p>\n<img decoding=\"async\" alt=\"Gjuha e programimit Swift n\u00eb Raspberry Pi\" src=\"\/wp-content\/uploads\/2019\/08\/e75a50954edd0391925dc809fa82811a.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\n<img decoding=\"async\" alt=\"Gjuha e programimit Swift n\u00eb Raspberry Pi\" src=\"\/wp-content\/uploads\/2019\/08\/f1c3ee1d56e79fd8ba5f471ff3a0815d.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nT\u00eb gjitha ndryshimet jan\u00eb b\u00ebr\u00eb, tani \u00ebsht\u00eb koha p\u00ebr t\u00eb rifilluar programin.<\/p>\n<pre><code class=\"plaintext\">swift run<\/code><\/pre>\n<p>\n<img decoding=\"async\" alt=\"Gjuha e programimit Swift n\u00eb Raspberry Pi\" src=\"\/wp-content\/uploads\/2019\/08\/5b4c7ca251bbd311d04925dc0b02c094.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nUrime! Sapo kodi \u00ebsht\u00eb kompiliuar, terminali duhet t\u00eb shfaq\u00eb rreshtin e ndryshuar.<\/p>\n<p>Tani, kur Swift \u00ebsht\u00eb instaluar, keni me \u00e7far\u00eb t\u00eb merreni. P\u00ebr t\u00eb menaxhuar harduerin, si p\u00ebr shembull LED, servo motor\u00eb, rele, mund t\u00eb p\u00ebrdorni bibliotek\u00ebn e projekteve \"harduer\" p\u00ebr platformat Linux\/ARM, e cila quhet <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/uraimo\/SwiftyGPIO\">SwiftyGPIO<\/a><\/noindex>.<\/p>\n<p>Suksese n\u00eb eksperimet me Swift n\u00eb Raspberry Pi!<br \/>\n<br \/>Burimi: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/skillbox\/blog\/465493\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>Raspberry PI 3 Model B+ \u0412 \u044d\u0442\u043e\u043c \u043c\u0430\u043d\u0443\u0430\u043b\u0435 \u043c\u044b \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c \u043e\u0441\u043d\u043e\u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f Swift \u043d\u0430 Raspberry Pi. Raspberry Pi \u2014 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0438 \u043d\u0435\u0434\u043e\u0440\u043e\u0433\u043e\u0439 \u043e\u0434\u043d\u043e\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440, \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d \u043b\u0438\u0448\u044c \u0435\u0433\u043e \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c\u0438. \u041e\u043d \u0445\u043e\u0440\u043e\u0448\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043d \u0442\u0435\u0445\u043d\u043e\u0433\u0438\u043a\u0430\u043c \u0438 \u043b\u044e\u0431\u0438\u0442\u0435\u043b\u044f\u043c DIY. \u042d\u0442\u043e \u043e\u0442\u043b\u0438\u0447\u043d\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u043e\u043c\u0443 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441 \u0438\u0434\u0435\u0435\u0439 \u0438\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u0443\u044e \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044e. \u041e\u043d [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":28197,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-37569","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Raspberry PI 3 Model B+ \u0412 \u044d\u0442\u043e\u043c.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/sq\/blog\/news\/yazyk-programmirovaniya-swift-na-raspberry-pi\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"sq_AL\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u042f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Swift \u043d\u0430 Raspberry Pi | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"Raspberry PI 3 Model B+ \u0412 \u044d\u0442\u043e\u043c.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sq\/blog\/news\/yazyk-programmirovaniya-swift-na-raspberry-pi\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T19:18:22+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T19:18:22+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Gjuha programuese Swift n\u00eb Raspberry Pi | ProHoster","description":"Raspberry PI 3 Model B+ n\u00eb k\u00ebt\u00eb.","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/news\/yazyk-programmirovaniya-swift-na-raspberry-pi","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sq_AL","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u042f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Swift \u043d\u0430 Raspberry Pi | ProHoster","og:description":"Raspberry PI 3 Model B+ \u0412 \u044d\u0442\u043e\u043c.","og:url":"https:\/\/prohoster.info\/sq\/blog\/news\/yazyk-programmirovaniya-swift-na-raspberry-pi","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T19:18:22+00:00","article:modified_time":"2019-10-31T19:18:22+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"37569","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-23 18:25:21","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 01:24:24","updated":"2026-01-23 18:25:21","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/37569","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=37569"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/37569\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media\/28197"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=37569"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=37569"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=37569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}