Posts Tagged ‘apple’

How to install Mac OS X Snow Leopard on VirtualBox under Windows 7 x64

Written by Alex on . Posted in Uncategorized

This guide explains how to install Mac OS X Snow Leopard on VirtualBox working under Windows 7 x64 Ultimate.

Configuration of my PC

  • laptop Asus G2S.
  • 4GB RAM
  • two core processor
  • VirtualBox 2.3.8
  • Mac OS X Snow Leopard 10.6 (boot image file)

my-pc

Steps to install Mac OS X Snow Leopard on VirtualBox

Dowload Mac OS X image

You need image of Mac OS. You can buy it or download from internet. The image usualy have extension .dng – it’s Mac analog for .iso extension on Windows.

Convert dng file to iso file

Unfortunately VirtualBox does not understand .dng file extension and you have to convert it to .iso. There is a great tool dng2img which you can use to convert dng to iso. It’s free and small.

convert-dng-to-iso

Create virtual machine at Virtualbox

To create new virtual machine in VirtualBox press New button and follow the steps in wizard. Below is the screenshots from my PC. Select at least 1.5 Gb RAM for Virual Machine.   

create-new-vmram-for-vmvm-created

Add boot image for Virtual Machine

After you have created Virtual Machine go to settings and under Storage add Mac OS X image file as a second boot device.

mac-os-boot-imagevm-settings

Modifing Mac OS X Virtual Machine setting

To install Mac OS X to VirtualBox you need to modify configuration file in text editor. Configuration files is just XML files. Close VirtualBox. Open in text editor file

c:\Users\\.VirtualBox\Machines\<virtual-machine>\<virtual-machine>.xml at my PC this path is c:\Users\Alexander\.VirtualBox\Machines\Mac OS X Snow Leopard\Mac OS X Snow Leopard.xml

Add the following lines to <extradata> section of xml file

<ExtraDataItem name="VBoxInternal2/EfiBootArgs" value=" "/>
<ExtraDataItem name="VBoxInternal2/SmcDeviceKey"
    value="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"/>

Close and save file. Now you can start VirtualBox and Run Virtual image of Mac OS X.

xml-settings-modification 

Installation of Mac OS X Snow Leopard on VirtualBox

Now you are ready to install Mac OS X Snow Leopard. After you run Virtual Machine installation should start. After than you need to create disc where you want to install Mac OS. Open Disk Utility under Utilities menu. Select the virtual disk and click Erase. Close it and you can now install OSX.

mac-os-x-start-installationmac-os-installation-step-1mac-os-x-disk-utilityerase-discmac-os-x-ready-to-installmac-os-x-installation-finished

iPhone: Core-plot plotting framework labels overlapped

Written by Alex on . Posted in Uncategorized

For our iPhone weight tracking application was opened a defect: “labels overlapped when user zooms graph”.

For displaying graphs in iPhone application we use Core-Plot plotting framework, which is a great for displaying charts, graphs… in iPhone applications.

By default when user opens a graph it displays around 10 past records, but when user start zooming out the graph, more and more records need to be displayed. And at the end the graph looks like below. The x axis contains too many labels and they are overlapped.

core-plot-labels-overlapped

After some digging around, the solution was found.
Both X and Y axis have properties labelingPolicy which can have one of the following values

    CPAxisLabelingPolicyNone,	 ///< No labels provided; user sets labels and locations.
    CPAxisLabelingPolicyLocationsProvided, ///< User sets locations; class makes labels.
    CPAxisLabelingPolicyFixedInterval,	 ///< Fixed interval labeling policy.
    CPAxisLabelingPolicyAutomatic	 ///< Automatic labeling policy.
	

To make labels displays automatic, depending on scale, the labelingPolicy property has to be set to CPAxisLabelingPolicyAutomatic value
Also developer has to setup property preferredNumberOfMajorTicks which defines how many labels will be displayed for X or Y axis, in our case it’s 10. After the fix was done, graph looks like below

core-plot-lables-are-not-overlapped

 

As you can see labels are not overlapped now and if user zoom in or out the graph, the labels will be automatically adjusted, so only ten labels will be displayed.

Loosing weight just got easier with the new “Weight Tracker” iPhone application

Written by Alex on . Posted in Uncategorized

We just released the iPhone’s new weight tracking application: “Weight Tracker” It is now officially available for download from the Apple App Store.

Weight Tracker” helps users meet their diet and weight loss goals. With it, users can monitor their weight on a daily basis, and use a helpful graph to track their weight loss progress.

Some of the application’s key features include:

  • Touch-sensitive graph, which can be dragged onto screen and resized
  • Visual display of weight-loss progress
  • Informative list detailing your previously recorded weights
  • Ability to enter any past weights
  • Ability to delete old weights
  • No registration required
  • Supports both Landscape and Portrait views

 

The application is free to use and is available at the Apple App store, at the following link: http://itunes.apple.com/us/app/weight-tracker-by-yaplex/id452492644 Support and more information can be found at the support website (http://yaplex.com/)

Unlike other applications at the Apple App Store, Weight Tracker does not require any registration. Users can simply download the app and get started!

 

 weight-monitor-weight-tracking-graph-1    weight-monitor-remove-weight-2

Do not forget to give five stars to application at Apple App Store