Posts

Magento 2 Modes

There are three main types of Magento 2 mode that your store can run under: default, developer and production. The default mode is the mode set when you first download the Magento application. Magento does not recommend using this mode when either carrying out development work, or when running the application in a live environment.

Add a Navigation Controller in Xcode

Most beginners start learning the components of Xcode by creating a single view application project. At some point, they start to wonder how to add a navigation controller in Xcode so that they can move between different views of the application.
Add a View Controller
So how can this be achieved? Firstly, another view needs ...

Common Mistakes in HTML

When constructing an HTML document, your syntax should comply to the W3C Standard. Here are some of the common mistakes in HTML and how they can be avoided.
Forms within a form
It is not valid HTML and XHTML to include a form within another form. So if you take the following markup below.
<form ...

Stack Views in Xcode

Stack Views in Xcode allow you to lay out a series of views horizontally or vertically and are a trivial solution to create layouts of increasing complexity.
We talked about constraints in the previous article using Auto Layout, however the more elements you add to your view, the more constraints you have to add and ...

Using Autolayout in Xcode

When you add an object from the object library in Xcode, the position of the object within your view needs to be in the same position when viewing on different device widths. This article will look at using Autolayout in Xcode 8.
As an example, here is a label that has been centred in the ...

Add Swift Assets in Xcode

If you’re starting out creating a Swift project in Xcode one of the first things you’ll want to learn to how to add images, icons and more. Here is how to add Swift assets in Xcode.
If you have Xcode open, locate the Assets.xcassets folder within your project navigator.

Setting your App Icon
Within ...

Getting Started with Storyboards

Storyboards are a feature within Xcode that are used to help you visually see your application flow and how your views are connected within an iOS application. This article will assist you in getting started with storyboards in Xcode, and show you to manage your different views.
When you create a new single view application, ...

LESS Mixins

LESS Mixins eliminate the need of writing repeatable CSS by allowing you to re-use portions of code within your project. The basic principals of mixins is that you define some CSS properties within the mixin declaration, and then call the mixin in the CSS classes that you want to use the properties for.
The most ...

Getting Started With LESS

LESS is one of the most popular CSS pre-processors used in modern web development. This article will show you how to download and assist you in getting started with LESS, including using a few basic commands.
Download LESS
The easiest way to download LESS is via npm. You can run the following command within your ...

Magento Product Types

There are seven Magento product types in the application, and one of them can be used when creating a product in the admin. The different product types can be seen below.

Simple
Configurable
Grouped
Bundle
Virtual
Downloadable
Gift Card (EE only)

Simple Products
The required default fields for creating a simple product are ...