Category Archives: Xcode

Build and Create Simple Mac App StopWatch Using Xcode 4.3.3 on Mac Lion 10.7.4 [Hackintosh]

On this night, right after our vacation to Mount Bromo on the 1st December 2012 with some friends from Indonesia, Taiwan, Japan, Berlin and Myanmar, hopefully not wrong mention. 🙂 We again want to share, and sharing knowledge that this time the theme creation program Stopwatch with easy. This program is not the first time made, but has been developed previously by many people. One of our references are from: http://www.youtube.com/watch?v=nCu0DyJ9wcg  (Uploaded by CyttilDalionzo on Mar 19, 2011). Let’s go to hunt this tutorial below :

Display My Xcode Coding :

Display My Xcode Coding StopWatch

Display My Xcode Coding StopWatch

Display MainMenu.xib :

Display MainMenu.xib StopWatch

Display MainMenu.xib StopWatch

Display AppDelegate.m part 1 of 2 :

Display AppDelegate.m StopWatch part 1

Display AppDelegate.m StopWatch part 1

Display AppDelegate.m part 2 of 2 :

Display AppDelegate.m StopWatch part 2

Display AppDelegate.m StopWatch part 2

Display AppDelegate.h :

Display AppDelegate.h  StopWatch

Display AppDelegate.h StopWatch

To See All Tutorial, Play This Video that has been upload on Youtube :

To download script/ code, Click link below :

<<Code Of Stopwatch.zip>>

Hint : “After Download it, To Extract File (Code Of Stopwatch.zip),
You must Rename Extension *.doc to *.zip” :).

Release By DistroMac

Advertisements

Demos Installation DMG File After Created Using App2Dmg Tool Convert [Hackintosh]

Well, for a couple of weeks we did not make additions on the blog. But we will post now is the appearance of the installation of programs that have been created using the tool. Let’s Go!

  1. Double Click File “MyCounterAppIcon.dmg”.

    Double Click File "MyCounterAppIcon.dmg"

    Double Click File “MyCounterAppIcon.dmg”

  2. Display Mounted After Step One.

    After Double Click File "MyCounterAppIcon.dmg"

    After Double Click File “MyCounterAppIcon.dmg”

  3. Drag and Drop to Install.

    Drag and Drop to Install

    Drag and Drop to Install

  4. Right click, Then Click “Eject MyCounterAppIcon”.

    Right click, Then Click "Eject MyCounterAppIcon"

    Right click, Then Click “Eject MyCounterAppIcon”

  5. Click Folder Application, Then Click “MyCounterAppIcon”.

    Click Folder Application, Then Click "MyCounterAppIcon"

    Click Folder Application, Then Click “MyCounterAppIcon”

  6. Or, Click LaunchPad, Then Click “MyCounterAppIcon”.

    Click LaunchPad Then Click "MyCounterAppIcon"

    Click LaunchPad Then Click “MyCounterAppIcon”

  7. Finally, this is the view from “MyCounterAppIcon”.

    Finally, this is the view from "MyCounterAppIcon"

    Finally, this is the view from “MyCounterAppIcon”

  8. Finish.

Create Installer DMG File With Packaging Mac App Using Tool Convert .app to .dmg On Mac Lion 10.7.4 [Hackintosh]

Alhamdulillah, the four days after Eid, we try to present a special gift for lovers of Apple’s developer, in the form of methods and tools used to modify and package a Mac App that we have compiled and is very easy, fast, effective and efficient. Tool we use is free software, and we get it in the App Store. The tool provides several design and appearance of the installation form that is standard on Mac OS X. The greatness of this tool is able to make the installer a way to package the *.app to *.dmg. Okay, Let’s prove it by following these steps :

1. Download This Tool (App2Dmg). After download, rename extention file *.doc become *.dmg

icon App2Dmg

Icon App2Dmg

2. Install file “App2Dmg.dmg

Install App2Dmg

Install App2Dmg

3. Run “App2Dmg” On Applications

Run "App2Dmg" On Applications

Run “App2Dmg” On Applications

4. Display “App2Dmg”

Display App2Dmg

Display App2Dmg

5. Change background App2Dmg

Change background App2Dmg

Change background App2Dmg

6. Select an App file, Then Click “Open” Button

Select an App file

Select an App file

7. Select a Folder to Save, Then Click “Save” Button

Select a Folder to Save

Select a Folder to Save

8. Creating MyCounterAppIcon.dmg

Creating MyCounterAppIcon

Creating MyCounterAppIcon

9. Display MyCounterAppIcon

Display MyCounterAppIcon

Display MyCounterAppIcon

10. Finish 🙂

Create and Put An Icon On Your Mac App That Has Been Create Using Xcode 4.3.3 On Mac Lion 10.7.4 [Hackintosh]

We want a little story, that on the day yesterday until last night we had an upset stomach due to eating late. 🙂
But no problem, hopefully the little things that happen to us or large, will not hinder us to share knowledge and goodness. Well, on this occasion we will share how to create and put an icon on the Mac App that we have created. Let’s Go!

