Create A Blog Website Using Swift and Publish | Swift 5, Xcode 11

  Рет қаралды 16,604

Kilo Loco

Kilo Loco

4 жыл бұрын

Today, Kilo Loco goes over how to create a blog website in Swift by using John Sundell's repo Publish. This tutorial will cover how to get started with Publish, how to create a site revolving around dynamic content, and everything you need to know to continue moving forward on your own.
If you already know swift and want to have the power to create your very own website, this is the video for you.
I'd like to give a special thanks to @John Sundell
** Show Notes and Links **
Project Files:
kilo-loco.teachable.com/cours...
Need Help?
kiloloco.com/membership
Data Structures & Algorithms Book:
store.raywenderlich.com/a/296...
More Books:
store.raywenderlich.com/a/296...
Kyle Lee on Social Media:
www.kiloloco.com
KZfaq- / kiloloco
Twitter- / kilo_loco
Instagram- / kilo_loco
--------GEAR ------
Code Passionately T-Shirt
a.co/d/53OkIu0
Laptop - 2017 MacBook Pro
amzn.to/2tk5yLr
Keyboard - Anne Pro 2
amzn.to/2RvBcRZ
Microphone - Blue Yeti
amzn.to/34swmdC
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, we’ll receive a small commission. This helps support the channel and allows us to continue to make videos like this. Thank you for the support!
#swift #swiftpublish #swiftwebsite

