<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.8.5" -->
<rss version="0.92">
<channel>
	<title>MacOSCoders</title>
	<link>http://www.macoscoders.com</link>
	<description>My blog to talk on iPhone, Mac OS, Adobe Flex, AIR...</description>
	<lastBuildDate>Thu, 06 Oct 2011 11:09:14 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>RIP Steve Jobs</title>
		<description>

We will miss you Steve..! </description>
		<link>http://www.macoscoders.com/2011/10/06/rip-steve-jobs/</link>
			</item>
	<item>
		<title>Android: &#8220;Sending jdwp tracking request failed!&#8221;</title>
		<description>Recently when I was debugging on a Android test application I encountered a crash/exception and in a hurry to fix the issue, I closed the emulator mid way and after a while started working on a different project. The new project didn't had any errors for sure but the console ...</description>
		<link>http://www.macoscoders.com/2011/09/27/android-sending-jdwp-tracking-request-failed/</link>
			</item>
	<item>
		<title>Fix &#8220;No architectures to compile&#8221; error</title>
		<description>if you ever face the below error while trying to build a iOS project
"No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=i386, VALID_ARCHS=armv6 armv7)."

Then  try this:

Project Build Settings:

    Architectures: Standard (armv6 armv7)
    Base SDK: Latest iOS Build Active
    Architectures Only: Checked ...</description>
		<link>http://www.macoscoders.com/2011/06/27/fix-no-architectures-to-compile-error/</link>
			</item>
	<item>
		<title>Terminal Error : &#8220;Could not determine audit condition&#8221;</title>
		<description>When I launched the Terminal today on my Snow Leopard it started showing the error

login: Could not determine audit condition

[Process completed]


Closing and reopening didnt fix this issue and googling about it, I came to know that was caused by me changing permission of the /usr/bin directory. To fix this problem, ...</description>
		<link>http://www.macoscoders.com/2010/12/16/terminal-error-could-not-determine-audit-condition/</link>
			</item>
	<item>
		<title>Supporting both Retina Display and Normal Display</title>
		<description>With iPhone 4.0 SDK, all graphics/images are automatically scaled (including coordinates) according to the device screen resolution. All we have to do is provide two versions of each image used in our application - one to suit for the retina display, other one suit to normal resolution. All images that ...</description>
		<link>http://www.macoscoders.com/2010/10/13/supporting-both-retina-display-and-normal-display/</link>
			</item>
	<item>
		<title>In-App SMS in iPhone OS 4.0</title>
		<description>With iPhone OS 4.0 and above we can send SMS right from within our application. Now our application can invoke the SMS composer screen just like we invoke the Mail composer screen. We need to invoke an instance of MFMessageComposeViewController and assign the delegate, recipients and body of the SMS. ...</description>
		<link>http://www.macoscoders.com/2010/08/12/in-app-sms-in-iphone-os-4-0/</link>
			</item>
	<item>
		<title>Problem With FBDialog Cancel Button</title>
		<description>The FBConnects's FBDialog class has a problem with the cancel button. When user taps the cancel button, the delegate method "dismissWithSuccess" is called instead of "dialogDidCancel". This flaw in the FBConnect SDK makes it difficult to determine whether the user has tapped on cancel button or not. 



We can overcome ...</description>
		<link>http://www.macoscoders.com/2010/07/21/problem-with-fbdialog-cancel-button/</link>
			</item>
	<item>
		<title>Uploading Images To Facebook Wall Using FBConnect</title>
		<description>We can upload images to Facebook users wall using the following FBConnect code:





FBStreamDialog* dialog = [[[FBStreamDialog alloc] init] autorelease];
					dialog.delegate = self;
					dialog.userMessagePrompt = "Image Upload Sample";
					dialog.attachment = [NSString stringWithFormat:@"{\"name\":\"Anish\","
					"\"href\":\"http://www.macoscoders.com/\",\"description\":\"This is an example to upload image to FB\","
					"\"media\":[{\"type\":\"image\","
					"\"src\":\"http://www.macoscoders.com/images/anish.jpg\","
					"\"href\":\"http://www.macoscoders.com/\"}],"
					"\"properties\":{\"another link\":{\"text\":\"Home page\",\"href\":\"http://www.macoscoders.com/\"}}}"]];
					[dialog show];


Make sure you have implemented the correct delegate methods for FBConnect to ...</description>
		<link>http://www.macoscoders.com/2010/07/21/uploading-images-to-facebook-wall-using-fbconnect/</link>
			</item>
	<item>
		<title>Opening App Review Page Of App Store</title>
		<description>If you would like to launch the app review page of your application so that its easier for your user to navigate there in the app store and write a good review to your app, here is the code snippet
Use this:


[[UIApplication sharedApplication] openURL:[NSURL URLWithString:
@"http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=YOUR_APP_ID&mt=8"]];


Replace YOUR_APP_ID with the application ID of ...</description>
		<link>http://www.macoscoders.com/2010/06/07/opening-app-review-page-of-app-store/</link>
			</item>
	<item>
		<title>Tab Bar Icons</title>
		<description>What are requirement of anicon for Tab Bar item ?