1. Provide the image you want to use as icon.

Icon To MyCounterApp On Mac Lion 10.7.4

Put Icon To MyCounterApp.app On Mac (file type *.png)

2. Convert all file type image (like *.png, *.jpg and so on) to *.icns

In doing convert these images, we use the tool on the website “http://iconverticons.com/app/&#8221;. Because of this “free” when we use it online. However, you can use other tools that might result and the quality can be better.

Online Icon Mac App Maker On Mac Lion 10.7.4

Online Icon Mac App Maker

Then Click “Use Online” Button.

Main Menu Icon Mac App Maker On Mac Lion 10.7.4

Main Menu Icon Mac App Maker

Then Click “Browse” Button, Choose Your Image. Then Click “Convert” Button.

Converting Image Processing On Mac Lion 10.7.4

Converting Image Processing

Convertion Finished.

Conversion Finished On Mac Lion 10.7.4

Conversion Finished

Then Download Your “Mac OS X Icon”.

Download Icon On Mac Lion 10.7.4

Download Icon Mac

Open File Icon In Finder.

Location File Icon Show In Finder On Mac Lion 10.7.4

Location File Icon Show In Finder

3. Open Xcode, Then Open “MyCounter” Project.

Open Xcode On Mac Lion 10.7.4

Open Xcode

4. On “TARGETS >> MyCounter >> Summary >> Mac OS X Application Target >> App Icon” Right Click. Select File, Then put your icon.

Select File Icon On Xcode

Select File Icon On Xcode

5. Choose Icon On Your Project.

File Icon Mac App On Mac Lion 10.7.4

File Icon Mac App

6. Display Icon On Your Project.

Display Icon Mac App On Mac Lion 10.7.4

Display Icon Mac App

7. Compile Again Your Mac App. Then This Result :

Mac App With Icon.

Mac App With Icon On Mac Lion 10.7.4

Mac App With Icon

Mac App Without Icon.

Mac App Without Icon On Mac Lion 10.7.4

Mac App Without Icon

8. Finish. 🙂

Compile Your Mac Apps That Has Been Created Using Xcode 4.3.3 on Mac Lion 10.7.4 [Hackintosh]

After making coding is complete and tested successfully, the next step is we will continue the process of “compiling”. Coding so that we make will be run independently. In Mac OS X Lion, the compiled file extension is “. app”, while the Window OS is . “exe”. The following steps will guide and lead you to reach the goal of becoming “Apple developer” from create simple Application :

1. MyCounter.xcodeproj On Xcode.

MyCounter.xcodeproj On Mac Lion

MyCounter.xcodeproj

2. Click “Product >> Archive”.

Click "Product >> Archive" On Mac Lion

Click “Product >> Archive”

3. On “Organizer – Archives’, Click “Distribute” Button.

Organizer - Archives On Mac Lion

Organizer – Archives

4. Export as “Application”, Then “Next” Button.

Export as "Application" On Mac Lion

Export as “Application”

5. On “Code Signing Identity” Choose You Want, Then Click “Next” Button.

On "Code Signing Identity" On Mac Lion

On “Code Signing Identity”

6. On “Form Save As”, Give Your App Name. Then Click “Save” Button.

On "Form Save As" On Mac Lion

On “Form Save As”

7. This is Final Result of Compile Your Mac App “MyCounterApp”.

MyCounterApp On Mac Lion

MyCounterApp

8. Get info Extension of  “MyCounterApp”.

Extention Application On Mac OS is .app

Extention Application On Mac OS is .app

9. To Run Your Application, Double Click “MyCounterApp”.

To Run Your Application, Double Click "MyCounterApp" On Mac Lion

Double Click “MyCounterApp”

10. Finish. 🙂

Build and Create Simple Mac App Counter Using Xcode 4.3.3 on Mac Lion 10.7.4 [Hackintosh]

On this morning in the month of Ramadan, we will be demonstrating how to build and create a simple application using Xcode 4.3.3 on Mac OS X Lion 10.7.4 . Consider the following steps will guide you to learn the basics of programming using Xcode in 10 minutes:
(Note : In this application, we utilize the “Round Button” and “Text Field” from the “Object Library” in Xcode).

Display My Xcode Coding :

Welcome To Xcode On Mac Lion 10.7.4

Welcome To Xcode 4.3.3

Display MainMenu.xib :

MainMenu.xib On Mac OS X Lion

MainMenu.xib

Display AppDelegate.m :

AppDelegate.m On Mac OS X Lion 10.7.4

AppDelegate.m

Display AppDelegate.h :

AppDelegate.h On Mac OS X lion 10.7.4

AppDelegate.h

To See All Tutorial, Play This Video that has been upload on Youtube :

To download script/ code, Click link below :

<< MyCounter.zip >>

Hint : “After Download it, To Extract File (MyCounter.zip),
You must Rename Extension *.doc to *.zip” :).

Release By DistroMac