Пікірлер: 75
@johnsundell1741
@johnsundell1741 4 жыл бұрын
Thanks so much for making this, what a great tutorial! 👏 Definitely recommended for anyone who wants to get started with Publish 😀
@Kilo_Loco
@Kilo_Loco 4 жыл бұрын
So glad you like it! I really wanted to do something great for something that I think is going to help make Swift a more relevant language in the Web Dev space 😆
@johnsundell1741
@johnsundell1741 4 жыл бұрын
@@Kilo_Loco Yeah, that's absolutely the goal 😀 I love that you focused on building a custom theme, which is honestly where the official documentation is quite lacking at the moment - so I'm sure that a lot of people will appreciate this. Again, excellent work 🎉
@shivaskanthan6144
@shivaskanthan6144 4 жыл бұрын
Swift by Sundell FTW! I read it every week.
@adamkenton2585
@adamkenton2585 4 жыл бұрын
@John Sundell How would you deploy and host this ?
@mikaelacaron4694
@mikaelacaron4694 2 жыл бұрын
0:27 Installation 1:53 Create New Project 4:30 Overview of Files 5:42 Main.swift 7:23 Styles.css 10:09 Foundation Theme 16:45 Create HTMLFactory 20:50 Create Index 23:40 Item List 30:42 Custom Header 34:08 Render Blog Posts 35:35 Urls
@mikaelacaron4694
@mikaelacaron4694 4 жыл бұрын
This is the tutorial I’ve been waiting for! Thanks Kyle! ❤️
@asseeger
@asseeger 4 жыл бұрын
Thanks for this tutorial - have been wanting to take a look at that new stuff John Sundell thankfully has put out for us since he publicized it. With this tutorial, I think I have a pretty good idea what working with publish is like. Love your stuff, keep it up!
@danielaupont9468
@danielaupont9468 Жыл бұрын
Kilo you're a legend! This is STILL the most comprehensive video on the internet for creating a blog site using Publish and I'm about to release my first blog post because of it. Thank you! 🙌🏿
@mikeconner3644
@mikeconner3644 3 жыл бұрын
Loved the tutorial. I want to update my personal website using John Sundell's Publish and this gave me a great starting point. Keep up the great content!
@CraigSchubert
@CraigSchubert 4 жыл бұрын
Great run down of using Publish - thanks!! :-)
@HungNguyen-oz1jc
@HungNguyen-oz1jc 3 жыл бұрын
Could not believe that Swift could build a website until I watched this video, great content!!!! would love to see you make more video about this topic such as some animation or functionalities using Swift, thanks again for for your video.
@MikaelaCaron
@MikaelaCaron 4 жыл бұрын
Great video Kilo! Thinking it’s time to rewrite my website.
@ShubhamSauravYT
@ShubhamSauravYT 4 жыл бұрын
Thank you for the great video. It's going to help a lot when I build my blog because I really don't wanna use Wordpress.
@aceyoung2710
@aceyoung2710 4 жыл бұрын
Thank you for the great video.👏👏👏
@merligman
@merligman 4 жыл бұрын
That was awesome
@natbett206
@natbett206 4 жыл бұрын
Amazing!
@Kilo_Loco
@Kilo_Loco 4 жыл бұрын
Thanks! 😊
@MarkEvans5
@MarkEvans5 3 жыл бұрын
Dude! I have a swift website now! YES! Thanks, Kilo Loco!
@Kilo_Loco
@Kilo_Loco 3 жыл бұрын
Any time!
@luyuanqiang
@luyuanqiang 3 жыл бұрын
Pretty Cool.
@mjwrecords
@mjwrecords 4 жыл бұрын
Really enjoying your videos and I'm learning a lot. Any chance you could do a video or point me in the right direction of adding an age feature to access a view controller. Like in some kids apps, an adult has to swipe with two fingers to the left or right or work out a sum in order to access certain settings. Thank you
@domogami
@domogami 4 жыл бұрын
Thats amazing! I had no idea it was even possible to deploy a website written in Swift! Thank you so much for sharing!!
@Kilo_Loco
@Kilo_Loco 4 жыл бұрын
Yea I think it's pretty cool personally. Just keep in mind that this is a static website generator, so at the end of the day its still HTML and CSS that the browser is rendering and not Swift itself
@israelmanzo8725
@israelmanzo8725 4 жыл бұрын
Sweet., on it!
@domogami
@domogami 4 жыл бұрын
I'm trying to build a mobile app and am looking for as many SwiftUI tutorials as possible! It would be great if you made more iOS development tutorials :) Keep up the amazing content
@Kilo_Loco
@Kilo_Loco 4 жыл бұрын
Yea, I will definitely be coming out with some more SwiftUI content. Right now im trying to gauge the communities reception of my proposed pattern in this video kzfaq.info/get/bejne/gNeUhpCgzp-ad58.html
@ashim44
@ashim44 4 жыл бұрын
I saw significant change on the way how you explain your content now.... really nice work on your presentation. I really wish you could create tutorial on application like app store creation using Swift UI (MVVM) with coordinator design pattern, Using combine for network request.
@Kilo_Loco
@Kilo_Loco 4 жыл бұрын
Glad you're liking the content. I think you might find this video useful if you're looking at a way to implement a design pattern while using SwiftUI kzfaq.info/get/bejne/pJl9ptNpnafGYaM.html
@nuvem3394
@nuvem3394 2 жыл бұрын
I loved you video. Is it possible to add a pagination? Could you send a link where I can read instructions to make a pagination o'n Publish, please?
@saeedrahmatolahi462
@saeedrahmatolahi462 3 жыл бұрын
It was amazing do you have any tutorial for using css as well? So that we can create a good website
@KING-cb5nq
@KING-cb5nq 4 жыл бұрын
Is there a way to create a collection view on top of a xib made cell
@shivaskanthan6144
@shivaskanthan6144 4 жыл бұрын
Great video Kilo! Any idea where I can get started with this? I've been delving on the idea to learn Vapor. I was considering the RWD book but happy to listen to any advice from you. I'm well versed with Swift but I have no Web knowledge whatsoever. I'd like to start soon so appreciate any resources suggestion or direction in general.
@shivaskanthan6144
@shivaskanthan6144 4 жыл бұрын
More like how did you get started with this.
@adiel__v
@adiel__v 4 жыл бұрын
Can you do another video how to buy a domain?
@kelvinsmith4894
@kelvinsmith4894 3 жыл бұрын
lol, you forgot to use the itemList you copied! Good get job Kilo and a huge thank you to John Publish is awesome, I'm rewriting my entire Django website using publish
@MaseinModi
@MaseinModi 3 жыл бұрын
so useful, but kilo, would you please create more contents for us, since lists and some other staffs in markdowns seems to be a little buggy, I'd love to have tutorials on creating some UI components and more customizations.
@MaseinModi
@MaseinModi 3 жыл бұрын
and also tags. we would love to have tags in our publish project too
@jazperson
@jazperson 2 жыл бұрын
Is there a preview for the design like in Dreamweaver?
@haabili
@haabili 4 жыл бұрын
❤️
@gjermundification
@gjermundification 4 жыл бұрын
Have you done any CarPlay examples?
@DipperSlipper
@DipperSlipper 4 жыл бұрын
In case you got a message "command not found: publish", make sure to use "sudo make" in the publish folder.
@Kilo_Loco
@Kilo_Loco 4 жыл бұрын
Thanks for sharing. I didn't run into that problem so I didn't mention it.
@sdotguenin260
@sdotguenin260 4 жыл бұрын
I'm running into an issue when I type 'make' even after I use SUDO MAKE -- install: /usr/local/bin/publish: No such file or directory make: *** [install] Error 71
@aryayangmindnote
@aryayangmindnote 4 жыл бұрын
Your video is really awesome. According to your video, you can run the web page locally, but how to connect to my previous domain name?
@antoniodingyi
@antoniodingyi 4 жыл бұрын
Upload the generated website to your server, like firebase/aws.
@AndrewDobsonAustralia
@AndrewDobsonAustralia 3 жыл бұрын
Assuming you have the domain set up, you have FTP client software connected to your domain website folder and ready to upload files, you simply copy the contents of the "Output" folder in your Xcode project into your domain website folder.
@RodneyDyer
@RodneyDyer 4 жыл бұрын
man, what is your Terminal prompt command that gives you the git(master) entry?
@shadykahaleh9377
@shadykahaleh9377 2 жыл бұрын
zsh
@jungle2117
@jungle2117 4 жыл бұрын
Sorry to hear of the layoff. I have not heard of a lot of programs your talking about. But don't dispare knowledge is power. I'm sure you'll be fine.
@jorgewithcamera
@jorgewithcamera 4 жыл бұрын
Really cool tutorial, but my main question is. Why would I use Swift as a backend language for a web app like this?
@willinton06
@willinton06 4 жыл бұрын
Jorge Chavez exactly the same question I’m asking myself
@soilb0y
@soilb0y 3 жыл бұрын
It's not really a backend language as this produces a static website as its output. I am using it to help hone my swift skills and update my website at the same time.
@azhmanadam7311
@azhmanadam7311 4 жыл бұрын
Nice job! But the thing is I don't know why I feel something isn't right when it comes to "swift serverside" I love swift but swift serverside is weird for me... :(
@asseeger
@asseeger 4 жыл бұрын
Well, I‘d argue that this isn‘t server-side swift at all. It‘s a swift library that creates static html and publishes it (I guess you could also render and then copy / paste or checkout to the „real“ server, like any nginx hosting or whatever). Imho server-side swift involves a lot more...
@firstspar
@firstspar 4 жыл бұрын
What are the advantages of using swift to build a blog site over another framework?
@Kilo_Loco
@Kilo_Loco 4 жыл бұрын
The specific advantage here is that this is a static website generator. So instead of your website working with a backend run on something like javascript, which takes time to load a request, all the content is right there to be rendered as pure HTML and CSS. This makes it much faster for the browser to load and easier for search engine crawlers to index, thus boosting SEO.
@firstspar
@firstspar 4 жыл бұрын
@@Kilo_Loco Thanks for the response!
@saadaqnuurgeedi7777
@saadaqnuurgeedi7777 4 жыл бұрын
@@Kilo_Loco The answer is great thanks
@MaseinModi
@MaseinModi 4 жыл бұрын
Kilo the link you've provided for project file contains a wrong title -> Using Design Patterns with SwiftUI | Swift 5, Xcode 11
@Kilo_Loco
@Kilo_Loco 4 жыл бұрын
Thanks for the heads up. It should be updated now
@XtickMAN
@XtickMAN 4 жыл бұрын
Yo i have a project i would love your help on. Can we talk and see if you might be interested in helping me start it up?
@husseinmorad2884
@husseinmorad2884 4 жыл бұрын
Am i the only one who disperately wants to know what is the content of Hacking and Hacking With Swift Live at 1:36 ?
@adamkenton2585
@adamkenton2585 4 жыл бұрын
Why not create a podcast app
@Kilo_Loco
@Kilo_Loco 4 жыл бұрын
I will add that to the list of topics, thanks!
@adamkenton2585
@adamkenton2585 4 жыл бұрын
Kilo Loco - Thanks man ! Appreciate that
@tenchichrono
@tenchichrono 4 жыл бұрын
Man I don't even have a mac... now what?
@Lars_Paulsen
@Lars_Paulsen 3 жыл бұрын
When you actually use the word "actually" all the time it may actually make listening to your actually good video kinda hard...
@Kilo_Loco
@Kilo_Loco 3 жыл бұрын
Glad you thought the video was good 🙂
@Lars_Paulsen
@Lars_Paulsen 3 жыл бұрын
@@Kilo_Loco I did and it was. Try to omit the word and see if it make a difference or if it's just fill material, like "like" is for many people.
@gjermundification
@gjermundification 4 жыл бұрын
Have you done any CarPlay examples?
Getting Started With Unit Testing | XCTest | Swift
31:15
Kilo Loco
Рет қаралды 52 М.
JPEG is Dying - And that's a bad thing
8:09
2kliksphilip
Рет қаралды 13 М.
Sigma girl and soap bubbles by Secret Vlog
00:37
Secret Vlog
Рет қаралды 15 МЛН
Задержи дыхание дольше всех!
00:42
Аришнев
Рет қаралды 3,8 МЛН
Sigma Kid Hair #funny #sigma #comedy
00:33
CRAZY GREAPA
Рет қаралды 41 МЛН
لقد سرقت حلوى القطن بشكل خفي لأصنع مصاصة🤫😎
00:33
Cool Tool SHORTS Arabic
Рет қаралды 29 МЛН
How to Write a Blog using AI in 10 minutes (Undetectable & Plagiarism Free)
11:53
Diffable Data Source | Swift 5, Xcode 11
18:39
Kilo Loco
Рет қаралды 13 М.
Laid Off, AI is Coming
13:06
Kilo Loco
Рет қаралды 3,5 М.
Build your next website in Swift
24:45
Paul Hudson
Рет қаралды 37 М.
Programmers That Don't Blog Should Start Right Now
10:05
Adrian Twarog
Рет қаралды 76 М.
What's going on with Windows Laptops?
10:30
Marques Brownlee
Рет қаралды 2,7 МЛН
iOS Dev Vs. Web Dev - My Thoughts After Building My First iOS App
3:54
Your Average Tech Bro
Рет қаралды 72 М.
Sigma girl and soap bubbles by Secret Vlog
00:37
Secret Vlog
Рет қаралды 15 МЛН