From Tab Bar Item class reference:
The item’s image: If nil, an image is not displayed.   The images displayed on the tab bar are derived from this image. If  this image is too large to fit on the tab ...</description>
		<link>http://www.macoscoders.com/2010/06/07/tab-bar-icons/</link>
			</item>
	<item>
		<title>And then they changed the entire publishing industry..!</title>
		<description>Are you a budding  author who needs help?  Apple has just given you a way to get your  masterpiece into the iBooks store for the iPad (and soon for iPhone with OS 4.0), and the best thing is  you  can  do it all yourself without ever ...</description>
		<link>http://www.macoscoders.com/2010/05/28/and-then-we-changed-the-entire-publishing-industry/</link>
			</item>
	<item>
		<title>Adobe abandons iPhone code tools</title>
		<description>Adobe has decided to stop developing software tools that allow  Apple's iPhone and iPad to use its popular Flash technology.

The  decision reverses an earlier pledge in which it said it would help get  Flash working on the gadgets.

Closed tools

In mid-April,  Adobe released software  Creative Suite 5 ...</description>
		<link>http://www.macoscoders.com/2010/05/11/adobe-abandons-iphone-code-tools/</link>
			</item>
	<item>
		<title>Set Application Badge Number</title>
		<description>To manually set the iPhone application icon badge value, use the following code snippet

[UIApplication sharedApplication].applicationIconBadgeNumber = 5; </description>
		<link>http://www.macoscoders.com/2010/04/13/set-application-badge-number/</link>
			</item>
	<item>
		<title>Localizing Settings.bundle</title>
		<description>For adding internationalization support to iPhone Settings.bundle, follow these steps:-
1. Close the Xcode IDE
2. Drag and duplicate the settings bundle onto the desktop (or wherever)
3. Open bundle contents by selecting "Show Package Contents" from the right click menu options
4. Drag Root.strings into the en.lproj folder
5. Duplicate the en.lproj folder and ...</description>
		<link>http://www.macoscoders.com/2010/04/12/localizing-settings-bundle/</link>
			</item>
	<item>
		<title>New Features In iPhone OS 4.0</title>
		<description>iPhone OS 4 is the next generation of the world's most innovative mobile  operating system. Its unique capabilities and new technologies will  change what you thought was possible on a mobile platform. With a rich set of over 1500 new APIs, iPhone SDK for iPhone OS 4  ...</description>
		<link>http://www.macoscoders.com/2010/04/09/new-features-in-iphone-os-4-0/</link>
			</item>
	<item>
		<title>Warning: The Copy Bundle Resources build phase contains this target&#8217;s Info.plist file &#8216;Resources/Info.plist&#8217;.</title>
		<description>Some times we would like to move the info.plist to other directories than the default project root directory. In such cases XCode would throw warning like "Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'Resources/Info.plist'."

The Info.plist file belongs directly inside of the bundles Contents folder -- ...</description>
		<link>http://www.macoscoders.com/2010/03/30/warning-the-copy-bundle-resources-build-phase-contains-this-targets-info-plist-file-resourcesinfo-plist/</link>
			</item>
	<item>
		<title>Apple Releases New iPad</title>
		<description>Apple has released iPad, its new tablet computer, which is the size of a standard children's slate and does not have a keyboard or mouse, but relies on a touch-screen. 

[caption id="" align="aligncenter" width="420" caption="Apple iPad"][/caption]

Steve Jobs claims it will offer the best browsing experience you can have, like "holding ...</description>
		<link>http://www.macoscoders.com/2010/01/28/apple-releases-new-ipad/</link>
			</item>
	<item>
		<title>Error: &#8220;CGGStackRestore: gstack underflow&#8221;</title>
		<description>Today while I was working with some CoreGraphics API's, I encountered a error which I was seeing it for the first time. CG for dumping an error "CGGStackRestore: gstack underflow" in the console everytime I invoked a method that was doing some CG based operations. Googling around I found that ...</description>
		<link>http://www.macoscoders.com/2009/11/02/error-cggstackrestore-gstack-underflow/</link>
			</item>
	<item>
		<title>Double Release Of Cocoa Objects</title>
		<description>Today while working on an iPhone project , I was just about to commit an code which displays a bar graph, and ended up finding a  crash with the following error:

objc[&#60;pid&#62;]:FREED(id): message release sent to freed object="&#60;memory_address&#62;"


[caption id="" align="alignnone" width="555" caption="Double Release Of Cocoa Objects"][/caption]



After searching through my code, ...</description>
		<link>http://www.macoscoders.com/2009/10/23/double-release-of-cocoa-objects/</link>
			</item>
	<item>
		<title>How To Replace &#8220;__MyCompanyName__&#8221; in the new files from XCode</title>
		<description>When we create a new file in XCode, the default template has the company name listed as __MyCompanyName__. If you want this to show your actual company name instead of __MyCompanyName__, then execute the following command in your terminal. Make sure to replace the"YourCompanyNameHere" with the name of your company.
defaults ...</description>
		<link>http://www.macoscoders.com/2009/10/23/how-to-replace-__mycompanyname__-in-the-new-files-from-xcode/</link>
			</item>
</channel>
</rss>
array(0) {
}

