Mar 21

I started reading a book for Cocoa. It’s good to start with some application which can take you from a program that sets values or gets it to manipulate something. Hello World stop your curiosity but that doesn’t give you next steps.

I am building a program which can take current time as seed and generate random numbers. Also, i explored this awakeFromNib function which is kind of Page_Load or Init() routine. This will be exected automatically to provide your app a chance to initialize values.

Step 1: Create a new Project as “Cocoa Application” and name it as “RandomNumberGenerator”

Step 2: Create a new Class called MyController.m/h

Step 3: Open MainMenu.nib and make an interface to look like the following:

Continue reading »


Mar 21

I’ve been doing .NET development for about 10+ years. I recently started looking at Mac OS X development efforts. I had a hard time starting with that because of all of my Windows way of doing it. Finally, i got a hand on it. This is my version of Hello World application for Mac OS X 10.5 using XCode 3.1 (for iPhone Development). The IDE looks powerful. But as a first timer, i did struggle a little to get around.

Step 1: Launch XCode 3 and click File - New Project from the menu

 

 

Continue reading »


Mar 17

I got a new mac finally convincing myself needing a personal laptop. Its working great with vista on parallel. I tried both VMWare Fusion and Parallel for running vista. I prefer to work with Boot Camp than any of them. But I liked parallel overall. Also, looked at few videos of iPhone SDK with development on Mac OS X. It was fund and good. I guess they have about 11 videos like that.

Finall found that, i don’t need an Intel based Mac to develop iPhone applications.

Powered by Bleezer


Jun 26

Problem

You open a presentation created on a Mac in your Windows version of PowerPoint and get a message similar to these:

QuickTime(TM) and a Photo - JPEG decompressor are needed to see this picture.
QuickTime(TM) and a TIFF decompressor are needed to see this picture.

The message may mention some other type of decompressor.

Solution

PPT2000: QuickTime PICT Placeholder Appears in Place of Graphic

The problem, in a nutshell, is that PowerPoint/Windows doesn’t support QuickTime compression; installing QuickTime on the PC won’t help.

You’ll need to go back to the Mac to fix the problem by re-inserting the graphic into PowerPoint.

  • Open the original graphic in the program that created it
  • Choose File, Save As
  • Select No Compression in the save options (PowerPoint will compress the image when it imports it)
  • Save as JPG or PNG or similar format that’s compatible with both PC and Mac PPT versions.
  • Switch to PowerPoint, choose Insert, Picture, From File and choose the newly saved picture.

Note: DO NOT drag and drop or copy/paste the graphic into PowerPoint. That’s what probably caused the problem in the first place.

These instructions are very generic. The menu options for your graphics program will be different; you’ll probably need to do some experimenting to find the right set of options.


Feb 24

Exporting Mail.app Address book

  1. Open your hard drive and open Applications and then Address Book.
  2. Pull down File and choose Export Group vCard and save the resulting file to the desktop.
  3. To convert the group vCard to a CSV, you must use a third-party converter. The online tool can be found at: vCard to LDIF/CSV Converter
  4. Using the converter, select the vCard file you saved in the previous step. Change the format to CSV.
  5. Change the following box to Comma.
  6. Check the box labelled Add header line, and uncheck the box labelled vCards with e-mail only.
  7. Press Convert and the csv file will be saved to your desktop.

Â