Learn how to add a dependency on HeliumLogger. Helium Logger displays the networking requests in the console, providing the developer with an easy way to debug server-side applications.
- [Instructor] Currently, when we run our Kitura,…it doesn't really notify us that the server is running…or the server has started.…We just have to guess and hope for the best.…But we can use the power of the HeliumLogger…to show us the log messages in the output window of Xcode.…But first we have to import the HeliumLogger.…Open up the package dot swift file and add the URL…to import the HeliumLogger.…
The URL will be pointing to the GitHub repository…of the HeliumLogger, which is available…at github dot com…slash IBM-Swift…HeliumLogger…dot git.…We're going to use the from version,…which is one point zero point zero.…Once we have that set up, make sure…to also add it to the targets.…
There we go, save it.…Now we need to go ahead to the console…and run the swift build command, so it can look…at our package dot swift file,…and download the latest dependencies, which,…in this case, is a HeliumLogger.…Let's go ahead and run swift build.…This is going to look at our package.swift file,…and start downloading all the dependencies.…
Author
Released
1/5/2018- Reviewing the concepts behind server-side Swift programming
- Different server-side Swift frameworks
- Setting up a Kitura project
- Adding HeliumLogger for debugging
- Accessing JSON passed parameters using Kitura.
- Reading URL parameters and URL encoded form parameters
- Configuring the PostgreSQL database
- Fetching, inserting, and deleting records from the database
- Integrating a Kitura API with an iPhone app
Skill Level Intermediate
Duration
Views
Related Courses
-
Learning Server-Side Swift with Vapor
with Ron Buencamino1h 30m Intermediate -
Making Your Own CocoaPod with Swift
with Harrison Ferrone43m Intermediate -
Swift 4: Protocol-Oriented Programming
with Károly Nyisztor1h 44m Intermediate
-
Introduction
-
Welcome49s
-
-
1. Understanding Server-Side Swift
-
Why server-side Swift?1m 17s
-
Server-side Swift frameworks1m 49s
-
2. Configuring Kitura Project
-
Setting up a Kitura project4m 49s
-
A simple Kitura app3m 38s
-
Returning JSON4m 36s
-
-
3. Reading User Data
-
Reading URL parameters7m 7s
-
Reading JSON6m 34s
-
-
4. PostgreSQL Database Integration
-
5. Integrating Kitura API with the iPhone App
-
Understanding the app2m 14s
-
-
Conclusion
-
Next steps54s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Adding HeliumLogger for debugging