{"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\/hu\/blog\/news\/yazyk-programmirovaniya-swift-na-raspberry-pi","title":{"rendered":"A Swift programoz\u00e1si nyelv haszn\u00e1lata Raspberry Pi-n","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" alt=\"A Swift programoz\u00e1si nyelv haszn\u00e1lata Raspberry Pi-n\" 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>Ebben a k\u00e9zik\u00f6nyvben a Swift Raspberry Pi-n val\u00f3 haszn\u00e1lat\u00e1nak alapjait fogjuk \u00e1ttekinteni. A Raspberry Pi egy kis m\u00e9ret\u0171, olcs\u00f3 egylapos sz\u00e1m\u00edt\u00f3g\u00e9p, amelynek potenci\u00e1lja csup\u00e1n a sz\u00e1m\u00edt\u00e1si er\u0151forr\u00e1saiban korl\u00e1tozott. J\u00f3l ismert a technikai szakemberek \u00e9s a DIY (csin\u00e1ld magad) kedvel\u0151i k\u00f6r\u00e9ben. Kiv\u00e1l\u00f3 eszk\u00f6z, ha valaki k\u00eds\u00e9rletezni szeretne egy \u00f6tlettel, vagy valamilyen koncepci\u00f3t szeretne gyakorlatban kipr\u00f3b\u00e1lni. K\u00fcl\u00f6nb\u00f6z\u0151 projektekhez alkalmazhat\u00f3, k\u00f6nnyen elf\u00e9r szinte b\u00e1rhol - p\u00e9ld\u00e1ul felszerelhet\u0151 egy monitor tetej\u00e9re, \u00e9s asztali sz\u00e1m\u00edt\u00f3g\u00e9pk\u00e9nt haszn\u00e1lhat\u00f3, vagy csatlakoztathat\u00f3 egy protot\u00edpus t\u00e1bl\u00e1hoz elektronikai \u00e1ramk\u00f6r\u00f6k ir\u00e1ny\u00edt\u00e1s\u00e1ra.<\/p>\n<p>A 'malinka' hivatalos programoz\u00e1si nyelve a Python. B\u00e1r a Python haszn\u00e1lata viszonylag egyszer\u0171, hi\u00e1nyzik bel\u0151le a t\u00edpusbiztons\u00e1g, tov\u00e1bb\u00e1 sok mem\u00f3ri\u00e1t ig\u00e9nyel. Ezzel szemben a Swift rendelkezik ARC mem\u00f3riakezel\u00e9ssel \u00e9s majdnem nyolcszor gyorsabb, mint a Python. Mivel a Raspberry Pi RAM mennyis\u00e9ge \u00e9s a processzor sz\u00e1m\u00edt\u00e1si kapacit\u00e1sa korl\u00e1tozott, egy olyan nyelv haszn\u00e1lata, mint a Swift, lehet\u0151v\u00e9 teszi a mini PC hardver\u00e9nek maxim\u00e1lis kihaszn\u00e1l\u00e1s\u00e1t. <br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex> <\/p>\n<h3>Oper\u00e1ci\u00f3s rendszer telep\u00edt\u00e9se<\/h3>\n<p>\nMiel\u0151tt telep\u00edten\u00e9nk a Swiftet, ki kell v\u00e1lasztanunk az oper\u00e1ci\u00f3s rendszert. Ehhez haszn\u00e1lhatjuk az al\u00e1bbi lehet\u0151s\u00e9gek egyik\u00e9t, <noindex><a rel=\"nofollow\" href=\"https:\/\/www.raspberrypi.org\/downloads\/\">amelyeket k\u00fcls\u0151 fejleszt\u0151k k\u00edn\u00e1lnak. A leggyakoribb v\u00e1laszt\u00e1s a Raspbian, a Raspberry Pi hivatalos oper\u00e1ci\u00f3s rendszere. T\u00f6bb lehet\u0151s\u00e9g is van a Raspbian SD-k\u00e1rty\u00e1ra t\u00f6rt\u00e9n\u0151 telep\u00edt\u00e9s\u00e9re; az al\u00e1bbiakban a balenaEtcher-t haszn\u00e1ljuk. \u00cdme, mit kell tenn\u00fcnk:<\/a><\/noindex>T\u00f6lts\u00fck le a legfrissebb Raspbian OS verzi\u00f3t<\/p>\n<ul>\n<li>Form\u00e1zzuk meg az SD-k\u00e1rty\u00e1t FAT f\u00e1jlrendszerrel a Disk Utility seg\u00edts\u00e9g\u00e9vel <noindex><a rel=\"nofollow\" href=\"https:\/\/downloads.raspberrypi.org\/raspbian_latest\">innen<\/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\/\">balenaEtcher<\/a><\/noindex>.<\/li>\n<li>Haszn\u00e1ljuk <noindex><a rel=\"nofollow\" href=\"https:\/\/www.balena.io\/etcher\/\">az el\u0151k\u00e9sz\u00edtett k\u00e1rty\u00e1ra val\u00f3 ki\u00edr\u00e1s\u00e1hoz.<\/a><\/noindex> M\u00e1sodik l\u00e9p\u00e9s: form\u00e1zd meg az SD-k\u00e1rty\u00e1t MS-DOS (FAT) f\u00e1jlrendszerrel<\/li>\n<\/ul>\n<p>\n<img decoding=\"async\" alt=\"A Swift programoz\u00e1si nyelv haszn\u00e1lata Raspberry Pi-n\" src=\"\/wp-content\/uploads\/2019\/08\/dd0c0a822edee69d6d5c11f6fc1f0dfb.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<i>Harmadik l\u00e9p\u00e9s: haszn\u00e1ld a balenaEtcher-t a Raspbian ki\u00edr\u00e1s\u00e1hoz a k\u00e1rty\u00e1ra<\/i><\/p>\n<p><img decoding=\"async\" alt=\"A Swift programoz\u00e1si nyelv haszn\u00e1lata Raspberry Pi-n\" src=\"\/wp-content\/uploads\/2019\/08\/6d256c2aeab9e031f6ba636ab89507c7.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<i>Aj\u00e1nlunk egy ingyenes, kezd\u0151knek sz\u00f3l\u00f3 intenz\u00edv tanfolyamot a g\u00e9pi tanul\u00e1sr\u00f3l:<\/i><\/p>\n<blockquote><p><b>\u00cdrj meg egy els\u0151 g\u00e9pi tanul\u00e1si modellt h\u00e1rom nap alatt<\/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\">\u2014 szeptember 2-4.<\/a><\/noindex> Ingyenes intenz\u00edv kurzus, amely lehet\u0151s\u00e9get ad arra, hogy meg\u00e9rtsd, mi az a g\u00e9pi tanul\u00e1s, \u00e9s hogy hogyan dolgozhatsz az interneten el\u00e9rhet\u0151 ny\u00edlt adatokkal. Emellett megtanulunk predik\u00e1lni az amerikai doll\u00e1r \u00e1rfolyam\u00e1t egy saj\u00e1t magunk \u00e1ltal k\u00e9sz\u00edtett modellel. <i>Raspberry Pi be\u00e1ll\u00edt\u00e1sa<\/i>.\n<\/p><\/blockquote>\n<h3>M\u00e1r f\u00e9l\u00faton vagyunk! Mostm\u00e1r van egy SD-k\u00e1rty\u00e1nk az oper\u00e1ci\u00f3s rendszerrel, amelyet haszn\u00e1lni fogunk, de az oper\u00e1ci\u00f3s rendszert m\u00e9g telep\u00edteni kell. K\u00e9t lehet\u0151s\u00e9g van erre:<\/h3>\n<p>\nHaszn\u00e1lni a csatlakoztatott monitort, billenty\u0171zetet \u00e9s egeret.<\/p>\n<ul>\n<li>Haszn\u00e1lja az eszk\u00f6zh\u00f6z csatlakoztatott monitort, billenty\u0171zetet \u00e9s egeret.<\/li>\n<li>Mindent megtehet m\u00e1sik PC-r\u0151l SSH-n vagy USB Console k\u00e1bellel.<\/li>\n<\/ul>\n<p>\nHa ez az els\u0151 tapasztalata a Pi-vel, javaslom az 1. opci\u00f3t. Miut\u00e1n a SD-k\u00e1rtya Raspbian OS-sel behelyez\u00e9sre ker\u00fclt a Pi-be, csatlakoztassa a HDMI-k\u00e1belt, az egeret, a billenty\u0171zetet \u00e9s a t\u00e1pk\u00e1belt.<\/p>\n<p>A Pi-nak be kell t\u00f6ltenie a bekapcsol\u00e1skor. Gratul\u00e1lok! Most sz\u00e1njon egy kis id\u0151t az asztal\u00e1nak felfedez\u00e9s\u00e9re \u00e9s a lehet\u0151s\u00e9geire.<\/p>\n<p><img decoding=\"async\" alt=\"A Swift programoz\u00e1si nyelv haszn\u00e1lata Raspberry Pi-n\" src=\"\/wp-content\/uploads\/2019\/08\/d1691be44fc7aec778e2a17b39edcb3f.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <\/p>\n<h3>Swift telep\u00edt\u00e9se<\/h3>\n<p>\nAhhoz, hogy a Swift-et telep\u00edtse a \"m\u00e1lna\"-ra, csatlakoztatnia kell az internethez (Ethernet vagy WiFi seg\u00edts\u00e9g\u00e9vel, a lapk\u00e9szlet modellj\u00e9t\u0151l f\u00fcgg\u0151en). Amint az internet csatlakozik, megkezdheti a Swift telep\u00edt\u00e9s\u00e9t.<\/p>\n<p>K\u00e9t m\u00f3don v\u00e9gezheti el. Az els\u0151 - <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/uraimo\/buildSwiftOnARM#building-on-arm\">a Swift buildj\u00e9nek \u00f6n\u00e1ll\u00f3 l\u00e9trehoz\u00e1sa<\/a><\/noindex>, a m\u00e1sodik - m\u00e1r el\u0151re leford\u00edtott bin\u00e1risok haszn\u00e1lata. Hat\u00e1rozottan a m\u00e1sodik m\u00f3dot javaslom, mivel az els\u0151 t\u00f6bb napos el\u0151k\u00e9sz\u00edt\u00e9st ig\u00e9nyel. A m\u00e1sodik m\u00f3d a <noindex><a rel=\"nofollow\" href=\"https:\/\/swift-arm.com\">Swift-ARM<\/a><\/noindex>csoport \u00e9rdeme, amely birtok\u00e1ban van annak a rep\u00f3nak, ahonnan a Swift telep\u00edthet\u0151 az apt haszn\u00e1lat\u00e1val (<noindex><a rel=\"nofollow\" href=\"https:\/\/help.ubuntu.com\/lts\/serverguide\/apt.html\"><strong>A<\/strong>fejlett <strong>P<\/strong>csomag <strong>T<\/strong>eszk\u00f6z<\/a><\/noindex>).<\/p>\n<p>Ez egy parancssori eszk\u00f6z, egyfajta App Store az alkalmaz\u00e1sok \u00e9s csomagok sz\u00e1m\u00e1ra Linux eszk\u00f6z\u00f6k\u00f6n. Az apt haszn\u00e1lat\u00e1t az apt-get be\u00edr\u00e1s\u00e1val kezdj\u00fck a termin\u00e1lba. Ezut\u00e1n meg kell adnia egy sor parancsot, amely tiszt\u00e1zza a v\u00e9grehajtand\u00f3 feladatot. Ebben az esetben a Swift 5.0.2 telep\u00edt\u00e9se sz\u00fcks\u00e9ges. A megfelel\u0151 csomagokat <noindex><a rel=\"nofollow\" href=\"https:\/\/packagecloud.io\/swift-arm\/release\">itt<\/a><\/noindex>.<\/p>\n<p>Nos, kezdj\u00fck. Most, hogy tudjuk, hogy a Swift-et apt seg\u00edts\u00e9g\u00e9vel telep\u00edtj\u00fck, hozz\u00e1 kell adnunk a rep\u00f3t a t\u00e1rol\u00f3k list\u00e1j\u00e1hoz.<\/p>\n<p>A rep\u00f3 hozz\u00e1ad\u00e1s\u00e1nak\/telep\u00edt\u00e9s\u00e9nek parancsa <noindex><a rel=\"nofollow\" href=\"https:\/\/swift-arm.com\">swift-arm<\/a><\/noindex> \u00edgy n\u00e9z ki:<\/p>\n<pre><code class=\"plaintext\">curl -s  | sudo bash<\/code><\/pre>\n<p>\n<img decoding=\"async\" alt=\"A Swift programoz\u00e1si nyelv haszn\u00e1lata Raspberry Pi-n\" src=\"\/wp-content\/uploads\/2019\/08\/f5c42400a4679d7910545b2da5ca16b4.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nEzut\u00e1n telep\u00edtj\u00fck a Swift-et a hozz\u00e1adott rep\u00f3b\u00f3l:<\/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=\"A Swift programoz\u00e1si nyelv haszn\u00e1lata Raspberry Pi-n\" src=\"\/wp-content\/uploads\/2019\/08\/5b575739ad368f5be7479c517e8d598a.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\n\u00c9s ennyi! Most a Swift telep\u00edtve van a \"m\u00e1lna\"-nkra.<\/p>\n<h3>Tesztprojekt l\u00e9trehoz\u00e1sa<\/h3>\n<p>\nJelenleg <noindex><a rel=\"nofollow\" href=\"https:\/\/www.techrepublic.com\/article\/pro-tip-using-apples-swift-repl-from-the-terminal\/\">Swift REPL<\/a><\/noindex> nem m\u0171k\u00f6dik, de minden m\u00e1s igen. A teszthez hozzunk l\u00e9tre egy Swift csomagot a Swift Package Manager seg\u00edts\u00e9g\u00e9vel.<\/p>\n<p>El\u0151sz\u00f6r hozzon l\u00e9tre egy MyFirstProject nev\u0171 k\u00f6nyvt\u00e1rat.<\/p>\n<pre><code class=\"plaintext\">mkdir MyFirstProject<\/code><\/pre>\n<p>\n<img decoding=\"async\" alt=\"A Swift programoz\u00e1si nyelv haszn\u00e1lata Raspberry Pi-n\" src=\"\/wp-content\/uploads\/2019\/08\/07c8bf535812d1fa43cb61cfeeeeb544.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nEzut\u00e1n \u00e1ll\u00edtsa \u00e1t a munkak\u00f6nyvt\u00e1r\u00e1t az \u00fajonnan l\u00e9trehozott MyFirstProject-ra.<\/p>\n<pre><code class=\"plaintext\">cd MyFirstProject<\/code><\/pre>\n<p>\n<img decoding=\"async\" alt=\"A Swift programoz\u00e1si nyelv haszn\u00e1lata Raspberry Pi-n\" src=\"\/wp-content\/uploads\/2019\/08\/b2ff73dfb2dc5d65268a057609cf4d54.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nHozzon l\u00e9tre egy \u00faj v\u00e9grehajthat\u00f3 Swift csomagot.<\/p>\n<pre><code class=\"plaintext\">swift package init --type=executable<\/code><\/pre>\n<p>\n<img decoding=\"async\" alt=\"A Swift programoz\u00e1si nyelv haszn\u00e1lata Raspberry Pi-n\" src=\"\/wp-content\/uploads\/2019\/08\/d93e6a1eff4c958f3b57861815d69258.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nEzek a h\u00e1rom sor \u00fcres Swift csomagot hoz l\u00e9tre, amelyet MyFirstProject-nak h\u00edvnak. A futtat\u00e1s\u00e1hoz \u00edrja be a swift run parancsot.<\/p>\n<p><img decoding=\"async\" alt=\"A Swift programoz\u00e1si nyelv haszn\u00e1lata Raspberry Pi-n\" src=\"\/wp-content\/uploads\/2019\/08\/25a195442369d0d3218e4a3ef88e34b3.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nAmint a ford\u00edt\u00e1s befejez\u0151dik, a parancssorban meg fog jelenni a \"Hello, world!\" sz\u00f6veg.<\/p>\n<p>Miut\u00e1n elk\u00e9sz\u00edtett\u00fck az els\u0151 programunkat a Pi-n, n\u00e9zz\u00fck meg, mit tudunk m\u00f3dos\u00edtani. A MyFirstProject k\u00f6nyvt\u00e1rban v\u00e1ltoztassunk a main.swift f\u00e1jlon. Ebben tal\u00e1lhat\u00f3 a k\u00f3d, ami v\u00e9grehajt\u00f3dik, amikor elind\u00edtjuk a csomagot a swift run parancs seg\u00edts\u00e9g\u00e9vel.<\/p>\n<p>V\u00e1ltsunk \u00e1t a Sources\/MyFirstProject k\u00f6nyvt\u00e1rba.<\/p>\n<pre><code class=\"plaintext\">cd Sources\/MyFirstProject <\/code><\/pre>\n<p>\n<img decoding=\"async\" alt=\"A Swift programoz\u00e1si nyelv haszn\u00e1lata Raspberry Pi-n\" src=\"\/wp-content\/uploads\/2019\/08\/b80855c0f8510016fb6afbd714741d48.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nSzerkessz\u00fck meg a main.swift f\u00e1jlt a be\u00e9p\u00edtett <noindex><a rel=\"nofollow\" href=\"https:\/\/www.nano-editor.org\/\">nano szerkeszt\u0151vel<\/a><\/noindex>.<\/p>\n<pre><code class=\"plaintext\">nano main.swift<\/code><\/pre>\n<p>\n<img decoding=\"async\" alt=\"A Swift programoz\u00e1si nyelv haszn\u00e1lata Raspberry Pi-n\" src=\"\/wp-content\/uploads\/2019\/08\/7f8e8c5884d50146058004975632a1c6.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nAmint a szerkeszt\u0151 megny\u00edlik, m\u00f3dos\u00edthatja a programja k\u00f3dj\u00e1t. Cser\u00e9lj\u00fck le a main.swift f\u00e1jl tartalm\u00e1t az al\u00e1bbiakra:<\/p>\n<p><img decoding=\"async\" alt=\"A Swift programoz\u00e1si nyelv haszn\u00e1lata Raspberry Pi-n\" 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>\nTerm\u00e9szetesen a saj\u00e1t nev\u00e9re is cser\u00e9lheti. A v\u00e1ltoztat\u00e1sok ment\u00e9s\u00e9hez hajtsa v\u00e9gre a k\u00f6vetkez\u0151 l\u00e9p\u00e9seket:<\/p>\n<ul>\n<li>CTRL+X a f\u00e1jl ment\u00e9s\u00e9hez.<\/li>\n<li>Er\u0151s\u00edtse meg a v\u00e1ltoztat\u00e1sokat az 'Y' megnyom\u00e1s\u00e1val.<\/li>\n<li>Er\u0151s\u00edtse meg a v\u00e1ltoz\u00e1st a main.swift f\u00e1jlban az Enter megnyom\u00e1s\u00e1val.<\/li>\n<\/ul>\n<p>\n<img decoding=\"async\" alt=\"A Swift programoz\u00e1si nyelv haszn\u00e1lata Raspberry Pi-n\" src=\"\/wp-content\/uploads\/2019\/08\/e75a50954edd0391925dc809fa82811a.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\n<img decoding=\"async\" alt=\"A Swift programoz\u00e1si nyelv haszn\u00e1lata Raspberry Pi-n\" src=\"\/wp-content\/uploads\/2019\/08\/f1c3ee1d56e79fd8ba5f471ff3a0815d.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nMinden m\u00f3dos\u00edt\u00e1s elk\u00e9sz\u00fclt, most itt az ideje \u00fajraind\u00edtani a programot.<\/p>\n<pre><code class=\"plaintext\">swift run<\/code><\/pre>\n<p>\n<img decoding=\"async\" alt=\"A Swift programoz\u00e1si nyelv haszn\u00e1lata Raspberry Pi-n\" src=\"\/wp-content\/uploads\/2019\/08\/5b4c7ca251bbd311d04925dc0b02c094.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nGratul\u00e1lok! Amint a k\u00f3d lefordult, a termin\u00e1lnak meg kell mutatnia a m\u00f3dos\u00edtott sort.<\/p>\n<p>Most, hogy a Swift telep\u00edtve van, van mit csin\u00e1lni. P\u00e9ld\u00e1ul a hardver, mint a LED-ek, szerv\u00f3k \u00e9s rel\u00e9k kezel\u00e9s\u00e9re haszn\u00e1lhatja a Linux\/ARM lemezekhez k\u00e9sz\u00fclt projekt k\u00f6nyvt\u00e1rat, amely neve <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/uraimo\/SwiftyGPIO\">SwiftyGPIO<\/a><\/noindex>.<\/p>\n<p>Sok sikert a Swift k\u00eds\u00e9rletez\u00e9shez Raspberry Pi-n!<br \/>\n<br \/>Forr\u00e1s: <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.3 - 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\/hu\/blog\/news\/yazyk-programmirovaniya-swift-na-raspberry-pi\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\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\/hu\/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\udd47A Swift programoz\u00e1si nyelv a Raspberry Pi-n | ProHoster","description":"Raspberry PI 3 Model B+ Ebben.","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/yazyk-programmirovaniya-swift-na-raspberry-pi","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","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\/hu\/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\/hu\/wp-json\/wp\/v2\/posts\/37569","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=37569"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/37569\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media\/28197"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=37569"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=37569"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=37569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}