<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Magento Design and Development &#187; iPhone development</title>
	<atom:link href="http://inchoo.net/category/iphone-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://inchoo.net</link>
	<description>Magento Design and Magento Development Professionals - Inchoo</description>
	<lastBuildDate>Mon, 21 May 2012 11:00:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Add Gravatar to your iOS App</title>
		<link>http://inchoo.net/mobile-development/iphone-development/add-gravatar-to-your-app/</link>
		<comments>http://inchoo.net/mobile-development/iphone-development/add-gravatar-to-your-app/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 10:36:50 +0000</pubDate>
		<dc:creator>Ana Gabric</dc:creator>
				<category><![CDATA[iPhone development]]></category>
		<category><![CDATA[Mobile development]]></category>
		<category><![CDATA[gravatar]]></category>
		<category><![CDATA[mageboard]]></category>
		<category><![CDATA[md5]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=13746</guid>
		<description><![CDATA[Our latest iOS application Mageboard is showing customers gravatar. Gravatar is a service for providing globally unique avatars. On Gravatar, users can register an account based on their email address, &#8230;]]></description>
			<content:encoded><![CDATA[<p>Our latest iOS application <a href="http://mageboard.inchoo.net/">Mageboard</a> is showing customers gravatar. <a href="http://en.gravatar.com/">Gravatar</a> is a service for providing globally unique avatars. On Gravatar, users can register an account based on their email address, and upload an avatar to be associated with the account. <span id="more-13746"></span></p>
<p>Gravatar URLs are based on the use of the <a href="https://en.gravatar.com/site/implement/hash/">hashed</a> value of an email address. To create accurate hash you need to:</p>
<ol>
<li>Trim whitespace from email address</li>
<li>Force all characters to lower-case</li>
<li><a href="http://en.wikipedia.org/wiki/Cryptographic_hash_function">MD5</a> hash the final string</li>
</ol>
<pre class="brush: objc; title: ; notranslate">

#import &quot;GetGravatar.h&quot;
#import &lt;CommonCrypto/CommonDigest.h&gt;

@implementation GetGravatar

+ (NSURL*)gravatarURL:(NSString*)aEmail
{
if (aEmail)
{
NSString *email = [[aEmail stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]] lowercaseString];

NSString *emailMD5 = [GetGravatar md5HexDigest:email];

NSString *gravatarString = [NSString stringWithFormat:@&quot;http://www.gravatar.com/avatar/%@&quot;, emailMD5];

return [NSURL URLWithString:gravatarString];
}

return nil;
}

+ (NSString*)md5HexDigest:(NSString*)input
{
const char* str = [input UTF8String];
unsigned char result[CC_MD5_DIGEST_LENGTH];
CC_MD5(str, strlen(str), result);

NSMutableString *ret = [NSMutableString stringWithCapacity:CC_MD5_DIGEST_LENGTH*2];

for(int i = 0; i&lt;CC_MD5_DIGEST_LENGTH; i++)
[ret appendFormat:@&quot;%02x&quot;,result[i]];

return ret;
}

@end
</pre>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/mobile-development/iphone-development/add-gravatar-to-your-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Core Plot in iPhone/iPad app</title>
		<link>http://inchoo.net/mobile-development/iphone-development/using-core-plot-in-iphoneipad-app/</link>
		<comments>http://inchoo.net/mobile-development/iphone-development/using-core-plot-in-iphoneipad-app/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 06:39:21 +0000</pubDate>
		<dc:creator>Ana Gabric</dc:creator>
				<category><![CDATA[iPhone development]]></category>
		<category><![CDATA[Mobile development]]></category>
		<category><![CDATA[Core Plot]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=13663</guid>
		<description><![CDATA[Core Plot is a plotting framework for iOS and OS X. You can download the latest zip file from here. I&#8217;m using CorePlot_1.0. After unzipping it go to CorePlot_1.0/Binaries/iOS, there &#8230;]]></description>
			<content:encoded><![CDATA[<p>Core Plot is a plotting framework for iOS and OS X. You can download the latest zip file from <a href="http://code.google.com/p/core-plot/downloads/list">here</a>. I&#8217;m using CorePlot_1.0. After unzipping it go to CorePlot_1.0/Binaries/iOS, there you can find CorePlotHeaders folder and libCorePlot-CocoaTouch.a, add them to your project. Add QuartzCore.framework, go to Build Settings and add -ObjC -all_load to Other Linker Flags.</p>
<p><span id="more-13663"></span></p>
<p>Next step is to define view in which your graph will be presented and define data which will be shown. Your views class must be CPTGraphHostingView. In my case this is in MBReportViewController.nib. Now create MBBarPlot class. It&#8217;s a subclass of NSObject.</p>
<p><img class="alignnone size-medium wp-image-13666" title="Hosting View" src="http://inchoo.net/wp-content/uploads/2012/04/Hosting-View-600x366.png" alt="" width="600" height="366" /></p>
<p><strong>MBBarPlot.h</strong></p>
<pre class="brush: objc; title: ; notranslate">

#import &lt;Foundation/Foundation.h&gt;
#import &quot;CorePlot-CocoaTouch.h&quot;

@interface MBBarPlot : NSObject &lt;CPTPlotDataSource&gt;

@property (nonatomic, retain) CPTGraphHostingView *hostingView;
@property (nonatomic, retain) CPTXYGraph *graph;
@property (nonatomic, retain) NSMutableArray *graphData;
@property (nonatomic, retain) INReport *currentReport;

-(id)initWithHostingView:(CPTGraphHostingView *)hostingView andReport:(INReport*)aReport;
-(void)plotSetups;

@end
</pre>
<p><strong>MBBarPlot.m</strong></p>
<pre class="brush: objc; title: ; notranslate">

#import &quot;MBBarPlot.h&quot;
#import &quot;INReport.h&quot;

@implementation MBSimplePlot

@synthesize hostingView;
@synthesize graph;
@synthesize graphData;
@synthesize currentReport;

- (id)initWithHostingView:(CPTGraphHostingView *)hostingView andReport:(INReport*)aReport
{
self = [super init];

if ( self != nil )
{
self.hostingView = hostingView;
self.graph = nil;
self.graphData = [aReport reportsXYItemEntity];
self.currentReport = aReport;
}

return self;
}

- (void)plotSetups
{
if ( (self.hostingView == nil) || (self.graphData == nil) || (self.graph == nil) )
return;

self.graph = [[CPTXYGraph alloc] initWithFrame:[self.hostingView bounds]] ;
self.hostingView.hostedGraph = self.graph;

// here yo can set graph elements:
// paddings
// line styles
// text style
// min and max values on axis
// title
// axis labels ...

CPTBarPlot *plot = [[CPTBarPlot alloc] init] ;
plot.delegate = self;
plot.dataSource = self;
[self.graph addPlot:plot];
}

-(NSUInteger)numberOfRecordsForPlot:(CPTPlot *)plot
{
return [self.graphData count];
}

-(NSNumber *)numberForPlot:(CPTPlot *)plot field:(NSUInteger)fieldEnum recordIndex:(NSUInteger)index
{
if ( fieldEnum == CPTBarPlotFieldBarLocation )
return [NSNumber numberWithFloat:index*10];
   else
return [NSNumber numberWithFloat:[[[self.graphData objectAtIndex:index] y] floatValue]];
}

@end
</pre>
<p>In MBReportViewController you need to create instance of your chart with <em>initWithHostingView:andReport:</em> after that call <em>plotSetups</em> where you can set plot frame, plot space, axis set, line style, text style, plot type, legend etc. With Core Plot you can choose various plot types and easily adjust them to fit your needs. Here are the result:</p>
<p><a href="http://inchoo.net/wp-content/uploads/2012/04/reports1.png"><img class="alignnone size-medium wp-image-13550" title="reports" src="http://inchoo.net/wp-content/uploads/2012/04/reports1-600x665.png" alt="" width="600" height="665" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/mobile-development/iphone-development/using-core-plot-in-iphoneipad-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add a property via class category?</title>
		<link>http://inchoo.net/mobile-development/iphone-development/how-to-add-a-property-via-class-category/</link>
		<comments>http://inchoo.net/mobile-development/iphone-development/how-to-add-a-property-via-class-category/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 09:25:40 +0000</pubDate>
		<dc:creator>Ivan Kalaica</dc:creator>
				<category><![CDATA[iPhone development]]></category>
		<category><![CDATA[Mobile development]]></category>
		<category><![CDATA[Categories]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iVar]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[property]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=13562</guid>
		<description><![CDATA[Have you ever been in a situation where you needed to extend class with additional property but for some organizational reason you didn&#8217;t want to change default source class file? &#8230;]]></description>
			<content:encoded><![CDATA[<p>Have you ever been in a situation where you needed to extend class with additional property but for some organizational reason you didn&#8217;t want to change default source class file? For example, when you add Xcode sub-project which you want to keep untouched and up-to date with it&#8217;s version control, but still you want to make certain default implementation changes in sub-project.</p>
<p><span id="more-13562"></span></p>
<p>Directly changing sub-project source files would end up with very painful merging after version control update. Sub-classing default class to add one more property is also painful experience comparing to Objective-C categories pattern (you would need to change class name everywhere you made an instance of default class). It&#8217;s true that in class category you can not declare iVar&#8217;s or make @synthesize but nevertheless you <strong>CAN</strong> extend class with another property by drilling down all to runtime.h. Below you can see example.</p>
<pre class="brush: objc; title: ; notranslate">

@interface SomeClass (Private)

@property (nonatomic, assign) id newProperty;

@end

NSString * const kNewPropertyKey = @&quot;kNewPropertyKey&quot;;

@implementation SomeClass (Private)

@dynamic newProperty;

- (void)setNewProperty:(id)aObject
{
	objc_setAssociatedObject(self, kNewPropertyKey, aObject, OBJC_ASSOCIATION_ASSIGN);
}

- (id)newProperty
{
	return objc_getAssociatedObject(self, kNewPropertyKey);
}

@end
</pre>
<p>This way you can have always keep your Xcode sub-project up-to date without painful merging. Also, it&#8217;s easier but not recommended to use categories over sub-classing pattern when you need to overwrite default class implementation (good only in cases you know what&#8217;s get overwritten).</p>
<p>In contrast to Objective-C class Extensions this way you don&#8217;t have to re-declare property that is publicly declared in default class. In Objective-C class Extensions it is also generally common for a class to have a publicly declared API and to then have additional methods declared privately for use solely by the class or the framework within which the class resides. Class extensions allow you to declare additional required methods for a class in locations other than within the primary class @interface block.</p>
<pre class="brush: objc; title: ; notranslate">

@interface MyClass : NSObject

@property (retain, readonly) float value;

@end

// Private extension, typically hidden in the main implementation file.

@interface MyClass ()

@property (retain, readwrite) float value;

@end

@interface MyClass : NSObject

- (float)value;

@end

@interface MyClass () {

    float value;

}

- (void)setValue:(float)newValue;

@end

@implementation MyClass

- (float)value {

    return value;

}

- (void)setValue:(float)newValue {

    value = newValue;

}

@end
</pre>
<p>The implementation of the setValue: method must appear within the main @implementation block for the class (you cannot implement it in a category). If this is not the case, the compiler emits a warning that it cannot find a method definition for setValue:. Therefore you should use objc_getAssociatedObject &amp; objc_setAssociatedObject to make&#8217;s your development way easier.</p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/mobile-development/iphone-development/how-to-add-a-property-via-class-category/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inchoo presents: Mageboard &#8211; Your Magento Dashboard!</title>
		<link>http://inchoo.net/mobile-development/iphone-development/inchoo-presents-mageboard-your-magento-dashboard/</link>
		<comments>http://inchoo.net/mobile-development/iphone-development/inchoo-presents-mageboard-your-magento-dashboard/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 08:07:39 +0000</pubDate>
		<dc:creator>Ana Gabric</dc:creator>
				<category><![CDATA[iPhone development]]></category>
		<category><![CDATA[Mobile Apps]]></category>
		<category><![CDATA[Mobile development]]></category>
		<category><![CDATA[inchooapp]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=13303</guid>
		<description><![CDATA[Our latest iOS App gives access to Magento Dashboard. Orders, customers, reports &#8211; elements which Magento store owners already know, only extra spicy and on the go. You can buy &#8230;]]></description>
			<content:encoded><![CDATA[<p><span style="font-family: Arial,serif;"><span style="font-size: small;">Our latest <a title="Mageboard - all the details" href="http://mageboard.inchoo.net/" target="_blank">iOS App</a> gives access to Magento Dashboard. Orders, customers, reports &#8211; elements which Magento store owners already know, only extra spicy and on the go. You can buy the app from the<a href="http://itunes.apple.com/us/app/mageboard/id519044844?mt=8"> App Store</a>, install our <a href="http://www.magentocommerce.com/magento-connect/inchoo-mageboard-api-3752.html" target="_blank"><strong>FREE Magento extension</strong></a> and you are ready for mobile Magento experience. Now lets take a tour with our Demo Store&#8230;</span></span></p>
<h2>NEW: Mageboard Lite Now Available!</h2>
<p>For those of you who want to see Mageboard in action before you decide to spend the money on it, we created a <strong>free application called Mageboard Lite</strong>. For feature comparison chart, please see the <a href="http://mageboard.inchoo.net">Mageboard landing page</a>. For the Mageboard Lite app store URL, follow <a href="http://itunes.apple.com/us/app/mageboard-lite/id524358093?mt=8">this link</a>. </p>
<p><span id="more-13303"></span></p>
<p><span style="font-family: Arial,serif;"><span style="font-size: large;"><strong>Customers</strong></span> </span></p>
<p><span style="font-family: Arial,serif;"><span style="font-size: small;"><a href="http://mageboard.inchoo.net/" target="_blank">Mageboard</a> allows you to get to know your customers better &#8211; when have they logged in, how much money have they spent, how many orders have they made, what do they look like and much more. Looking for someone special? Use our quick search. Want to know who is your best customer? It&#8217;s only one touch away. Can&#8217;t remember the name of the customer? Maybe you know what group they belong to. <strong><a href="http://mageboard.inchoo.net/" target="_blank">Mageboard</a> makes it personal</strong> &#8211; call your customers, send them mail or sms, visit them, you can get directions from our app. It&#8217;s almost like a social app! </span></span></p>
<p><img class="aligncenter size-medium wp-image-13326" title="Customers" src="http://inchoo.net/wp-content/uploads/2012/04/Customers1-600x400.png" alt="" width="600" height="400" /></p>
<p><span style="font-family: Arial,serif;"><span style="font-size: large;"><strong>Orders</strong></span></span></p>
<p><span style="font-family: Arial,serif;"><span style="font-size: small;">Every time a new order is made, you will get a<strong> push notification</strong>. Review quickly all your orders – who made it and when, order amount and status. Are you interested only in a specific orders? Use our filter by statuses or advanced filter. Want to see much more details? It&#8217;s only one touch away.</span></span></p>
<p><img class="alignnone size-medium wp-image-13322" title="Orders" src="http://inchoo.net/wp-content/uploads/2012/04/Orders1-600x400.png" alt="" width="600" height="400" /></p>
<p><span style="font-family: Arial,serif;"><span style="font-size: large;"><strong>Reports</strong></span></span></p>
<p><span style="font-family: Arial,serif;"><span style="font-size: small;"><a href="http://mageboard.inchoo.net/" target="_blank">Mageboard</a> has 12 default reports which user can modify, delete, move, print or mail. How many new customers have signed up over the weekend, what was your total order value in the last month, what are your customers searching for most on your site, what were the most viewed products on your site last week? You can prepare any type of report in a matter of seconds and quickly determine where your strengths are, and what needs to be improved. <a href="http://mageboard.inchoo.net/" target="_blank">Mageboard</a> is using <strong>Core Plot</strong> for creating reports. Core Plot is a plotting framework for iOS and OS X. It&#8217;s easy to implement and modify, we highly recommend it!<br />
</span></span></p>
<p><img class="aligncenter size-medium wp-image-13550" title="reports" src="http://inchoo.net/wp-content/uploads/2012/04/reports1-600x665.png" alt="" width="600" height="665" /></p>
<p><span style="font-family: Arial,serif;"><span style="font-size: small;">Stay tuned, more killer features are coming up&#8230;</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/mobile-development/iphone-development/inchoo-presents-mageboard-your-magento-dashboard/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Consuming SOAP web services in iOS</title>
		<link>http://inchoo.net/mobile-development/iphone-development/consuming-soap-web-services-in-ios/</link>
		<comments>http://inchoo.net/mobile-development/iphone-development/consuming-soap-web-services-in-ios/#comments</comments>
		<pubDate>Tue, 24 Apr 2012 12:36:13 +0000</pubDate>
		<dc:creator>Ivan Kalaica</dc:creator>
				<category><![CDATA[iPhone development]]></category>
		<category><![CDATA[Mobile development]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[RPC]]></category>
		<category><![CDATA[SOAP]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=13491</guid>
		<description><![CDATA[In past few years I&#8217;ve been working on variety of different applications but never on one that includes consuming web services such as SOAP. That&#8217;s mostly because SOAP is considered &#8230;]]></description>
			<content:encoded><![CDATA[<p>In past few years I&#8217;ve been working on variety of different applications but never on one that includes consuming web services such as SOAP. That&#8217;s mostly because SOAP is considered outdated comparing to REST today &#8211; totally wrong assumption (comparing apples and oranges).</p>
<p><span id="more-13491"></span><strong>REST</strong> <em>(Representational state transfer)</em> &#8211; first of all requests and responses are built around the transfer of representations of resources. A resource can be essentially any coherent and meaningful concept that may be addressed. A representation of a resource is typically a document that captures the current or intended state of a resource. Main focus &#8211; data transfer.</p>
<p><strong>SOAP</strong> <em>(Simple Object Access Protocol)</em> brings it’s own protocol and focuses on exposing pieces of application logic (not data) as services. It exposes operations and focuses on accessing named operations, each implement some business logic through different interfaces. That&#8217;s why SOAP is considered as successor of XML-RPC and also uses XML to encode its HTTP-based calls. Everything is done via HTTP POST request.</p>
<p>SOAP is mostly used for Enterprise applications to integrate wide types and no. of applications and another trend is to integrate with legacy systems. With that said, consuming SOAP should be an easy task. This is when WSDL comes in story.</p>
<p><strong>WSDL</strong> <em>(Web Services Description Language)</em> is an XML-based language that is used for describing the functionality offered by a Web service. A WSDL description of a web service (also referred to as a WSDL file) provides a machine-readable description of how the service can be called, what parameters it expects, and what data structures it returns. It thus serves a roughly similar purpose as a method signature in a programming language.</p>
<p>To conclude introduction part, it&#8217;s good to know both of them. Enough with apples and oranges. Let&#8217;s see how to consume SOAP in iOS environment.</p>
<p>Having web service interface definition gives us opportunity to generate client side implementation automatically. <strong>Sudzc</strong> (<a href="http://sudzc.com/" target="_blank">http://sudzc.com/</a>) is very good example of code generator for accessing SOAP-based web services on iOS platform. It basically generates all the backend part you need for your project. Although there are few things I would change in generated implementation my opinion is that Sudzc is good choice.</p>
<p>You can test Sudzc simply by going to <a href="http://sudzc.com/" target="_blank">http://sudzc.com/</a>, uploading <a title="WSDL" href="http://dl.dropbox.com/u/1504010/wsdl.xml" target="_blank">this WSDL</a> and clicking Generate. Unzip downloaded and you should get fresh generated Xcode project. Open Xcode project and expand <em>Source -&gt; Examples</em>.</p>
<p><img class="aligncenter  wp-image-13501" title="Screen Shot 2012-04-24 at 12.54.58" src="http://inchoo.net/wp-content/uploads/2012/04/Screen-Shot-2012-04-24-at-12.54.58-600x451.png" alt="" width="609" height="486" />As you can see Sudzc has generated all you need to consume SOAP web service, in this case Magento Core API. Find INMagentoService class and there you will see all API methods you can call. In each method you can pass delegate and feedback selector. Below you can see how to retrieve sales orders list.</p>
<pre class="brush: objc; title: ; notranslate">

- (void)salesOrderListCall
{
    INMagentoService* service = [INMagentoService service];

    // Returns NSMutableArray*. Retrieve list of orders by filters
    [service salesOrderList:self
                     action:@selector(salesOrderListHandler:)
                  sessionId:@&quot;&quot;
                    filters:[[INfilters alloc] init]];
}

// Handle the response from salesOrderList.
- (void)salesOrderListHandler: (id) value
{
    // Handle errors
    if([value isKindOfClass:[NSError class]]) {
        NSLog(@&quot;%@&quot;, value);
        return;
    }

    // Handle faults
    if([value isKindOfClass:[SoapFault class]]) {
        NSLog(@&quot;%@&quot;, value);
        return;
    }

    // Do something with the NSMutableArray* result
    NSMutableArray* result = (NSMutableArray*)value;
    NSLog(@&quot;salesOrderList returned the value: %@&quot;, result);
}
</pre>
<p>All API call examples are located in INMagentoServiceExample class. Just copy anything you need from there and paste it to your view controller. Now you are ready to consume SOAP web service in iOS environment.</p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/mobile-development/iphone-development/consuming-soap-web-services-in-ios/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Develop your own Magento mobile application</title>
		<link>http://inchoo.net/ecommerce/magento/develop-your-own-magento-mobile-application/</link>
		<comments>http://inchoo.net/ecommerce/magento/develop-your-own-magento-mobile-application/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 12:49:42 +0000</pubDate>
		<dc:creator>Ivica Tadic</dc:creator>
				<category><![CDATA[Android development]]></category>
		<category><![CDATA[iPhone development]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Mobile development]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=10135</guid>
		<description><![CDATA[Hi everybody. Do you want to develop your own Magento mobile application? Great! I&#8217;ll give you some pointers on how to get a grasp on Magento&#8217;s XMLConnect, an extension that &#8230;]]></description>
			<content:encoded><![CDATA[<p>Hi everybody.</p>
<p>Do you want to develop your own Magento mobile application?</p>
<p>Great! I&#8217;ll give you some pointers on how to get a grasp on Magento&#8217;s <strong>XMLConnect</strong>, an extension that serves Magento Mobile application.<br />
<span id="more-10135"></span><br />
Keep in mind that XMLConnect extension comes &#8216;preinstalled&#8217; in Magento CE 1.5 and later, but you can get it from Magento Connect.</p>
<h2>The Big Picture</h2>
<p>Awhile ago, Magento Mobile was released for iPhone, iPad and Android devices. It consists of two parts: a Magento web store with an XMLConnect extension installed and configured, and a native application itself.</p>
<p>XMLConnect extension&#8217;s purpose here is to serve your application with requested data (category listing, product information, etc.) and execute desired actions (buy, log in, checkout, etc.).<br />
Basically, application sends a request (plain HTTP GET/POST) to your Magento store (XMLConnect) and it responds with an XML result.</p>
<p>The best way to get familiar with XMLConnect is to see it in action:</p>
<p>1) Set up a Magento store on your web server with some sample data<br />
2) In <strong>Magento admin-&gt;Mobile-&gt;Manage Apps</strong> add a new mobile application<br />
3) Install Magento Mobile on your device<br />
4) Start Magento Mobile on your device with your Magento store url and the app code of the application you just created in <strong>Magento admin-&gt;Mobile</strong></p>
<p><a rel="attachment wp-att-10141" href="http://inchoo.net/ecommerce/magento/develop-your-own-magento-mobile-application/attachment/start/"><img class="aligncenter size-full wp-image-10141" title="Magento Mobile login" src="http://inchoo.net/wp-content/uploads/2011/07/start.png" alt="" width="264" height="440" /></a></p>
<p>While exploring Magento Mobile, keep an eye on (Apache) activity log file to see exactly what the application is requesting from the server.<br />
For instance, the first request would probably be the application <strong>configuration</strong> request.</p>
<p><strong>/xmlconnect/configuration/index/app_code/defand1/screen_size/480&#215;800</strong></p>
<p>We recognize in this request an app code (in this example it is &#8220;defand1&#8243;) and your device&#8217;s screen size (here it&#8217;s &#8220;480&#215;800&#8243;).<br />
Let&#8217;s check out what is the result of this request. In your browser navigate to:</p>
<p><strong>http://magentoivica.loc/xmlconnect/configuration/index/app_code/defand1/screen_size/480&#215;800</strong><br />
(obviously, replace &#8220;magentoivica.loc&#8221; with your web server name. Recognize the rest of the url?)</p>
<p>Voilá, what you should get is an entire configuration of your app (as it is set in your Magento admin) in an XML format.</p>
<p>Using this practice, you can easily explore most of the capabilities of XMLConnect. Also, it may be necessary to get into the code of XMLConnect if you want to master some of the more advanced actions (such as the checkout process).</p>
<p>Ok, now you know basics of using XMLConnect, how to make a request and what to expect as a result. But, how to use this information in an Android (Java) environment?</p>
<p>You probably already know something about <strong>parsing XML data</strong>. I will show you a better way (probably) which will allow you to have more <strong>modularity</strong> and <strong>sustainability</strong> in an Android application development.</p>
<p>So, stay tuned <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/ecommerce/magento/develop-your-own-magento-mobile-application/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Improve your spelling skills while having lots of fun!</title>
		<link>http://inchoo.net/tools-frameworks/improve-your-spelling-skills-while-having-lots-of-fun/</link>
		<comments>http://inchoo.net/tools-frameworks/improve-your-spelling-skills-while-having-lots-of-fun/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 12:47:34 +0000</pubDate>
		<dc:creator>Toni Anicic</dc:creator>
				<category><![CDATA[iPhone development]]></category>
		<category><![CDATA[Tools & Frameworks]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=5338</guid>
		<description><![CDATA[Our friends and coworkers at Surgeworks Mobile released an awesome iPhone game application called &#8220;Letter Blocks World&#8220;. We are playing with it for days now and having lots of fun! &#8230;]]></description>
			<content:encoded><![CDATA[<p>Our friends and coworkers at Surgeworks Mobile released an awesome iPhone game application called <strong>&#8220;<a href="http://surgeworksmobile.com/feature/letterblocks/">Letter Blocks World</a>&#8220;</strong>. We are playing with it for days now and having lots of fun!<span id="more-5338"></span></p>
<p><a href="http://itunes.apple.com/us/app/letter-blocks-world-word-game/id387904242?mt=8"><img src="http://inchoo.net/wp-content/uploads/2010/09/appstore.jpg" alt="" title="appstore" width="213" height="78" align="right" style="margin-left:7px;" /></a>There are lots of people that visit inchoo.net who are not natural English speakers. This game will be awesome for you. You&#8217;ll start thinking about all sorts of different words and hopefully learn how to spell them correctly. But it is not all about learning, this game is fun! There are 3 different mods you can play with: Story Mode, Arcade Mode and Clear the Board.</p>
<h3>Story Mode</h3>
<p>An increasingly challenging game with 15 levels and a different target for each level. Reach the target score or compose the number of words required to complete the level before the time runs out! Conquer all 5 Letter Block Worlds by completing the 15 levels in one game. Don’t let the board fill in or you’ll loose the game!</p>
<h3>Arcade Mode</h3>
<p>Freestyle in a random world. The higher you score, the faster blocks will fall on the board. How long will you last? Challenge the your friends to beat your high score through the Open Feint gaming network!</p>
<h3>Clear the Board</h3>
<p>Look! A board full of blocks! Can you clean it up without shaking the device to get more blocks? Achieve that to enter the global high scores for this game mode!</p>
<h3>Warning: Magento is NOT a word. xD</h3>
<p>You can <a href="http://itunes.apple.com/us/app/letter-blocks-world-word-game/id387904242?mt=8">buy the app here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/tools-frameworks/improve-your-spelling-skills-while-having-lots-of-fun/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to get some awesome code for your iPhone apps</title>
		<link>http://inchoo.net/mobile-development/iphone-development/how-to-get-some-awesome-code-for-your-iphone-apps/</link>
		<comments>http://inchoo.net/mobile-development/iphone-development/how-to-get-some-awesome-code-for-your-iphone-apps/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 11:53:43 +0000</pubDate>
		<dc:creator>Toni Anicic</dc:creator>
				<category><![CDATA[iPhone development]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[tag]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=5000</guid>
		<description><![CDATA[Our &#8220;sister&#8221; company Surgeworks Mobile just launched an online store selling components for iPhone, iPod touch and iPad applications. The store is located here and it&#8217;s currently featuring two products: &#8230;]]></description>
			<content:encoded><![CDATA[<p>Our &#8220;sister&#8221; company <a href="http://surgeworksmobile.com">Surgeworks Mobile</a> just launched an online store selling components for iPhone, iPod touch and iPad applications. <span id="more-5000"></span></p>
<p><a href="http://surgeworksmobile.com/shop">The store is located here</a> and it&#8217;s currently featuring two products: </p>
<ul>
<li>A completely free <a href="http://surgeworksmobile.com/shop/review-alert-for-iphone-sdk">Review Alert component for iPhone SDK</a> that gives you the ability to pop-up an alert after a chosen period of time, asking user to review the app.</li>
<li>A <a href="http://surgeworksmobile.com/shop/tag-cloud-component-for-iphone-sdk">3D Tag Cloud Component for iPhone SDK</a>, with a special launch discount of 50% available for only $ 49.00 USD!
</li>
</ul>
<p>We hope many more useful code libraries will be released on Surgeworks Mobile&#8217;s shop as the time passes by, so make sure you stay tuned to the links above.</p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/mobile-development/iphone-development/how-to-get-some-awesome-code-for-your-iphone-apps/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Prayer App website launched</title>
		<link>http://inchoo.net/mobile-development/iphone-development/prayer-app-website-launched/</link>
		<comments>http://inchoo.net/mobile-development/iphone-development/prayer-app-website-launched/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 12:57:30 +0000</pubDate>
		<dc:creator>Tomislav Bilic</dc:creator>
				<category><![CDATA[iPhone development]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=4765</guid>
		<description><![CDATA[Mobile Apps team launched a Prayer website as a support for the most complete prayer database available for the iPhone, iPod Touch and iPad. The app is Easy-to-use, multi-language Christian &#8230;]]></description>
			<content:encoded><![CDATA[<p><a href="http://surgeworksmobile.com/">Mobile Apps team</a> launched a <a href="http://praywith.us.com/">Prayer website</a> as a support for the most complete prayer database available for the iPhone, iPod Touch and iPad. The app is Easy-to-use, multi-language Christian Prayers database. The ultimate reference to Catholic Prayers for your iPhone and iPod Touch! The App can work without an Internet connection and provided users with access to 1,000+ prayers in English. It also contains over 100 prayers in Italian and the most popular prayers in Latin, Spanish, French, German and Portuguese. The newest version of the app also features “favorites” and “search” functionality.<br />
<span id="more-4765"></span></p>
<p><a href="http://praywith.us.com/"><img class="aligncenter size-full wp-image-4769" title="Prayer, Catholic Prayers Database" src="http://inchoo.net/wp-content/uploads/2010/06/prayer.jpg" alt="Prayer, Catholic Prayers Databas" width="600" height="297" /></a></p>
<p><a href="http://liturgy-of-the-hours.com/iphoneapp/prayers"><img class="alignnone" title="Available on the iPhone App Store" src="http://praywith.us.com/images/appstorelight.png" alt="Available on the iPhone App Store" width="198" height="64" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/mobile-development/iphone-development/prayer-app-website-launched/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Surgeworks Mobile launched!</title>
		<link>http://inchoo.net/mobile-development/iphone-development/surgeworks-mobile-launched/</link>
		<comments>http://inchoo.net/mobile-development/iphone-development/surgeworks-mobile-launched/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 13:33:30 +0000</pubDate>
		<dc:creator>Toni Anicic</dc:creator>
				<category><![CDATA[iPhone development]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=4210</guid>
		<description><![CDATA[Surgeworks has grown into a pretty big company with several different teams and areas of expertise. In an effort to make it clear for the website visitors what the company &#8230;]]></description>
			<content:encoded><![CDATA[<p>Surgeworks has grown into a pretty big company with several different teams and areas of expertise. In an effort to make it clear for the website visitors what the company does, we started separating teams into different &#8220;micro-brands&#8221;. <span id="more-4210"></span></p>
<p>First of these brands was Inchoo, dedicated to e-commerce design, development, and marketing. It&#8217;s been a while since we figured out that we need a separate micro-brand such as Inchoo for our mobile application development services, and today, we present you the <strong><a href="http://surgeworksmobile.com/">Surgeworks Mobile website</a></strong>.</p>
<p><img class="alignnone size-full wp-image-4212" title="Surgeworks" src="http://inchoo.net/wp-content/uploads/2010/03/mobilesurgeworks.jpg" alt="" width="620" height="233" /></p>
<p>Surgeworks Mobile is a web presentation of our mobile applications development unit. Homepage, much like Inchoo, features new blog posts. We hope some of our loyal readers here at Inchoo that are also interested in the mobile application development will like the content over there and start following that blog as well.</p>
<p>Site also features the <a href="http://surgeworksmobile.com/apps">mobile applications</a> that the team already did and there are sections describing the <a href="http://surgeworksmobile.com/services">services</a> and the <a href="http://surgeworksmobile.com/team">team</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/mobile-development/iphone-development/surgeworks-mobile-launched/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Articles about Apple iPad</title>
		<link>http://inchoo.net/mobile-development/iphone-development/articles-about-apple-ipad/</link>
		<comments>http://inchoo.net/mobile-development/iphone-development/articles-about-apple-ipad/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 11:03:27 +0000</pubDate>
		<dc:creator>Toni Anicic</dc:creator>
				<category><![CDATA[iPhone development]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPad]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=3883</guid>
		<description><![CDATA[As Steve Jobs showed us the long anticipated tablet yesterday, internet (as expected) went super-crazy about it. There has been so much coverage that at some point 8 out of &#8230;]]></description>
			<content:encoded><![CDATA[<p>As Steve Jobs showed us the long anticipated tablet yesterday, internet (as expected) went super-crazy about it. There has been so much coverage that at some point 8 out of 10 trending topics on Twitter were iPad related.<span id="more-3883"></span> I believe everything worth saying about this device has already been written and there&#8217;s not much point in me repeating it, so I&#8217;ll just link to some good resources and explain them.</p>
<p>I composed a list of some really nice articles about Apple&#8217;s iPad published so far:</p>
<p><strong><a href="http://www.webpronews.com/topnews/2010/01/27/5-reasons-why-the-ipad-fails-to-impress">5 Reasons Why The iPad Fails To Impress (WebProNews)</a></strong></p>
<p>WebProNews&#8217; Jeremy Muncy lists five reasons of his disappointment with iPad. The reasons are (in order of appearance): the name, no multitasking, no camera, huge ridiculous adapters, same touch keyboard with a bonus one: no flash.</p>
<ul>
<li>Similar: <a href="http://i.gizmodo.com/5458382/8-things-that-suck-about-the-ipad">8 Things That Suck About the iPad (Gizmodo)</a></li>
</ul>
<p><strong><a href="http://www.techcrunch.com/2010/01/27/ipad-video-demo/">Video: The iPad In Action (TechCrunch)</a></strong></p>
<p>MG Siegler of TechCrunch shows us a video (not one of these videos on Apple&#8217;s official site) of iPad in action. This 2:14 in length YouTube video called &#8220;iPad hands on&#8221; is pretty useful in seeing how iPad truly works.</p>
<p><strong><a href="http://www.techcrunch.com/2010/01/28/steve-wozniak-ipad-video/">Steve Wozniak Talks iPad (Video) (TechCrunch)</a></strong></p>
<p>Another TechCrunch article, written by Robin Wauters features a video of Steve Wozniak (Apple&#8217;s co-founder) talking about iPad. Steve talks about what we can expect in future (hint: magazine subscriptions and similar features).</p>
<p><a href="http://blogs.adobe.com/flashplatform/2010/01/building_ipad_apps.html"><strong>Building iPad Applications with Flash (Adobe&#8217;s Blog)</strong></a></p>
<p>Although Apple stated iPad doesn&#8217;t support flash, Adobe wrote this great blog posts reminding developers of possibility of developing Flash apps for this platform. Adobe says:</p>
<blockquote><p>While we put the finishing touches on the Packager for iPhone, we have invited a few developers and designers to join a closed pre-release program. As they are testing it and giving us feedback, they also have been able to use it to build some applications that they have submitted to the iTunes App Store.</p></blockquote>
<p><strong><a href="http://mashable.com/2010/01/27/ipad/">Apple iPad: A Comprehensive Guide (Mashable)</a></strong></p>
<p>Ben Parr created a comprehensive guide about iPad at Mashable that includes the overview, the specifications, interface, web, emails and maps, connectivity, e-books and publishing features, TV movies and video, gaming, productivity and iWork, pricing, availability, competitors, what the iPad lacks and list of recommended additional reading. The closing statement is really interesting:</p>
<blockquote><p>The point is this: It’s a first generation device, and it’s not going to include a lot of the things we want. With that said, make sure you know the drawbacks before buying.</p></blockquote>
<p><a href="http://mashable.com/2010/01/27/9-upcoming-tablet-alternatives-to-the-apple-ipad/"><strong>9 Upcoming Tablet Alternatives to the Apple iPad (Mashable)</strong></a></p>
<p>The title of the post says it all, it&#8217;s a list and explanation of 9 alternatives (I hate when this word is used in plural -.-) to the new Apple iPad. Including: HP Slate, Dell Streak, Asus Eee Tablet, Compal Tablet, Notion Ink Adam, MSI, Quanta, ICD Vega and Google and HTC but not including the JooJoo (ex. CrunchPad).</p>
<p><a href="http://www.engadget.com/2010/01/27/editorial-engadget-on-the-ipad/"><strong>Editorial: Engadget on the Apple iPad (Engadget)</strong></a></p>
<p>Nilay Patel wrote a really extensive article about iPad at Engadget. The articles includes the opinion of a lot of Engadget&#8217;s staff members including the people who have been actually using the device. Important quotes:</p>
<blockquote><p>I know that I&#8217;ll find a reason to drop $500 (at least) on this thing &#8212; but for the vast majority of consumers, I think the case for the iPad has yet to be made.</p>
<p>As a portable gaming platform, the iPhone represented a sea change in quality; at first blush, the iPad carries no such distinction.</p>
<p>This is simply Cupertino&#8217;s answer to the smartbook executed with typical Apple spit and polish, and whether anyone really needs the world&#8217;s slickest smartbook remains to be seen.</p>
<p>My initial impulse is always, I have to have that. But then reality sets in: do I really need a third device?</p>
<p>I&#8217;m not going to form an opinion until I actually read with the iPad, but it looks like the best alternative to an actual book I&#8217;ve ever seen.</p>
<p>Touché, Mr. Jobs, but it&#8217;s also easy to argue that a $399 netbook can do a number of things better than the $499 Apple iPad &#8212; like multitask, play Flash video and make a video call.</p></blockquote>
<p><a href="http://gizmodo.com/5458531/why-the-ipad-will-crush-netbooks-and-ebook-readers"><strong>Why the iPad Will Crush Netbooks and Ebook Readers (Gizmodo)</strong></a></p>
<p>A nice analysis of current state of the industry and prediction of how and why will Apple&#8217;s iPad crush netbooks and ebook readers. It talks about iPads targeted audience in a really smart and logical way.</p>
<p><strong>Two ways to win Apple&#8217;s iPad using your Twitter account:</strong></p>
<ul>
<li><a href="http://mashable.com/2010/01/27/apple-tablet-contest/">CONTEST: Tweet to Win a Free Apple iPad!</a></li>
<li><a href="http://blog.hubspot.com/blog/tabid/6307/bid/5537/ReTweet-This-to-Win-One-of-3-Apple-iPad-Tablets-from-HubSpot.aspx">ReTweet This to Win One of 3 Apple iPad Tablets from @HubSpot</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/mobile-development/iphone-development/articles-about-apple-ipad/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ShoutEm iPhone app on App Store</title>
		<link>http://inchoo.net/mobile-development/iphone-development/shoutem-iphone-app-on-app-store/</link>
		<comments>http://inchoo.net/mobile-development/iphone-development/shoutem-iphone-app-on-app-store/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 08:51:04 +0000</pubDate>
		<dc:creator>Ivan Kalaica</dc:creator>
				<category><![CDATA[iPhone development]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[ShoutEm]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=3321</guid>
		<description><![CDATA[Once again I can proudly say one more application is finished and from first attempt approved by Apple. On this project I was working on user interface development part with &#8230;]]></description>
			<content:encoded><![CDATA[<p>Once again I can proudly say one more application is finished and from first attempt approved by Apple. On this project I was working on user interface development part with all user interaction logic. To reduced, everything you see and feel. Just to clarify, I am still working on same project and we are preparing second version which has many surprises. <span id="more-3321"></span>Bellow you can read few words from ShoutEm company about this fine product.</p>
<p><em>The ShoutEm iPhone app is actually two apps in one: it’s a fully functional Twitter client, but in addition to Twitter, you can also use it to read and write posts to twitter_timelineany of the networks on ShoutEm, as well as StatusNet, the open source microblogging service.</em></p>
<p><em>For example, let’s say that you’ve created a network on ShoutEm for your coworkers, but you also have two accounts on Twitter. With the ShoutEm iPhone application, you can easily read the posts and write new ones for all three networks, all from one place.</em></p>
<p><img class="aligncenter size-full wp-image-3327" title="shout_thumb_1" src="http://inchoo.net/wp-content/uploads/2009/11/shout_thumb_1.jpg" alt="shout_thumb_1" width="224" height="320" /><img class="aligncenter size-full wp-image-3326" title="users_profile" src="http://inchoo.net/wp-content/uploads/2009/11/users_profile.jpg" alt="users_profile" width="224" height="320" /></p>
<p><em>Here are the most important features of the ShoutEm iPhone application:</em></p>
<p><em>* handle multiple accounts on your favorite microblogging networks: ShoutEm, Twitter or StatusNet (Laconi.ca)<br />
* browse through your friend’s statuses, public statuses or mentions<br />
* update your status (with photo or location attached)<br />
* explore user profiles, their followers or statuses/tweets<br />
* follow or stop following users<br />
* explore received or sent private messages; write direct messages to users<br />
* track conversations in our threaded view (ShoutEm specific)<br />
* status search</em></p>
<p><a href="http://itunes.apple.com/hr/app/shoutem/id340195913?mt=8" target="_blank">Click here to download ShoutEm iPhone app for FREE</a></p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/mobile-development/iphone-development/shoutem-iphone-app-on-app-store/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t use the word &#8220;Demo&#8221; in an iPhone app!</title>
		<link>http://inchoo.net/mobile-development/iphone-development/please-just-without-demo-word-in-iphone-app/</link>
		<comments>http://inchoo.net/mobile-development/iphone-development/please-just-without-demo-word-in-iphone-app/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 13:26:40 +0000</pubDate>
		<dc:creator>Ivan Kalaica</dc:creator>
				<category><![CDATA[Fun & Events]]></category>
		<category><![CDATA[iPhone development]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=3224</guid>
		<description><![CDATA[Last month I had an opportunity to work on a great iPhone project with winning idea. We&#8217;ve built two applications for the same project &#8211; full and lite application. After &#8230;]]></description>
			<content:encoded><![CDATA[<p>Last month I had an opportunity to work on a great iPhone project with winning idea. We&#8217;ve built two applications for the same project &#8211; full and lite application. After a while we finished testing and both of the applications were 99% ready for submission on the App Store.<span id="more-3224"></span></p>
<p>So we submitted the applications and soon we&#8217;ve received a negative response message from Apple. Unfortunately, lite <strong>application didn&#8217;t pass revision because it contained a word &#8220;Demo&#8221;</strong>, which in Apple terms is not acceptable from the marketing point of view. Well, it would be funny if it wasn&#8217;t sad. What to say on fact that one insignificant word like &#8220;Demo&#8221; is key point to reject app? Who knows what else is prohibited&#8230; Maybe this kind of strictness is crucial to make corporation like Apple. I just hope that this small stain passes as time passes these days (very fast) because there are also many good platforms on the market that don&#8217;t have stain like this small one. No anarchy at Apple! <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/mobile-development/iphone-development/please-just-without-demo-word-in-iphone-app/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Memory leak by CFNetwork?</title>
		<link>http://inchoo.net/mobile-development/iphone-development/memory-leak-by-cfnetwork/</link>
		<comments>http://inchoo.net/mobile-development/iphone-development/memory-leak-by-cfnetwork/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 09:53:07 +0000</pubDate>
		<dc:creator>Ivan Kalaica</dc:creator>
				<category><![CDATA[iPhone development]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=3139</guid>
		<description><![CDATA[It&#8217;s been a while since I wrote my last post. Since then I got married, completed faculty, finished three iPhone applications for clients and three internal. Well, these are the &#8230;]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since I wrote my last post. Since then I got married, completed faculty, finished three iPhone applications for clients and three internal. Well, these are the main reasons for my absence and I think they are justified. <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <span id="more-3139"></span></p>
<p>Now lets get back on memory leak issue created by CFNetwork class. If you create NSURLConnection object you will get this memory leak. First time I meet with this issue I was thinking it was my fault as developer, but when I tracked leak I realized that memory leak is created by framework internally. Instruments tool says clearly &#8211; &#8220;Responsible caller &#8211; CFNetwork&#8221;.</p>
<p>Well, this is my own conclusion and I might not be right but considering all given facts the leak is created by CFNetwork class. Also, I am not only one developer that has same issue. Many of iPhone developers has complain on same memory leak created by CFNetwork class. To solve this issue I try to put autoreleas pool like code below but no luck.</p>
<p>NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];<br />
&#8230;<br />
[pool release];</p>
<p>Also I tried to create NSURLCache object like code below but no luck.</p>
<p>NSURLCache *sharedCache = [[NSURLCache alloc] initWithMemoryCapacity:0 diskCapacity:0 diskPath:nil];<br />
[NSURLCache setSharedURLCache:sharedCache];<br />
[sharedCache release];</p>
<p>If any of you has meet similar issue or maybe has solution for this memory leak please leave comment bellow. Thanks! <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/mobile-development/iphone-development/memory-leak-by-cfnetwork/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>MATHO &#8211; iPhone game from Surgeworks workshop</title>
		<link>http://inchoo.net/mobile-development/iphone-development/matho-iphone-game-from-surgeworks-workshop/</link>
		<comments>http://inchoo.net/mobile-development/iphone-development/matho-iphone-game-from-surgeworks-workshop/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 21:07:33 +0000</pubDate>
		<dc:creator>Tomislav Bilic</dc:creator>
				<category><![CDATA[iPhone development]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=3067</guid>
		<description><![CDATA[Surgeworks recently developed a new MATHO 2 for the iPhone/iPod Touch. It is a BINGO style math game for students grades K-12 developed for Education 4 Free, LLC. The goal of MATHO is to get five correct answers in a row as quickly as possible, either horizontally, vertically or diagonally. The problem is placed at the top of the screen and the player must select the correct answer on the gameboard. Each incorrect answer results in a penalty of five seconds. The score at the end of the game is the total time to complete MATHO, so the best scores are the lowest.]]></description>
			<content:encoded><![CDATA[<p>Surgeworks recently developed a new MATHO 2 for the iPhone/iPod Touch. It is a BINGO style math game for students grades K-12 developed for Education 4 Free, LLC. The goal of MATHO is to get five correct answers in a row as quickly as possible, either horizontally, vertically or diagonally. The problem is placed at the top of the screen and the player must select the correct answer on the gameboard. Each incorrect answer results in a penalty of five seconds. The score at the end of the game is the total time to complete MATHO, so the best scores are the lowest.<br />
<span id="more-3067"></span><br />
The player can choose game types of Addition, Subtraction, Multiplication or Division. The difficulty can be set to Easy, Medium, Hard and Custom. The Easy difficulty poses problems with values up to 8, Medium up to 12 and Hard up to 20. Custom difficulty allows the player to choose the maximum values for N1 and N2, and the resulting difficulty is the sum of these values. High scores are stored locally and globally. Local scores are the top 8 scores from games played on the player’s device. Global scores are submitted from all players around the world.</p>
<p><img class="size-full wp-image-3069" title="Matho Screens" src="http://inchoo.net/wp-content/uploads/2009/10/matho02.jpg" alt="Matho Game Screencast" width="620" height="433" /></p>
<p>View more images on <a href="http://surgeworks.com/our-work/matho-iphone-game-design-and-development/">Surgeworks website</a>. </p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/mobile-development/iphone-development/matho-iphone-game-from-surgeworks-workshop/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Two great API’s for your iPhone app!</title>
		<link>http://inchoo.net/mobile-development/iphone-development/two-great-apis-for-your-iphone-app/</link>
		<comments>http://inchoo.net/mobile-development/iphone-development/two-great-apis-for-your-iphone-app/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 09:55:37 +0000</pubDate>
		<dc:creator>Ivan Kalaica</dc:creator>
				<category><![CDATA[iPhone development]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=2706</guid>
		<description><![CDATA[If you want to ensure best user experience for your app users you just must integrate this two API in your app. First of two is Get Satisfaction iPhone API. &#8230;]]></description>
			<content:encoded><![CDATA[<p>If you want to ensure best user experience for your app users you just must integrate this two API in your app. First of two is Get Satisfaction iPhone API. Satisfaction Remote Component enables iPhone developers to embed support for Get Satisfaction within their apps. This works somewhat like the &#8220;Feedback&#8221; widget on many websites (example on <a href="http://getsatisfaction.com/">getsatisfaction.com</a> homepage). Briefly, this API is integrates feedback forum for user.<span id="more-2706"></span> It has all features like one on websites and it is very confident. For one that doesn&#8217;t know what GS Remote Component is here you can find little more information about this great API. </p>
<p><a href="http://code.google.com/p/satisfactionremotecomponent/">http://code.google.com/p/satisfactionremotecomponent/</a> </p>
<p>Flurry Analytics iPhone API is second one. This is really great API that every better developer would integrate. This API is analytics tool for iphone application which provides complete insight analysis of the every app utilization and not just for iPhone platform. Here is little info about it: &#8220;Flurry Analytics provides accurate, real time data to developers about how consumers use their mobile applications, as well as how applications are performing across different handsets. Application developers receive aggregated usage and performance data, as well as robust reporting and analysis tools. With this data, developers can identify issues and opportunities, create a more informed product roadmap, increase retention and grow their user base.&#8221; You can find more info on this link. </p>
<p><span><a href="http://www.flurry.com/product/index.html">http://www.flurry.com/product/index.html</a></span></p>
<p>From past experience I can confirm that our app users are very satisfied with services that these two tools give them, together with us.</p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/mobile-development/iphone-development/two-great-apis-for-your-iphone-app/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to check internet connection reachability in wireless local area network?</title>
		<link>http://inchoo.net/mobile-development/iphone-development/how-to-check-internet-connection-reachability-in-wireless-local-area-network/</link>
		<comments>http://inchoo.net/mobile-development/iphone-development/how-to-check-internet-connection-reachability-in-wireless-local-area-network/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 08:41:05 +0000</pubDate>
		<dc:creator>Ivan Kalaica</dc:creator>
				<category><![CDATA[iPhone development]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[LAN]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=2577</guid>
		<description><![CDATA[You think you will find answer on this question here? I am sorry to disappoint but you are not going to find right answer here. Here you will find ways &#8230;]]></description>
			<content:encoded><![CDATA[<p>You think you will find answer on this question here? I am sorry to disappoint but you are not going to find right answer here. Here you will find ways how you can not check internet connection reachability in some wireless local area network. <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  <span id="more-2577"></span></p>
<p>I know you will now say there is &#8220;Reachability&#8221; named sample app at developer connect library to download, but it ain&#8217;t what I am looking for. What I am looking for is feature that will tell me do I have internet connection while I have network connection, to be more accurate, do I have internet connection while I am connected to some wireless local area network? I know, some of you will now say: &#8220;Well you can make NSURLConnection and wait for didFailWithError or connectionDidFinishLoading delegate methods&#8221;. Yeah, but this again ain&#8217;t what I am looking for.</p>
<p>What I was really looking for is something like pinging some host. Again, you will now say: &#8220;Well, you might don&#8217;t know but Reachability sample app has way to test reachability of given host.&#8221; Yeah, but this again ain&#8217;t what I am looking for.</p>
<p>I just hope that Apple&#8217;s developers will soon add some really easy way to do something like this. Please don&#8217;t hesitate to leave comments, and please tell me I am wrong on this one and easy way really exist. Please that I am blind as mole and I can&#8217;t see! <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/mobile-development/iphone-development/how-to-check-internet-connection-reachability-in-wireless-local-area-network/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How to save UIImage into iPhone&#8217;s saved photos album?</title>
		<link>http://inchoo.net/mobile-development/iphone-development/how-to-save-uiimage-into-iphones-saved-photos-album/</link>
		<comments>http://inchoo.net/mobile-development/iphone-development/how-to-save-uiimage-into-iphones-saved-photos-album/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 11:41:25 +0000</pubDate>
		<dc:creator>Ivan Kalaica</dc:creator>
				<category><![CDATA[iPhone development]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=2456</guid>
		<description><![CDATA[This is quite simple, infact it is one row code like everything else in iPhone development. Well, not everything is &#8220;quite&#8221; simple as this but most of stuff is &#8220;quite&#8221; &#8230;]]></description>
			<content:encoded><![CDATA[<p>This is quite simple, infact it is one row code like everything else in iPhone development. Well, not everything is &#8220;quite&#8221; simple as this but most of stuff is &#8220;quite&#8221; easy to implement. Enough with &#8220;quite&#8221; ! Here is really simple code;<span id="more-2456"></span></p>
<pre class="brush: cpp; title: ; notranslate">UIImage *myImage = [UIImage imageNamed:@&quot;me.png&quot;];

UIImageWriteToSavedPhotosAlbum(myImage, self, @selector(image:didFinishSavingWithError:contextInfo:), nil);

// And if you wish add this selector method in code;

- (void) image:(UIImage*)image didFinishSavingWithError:(NSError *)error contextInfo:(NSDictionary*)info;</pre>
<p>That&#8217;s all you have to add! Quite simple, is it? <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/mobile-development/iphone-development/how-to-save-uiimage-into-iphones-saved-photos-album/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to override UIWebView links request action with your own custom method</title>
		<link>http://inchoo.net/mobile-development/iphone-development/how-to-override-uiwebview-links-request-action-with-your-own-custom-method/</link>
		<comments>http://inchoo.net/mobile-development/iphone-development/how-to-override-uiwebview-links-request-action-with-your-own-custom-method/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 11:55:54 +0000</pubDate>
		<dc:creator>Ivan Kalaica</dc:creator>
				<category><![CDATA[iPhone development]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[method]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=2302</guid>
		<description><![CDATA[If you did not understand from the post title what I am trying to say, here is another explanation. If you have an instance of UIWebView class implemented in your &#8230;]]></description>
			<content:encoded><![CDATA[<p>If you did not understand from the post title what I am trying to say, here is another explanation. If you have an instance of UIWebView class implemented in your view and you want to call one of your custom method when user clicks on link in that <span id="more-2302"></span>UIWebView instance, first thing you must do to achieve that is set the delegate of that UIWebView class instance on you instance of UIViewController class. This is almost in same time last thing. Now just copy&amp;paste this code into your class that implements UIWebView instance and add call to your method.</p>
<pre class="brush: cpp; title: ; notranslate">- (BOOL)webView:(UIWebView*)webView shouldStartLoadWithRequest:(NSURLRequest*)request navigationType:(UIWebViewNavigationType)navigationType {

if(navigationType == UIWebViewNavigationTypeLinkClicked) {

if (overrideLinksSwitch.on == TRUE) {

[self myMethodAction];

[myWebView stopLoading];

return YES;
}

else {
return YES;
}
}

return YES;
}</pre>
<p>You can download example app <a href="http://inchoo.net/wp-content/uploads/2009/06/WebViewLink.zip">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/mobile-development/iphone-development/how-to-override-uiwebview-links-request-action-with-your-own-custom-method/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Interview with Ivan Kalaica</title>
		<link>http://inchoo.net/mobile-development/iphone-development/interview-with-ivan-kalaica-iphone-expert/</link>
		<comments>http://inchoo.net/mobile-development/iphone-development/interview-with-ivan-kalaica-iphone-expert/#comments</comments>
		<pubDate>Thu, 07 May 2009 20:01:08 +0000</pubDate>
		<dc:creator>Tomislav Bilic</dc:creator>
				<category><![CDATA[iPhone development]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://inchoo.net/?p=1577</guid>
		<description><![CDATA[Zec Online Jornal made an interview few weeks ago with our iPhone developer: Ivan Kalaica. The interview covered Ivan's motivation to work on iPhone projects, our partnership with Surgeworks, our portfolio and many other topics.  Recently Ivan started to write a blog in Croatian language about iPhone development: inchoo.hr. His work became recognized in local market and got some media attention.]]></description>
			<content:encoded><![CDATA[<p><a rel="nofollow" href="http://zecina.blogspot.com/2009/04/one-of-most-interesting-software-sales.html">Zec Online Jornal</a> made an interview few weeks ago with our iPhone developer: Ivan Kalaica. The interview covered Ivan&#8217;s motivation to work on iPhone projects, our partnership with <a rel="nofollow" href="http://surgeworks.com/" target="_blank">Surgeworks</a>, our portfolio and many other topics.  Recently Ivan started to write a blog in Croatian language about iPhone development: <a href="http://inchoo.hr/" target="_blank">inchoo.hr</a>. His work became recognized in local market and got some media attention.</p>
<p><span id="more-1577"></span>Here are some of the questions:</p>
<p><span class="rss:item"><span style="font-weight: bold;">One of the most interesting software <a href="http://www.apple.com/itunes/billion-app-countdown/">sales</a> environments on the planet  is <a href="http://www.apple.com/iphone/">iPhone</a>. Why <a href="http://app-store.appspot.com/">programs</a> on the phone ? Do these small programs/apps on the phone make our World better place ? Is this a secret for success ? Why now and not before few years ? </span></span></p>
<p>Answer is fairly simple. It’s simple and it is Apple’s. You can make very <a href="http://blog.wired.com/gadgets/2008/09/indie-developer.html">good money</a> programming software for iPhone and have fun at the same time. Just like I do now. Apple makes world better place. <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Just kidding but there is still some small amount of true in that sentence.</p>
<p><span class="rss:item"><span style="font-weight: bold;">Why iPhone mobile platform is your choice and since when you are developing apps for iPhone ?</span></span></p>
<p><a href="../">Inchoo</a> company gave me a chance to work along with <a href="http://surgeworks.com/">Surgeworks</a> company on iPhone development in October last year. I accepted the offer and I’m satisfied now I made that decision then. In beginning it was maybe little hard but now I can say I am happy I have then decided to work along with these great people.</p>
<p><span class="rss:item">Read the rest of interview at this URL:<br />
<a href="http://zecina.blogspot.com/2009/04/one-of-most-interesting-software-sales.html" target="_blank">http://zecina.blogspot.com/2009/04/one-of-most-interesting-software-sales.html</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://inchoo.net/mobile-development/iphone-development/interview-with-ivan-kalaica-iphone-expert/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.444 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-21 12:03:24 -->

