Pulling Calendar Items Using Swift

by 

|

|  

in ,

In a previous blog post, I took you through how to pull contacts from iOS or Mac. In this post, I will show you how to pull calendar items. This turns out to be very similar to pulling contacts. First, we must request access to the calendar. As part of requesting access, we must create…

Read more…

Scaffolding

by 

|

|  

in

Sometimes we just need a few screens to perform some basic data editing. Often this is necessary for an admin system. We could build full systems for that (which has some advantages), but we might be better off with some scaffolded UI. In software development, scaffolding is when some pre-generated code is used to get…

Read more…

Cross-Origin Resource Sharing (CORS) Basics

Cross-Origin Resource Sharing (CORS) Basics

by 

|

|  

in ,

This post is intended to give you a swift kick from behind into a pool of CORS, without taking all day to do so, and without digging into any specific technologies. With that said, let’s learn to swim.   What is CORS? From Mozilla: “Cross-Origin Resource Sharing (CORS) is an HTTP-header based mechanism that allows…

Read more…

Contact Integration for Your Swift App

Contact Integration for Your Swift App

by 

|

|  

in

iOS and Mac have built-in systems to house many things, such as contacts. If you are building software that has contacts, there is a good chance you will want to pull those system contacts and integrate them into your system. So how does one go about integrating those contacts? The code to do so isn’t…

Read more…

How to Copy VS Code Configs to a Different Machine

How to Copy VS Code Configs to a Different Machine

by 

|

|  

in

I work with many students through our various education programs and Nebraska Dev Lab. During the last few days, I have done a lot of code walkthroughs, basically showing students how to implement a feature one line of code at a time. When we got to the frontend buildout, I started using Visual Studio Code….

Read more…

Top to (More) Bottom with Angular and .NET Core

Top to (More) Bottom with Angular and .NET Core

by 

|

|  

in ,

Our previous activities got us an Angular application making an HTTP call to a .NET Core backend to retrieve a shopping list. In this activity, we will extend our .NET backend to use SQL Server. First, let’s create a Shopping database. Next, we need to create a ShoppingListItems table. Now that we have a database…

Read more…

Using Prettier with Git Hooks for Formatting Consistency

Using Prettier with Git Hooks for Formatting Consistency

by 

|

|  

in

When working on a front-end project, it can be hard to keep consistency with your file’s formatting (spacing, indentation, quotation style, etc.). Prettier works with your code to ensure consistency and allows your team to set shared standards. Prettier works great, but it only works by default when you set it up within your IDE…

Read more…

Azure Application Gateway

Azure Application Gateway

by 

|

|  

in

Azure’s Application Gateway service is a load balancer. It allows for the distribution of traffic across multiple servers. This isn’t a tool we often use at Don’t Panic Labs; we tend to use more of Azure’s Platform as a Service (PaaS) tools. However, Application Gateway is still a handy tool to have in your toolbox….

Read more…

A Little More API Keys and API Gateway

A Little More API Keys and API Gateway

by 

|

|  

in

In my previous blog post, we dove into API Keys and AWS’s API Gateway. What we covered was pretty straightforward: we globally applied an API key and usage plan to an API. But we don’t have to do that. We can apply an API Key to an individual resource, not all the resources. Why would…

Read more…

API Keys and API Gateway

API Keys and API Gateway

by 

|

|  

in

API Gateway is an Amazon product that sits in front of APIs we create (which are probably hosted in AWS Lambda). Sometimes we want to limit who can access certain APIs. There are a variety of ways we can accomplish this. The first and most obvious is with API keys. API keys require that requests…

Read more…