Tag Archives: MAC OS X

How to install Windows 7 on a Mac mini (Late 2009) with Yosemite

1. MAC OS X Yosemite > Applications > Utilities > Boot Camp Assistant

BOOTCAMP ASSISTANT (1)

2. Choose the option “Download the lated Windows support software from Apple”. The downloaded software (drivers) should be saved on a USB Drive.

3. Open the Boot Camp Assistant again and choose the options “Create Windows 7 install disk” and “Install Windows 7”.

BOOTCAMP ASSISTANT (2)

4. Create a bootable USB Drive for Windows Installation. Choose the path where the Windows 7.iso image is located and then select the destination disk (a new empty USB drive).

BOOTCAMP ASSISTANT (3)

BOOTCAMP ASSISTANT (4)

BOOTCAMP ASSISTANT (5)

5. Create a partition for Windows. Then you have to install Windows by booting from the USB drive (step 4) and the drivers you have downloaded and saved on a USB (Step 2).

BOOTCAMP ASSISTANT (6)

BOOTCAMP ASSISTANT (7)

6. Dual boot MAC OS X Yosemite – Windows 7. You have to install rEFInd Boot Manager software by running the install.sh on the MAC OS X console.

rEFInd

Notes

  • Step 4 –  Create a bootable USB Drive for Windows Installation. In case that the Windows7.iso image has not been created properly you will receive the error “Non-system disk”. We recommend that you create a bootable USB Drive for Windows Installation on a Windows machine using “Windows 7 USB/DVD Download Tool”.
  • There is a possibility when running Boot Camp Assistant that the option “Create Windows 7 install disk” does not exist. Some changes need to be made in Boot Camp Assistant in order to overcome this issue. These modifications require Xcode to be installed.

How to build a simple “Hello World!” Cocoa OS X Application in Swift

Start Xcode (Version 6.1.1). Xcode is an Integrated Development Environment for mac OS.

Main Menu > File > New Project

Under “OS X” choose “Application” and then “Cocoa Application” (this template creates a Cocoa application for the OS X platform).

Enter the “Product Name” and choose the Swift Programming Language.

Go to the “Project Navigator” area and select the “Main.storyboard”.

Search for a “Label” in the Object Library:

Xcode, Object Library, Label

Figure: Xcode, Object Library

Drag & Drop a Label from the Library to the Window.

You can use the so called Inspector, located right above the Library, in order to change the name of the window and the name of the Label to “Hello World!”.

If you click on the window the Inspector will show the attributes of the window.

Xcode, Attributes Inspector, Window

Figure: Xcode, Inspector, attributes of a window

If you click on the label the Inspector will show the attributes of the label.

Xcode, Attributes Inspector, Label

Figure: Xcode, Inspector, attributes of a label

Xcode, Main.storyboard

Figure: Xcode, Main.storyboard

Run the application: Main Menu > Product > Run

The output is:

Xcode, Window, Hello World!