<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[iPhone Developer Help - All Forums]]></title>
		<link>http://www.iphonedevhelp.com/forums/</link>
		<description><![CDATA[iPhone Developer Help - http://www.iphonedevhelp.com/forums]]></description>
		<pubDate>Thu, 28 Aug 2008 20:02:55 -0400</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Can I Test Binaries Built for Distribution?]]></title>
			<link>http://www.iphonedevhelp.com/forums/showthread.php?tid=55</link>
			<pubDate>Sun, 29 Jun 2008 10:45:09 -0400</pubDate>
			<guid isPermaLink="false">http://www.iphonedevhelp.com/forums/showthread.php?tid=55</guid>
			<description><![CDATA[I have an app that seems to build and run perfectly on two devices in release configuration, but when I switched to my distribution profile (which only changes the code signing stuff, and seems to work), built the app and sent it to apple via iTunes Connect, they told me it was crashing.<br />
<br />
Is there any way to test binaries I have built for distribution?]]></description>
			<content:encoded><![CDATA[I have an app that seems to build and run perfectly on two devices in release configuration, but when I switched to my distribution profile (which only changes the code signing stuff, and seems to work), built the app and sent it to apple via iTunes Connect, they told me it was crashing.<br />
<br />
Is there any way to test binaries I have built for distribution?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[CGRectZero not working in beta 7 sdk..]]></title>
			<link>http://www.iphonedevhelp.com/forums/showthread.php?tid=54</link>
			<pubDate>Wed, 25 Jun 2008 09:44:07 -0400</pubDate>
			<guid isPermaLink="false">http://www.iphonedevhelp.com/forums/showthread.php?tid=54</guid>
			<description><![CDATA[_CGRectZero&#36;non_lazy_ptr error coming on in UITableView's code...<br />
<br />
 cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:identity] autorelease];<br />
<br />
i m using beta 7 sdk..i tried yo get library/framework -> add new framework..to add coregraphics framework...<br />
<br />
but coregraphics frmaework is not in the list...<br />
<br />
can anybodu help me ...to get its sollution...]]></description>
			<content:encoded><![CDATA[_CGRectZero&#36;non_lazy_ptr error coming on in UITableView's code...<br />
<br />
 cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:identity] autorelease];<br />
<br />
i m using beta 7 sdk..i tried yo get library/framework -> add new framework..to add coregraphics framework...<br />
<br />
but coregraphics frmaework is not in the list...<br />
<br />
can anybodu help me ...to get its sollution...]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[how to create Tabs in cocoa ??]]></title>
			<link>http://www.iphonedevhelp.com/forums/showthread.php?tid=53</link>
			<pubDate>Tue, 24 Jun 2008 01:55:21 -0400</pubDate>
			<guid isPermaLink="false">http://www.iphonedevhelp.com/forums/showthread.php?tid=53</guid>
			<description><![CDATA[Hello, i m newbie to cocoa and iPhone application, i want to make an application having 3 tabs..but if i use TabBarController i got tabs at bottom,<br />
but i want it at top...so i used segments...but how to show different views on click of each segment...for eg. on click of first seg i want View 1 with its detail...on click of segment 2..i want Table View with data...can anybody help me plz...how to do this???<br />
<br />
see attached image...<br />
<br />
[attachment=1]]]></description>
			<content:encoded><![CDATA[Hello, i m newbie to cocoa and iPhone application, i want to make an application having 3 tabs..but if i use TabBarController i got tabs at bottom,<br />
but i want it at top...so i used segments...but how to show different views on click of each segment...for eg. on click of first seg i want View 1 with its detail...on click of segment 2..i want Table View with data...can anybody help me plz...how to do this???<br />
<br />
see attached image...<br />
<br />
[attachment=1]]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Cocoa Design Principles Questions]]></title>
			<link>http://www.iphonedevhelp.com/forums/showthread.php?tid=52</link>
			<pubDate>Fri, 13 Jun 2008 13:34:08 -0400</pubDate>
			<guid isPermaLink="false">http://www.iphonedevhelp.com/forums/showthread.php?tid=52</guid>
			<description><![CDATA[Hey all,<br />
<br />
A little background... I am a non-developer IT sysadmin by day.  I am pretty good with scripting and know my way around several OS's, but have never developed full time... only half hearted attempts at learning C, C++, Java, or whatever the "in-thing" was at the time over the last 15 years of being in the IT industry.<br />
<br />
I have always loved Macs, the Mac philosophy and mobile gadgets, so the combination of iPhone & the new SDK pushed me over the edge, and I feel like this was the dev environment I was always meant to learn... *sniff* :)<br />
<br />
Now...<br />
<br />
I am able to code things up and see them work with lots of debugging and NSLog statements ;) but I find myself running into a procedural mindset which runs against OO design principles.<br />
<br />
I find myself treating Obj-C messages like function calls, and tracing my program through the details of multiple object instances,  instead of seeing the whole picture.  That and having only a partial understanding of MVC design principles is tripping me up.<br />
<br />
A quick summary of my first app, with some questions later:<br />
<br />
1. The app gets the current location<br />
2. The app uses location info in an HTTP POST command against a web server<br />
3. Said web server provides data back to the iPhone filtered for their current location, presented in a UITableView.<br />
<br />
[I suspect I am not the only one out there with this type of iPhone app! :D]<br />
<br />
Now, my assumptions / questions for the pros:<br />
<br />
1) I have an NSObject class for the location grabber.  Would this be considered part of my "Model"?  Or just a "Model-supporting" class?  Does this function really need to be in it's own class?<br />
<br />
2) Should my HTTP POST "function" have it's own object class?  Like DoHTTPPost or something?  Or should it be a method of another object class?<br />
<br />
3) I wrote a HTML parser for the data coming back from the web server.  Should this code have it's own class as well, or be a method in whatever class (2) above should be in?  Or perhaps just inline after the POST function.<br />
<br />
4) I am starting to think maybe each entry of returned web server data should be it's own object instance, so have an additional class "WebResultEntry", with these put into an NSMutableArray, and then written to the UITableView.  Am I on the right track with this?<br />
<br />
5) I have RootViewController which interacts with the IB elements.  I am making a giant leap and assuming this is the "Controller". :)<br />
<br />
6) Yesterday I think I made a big brain breakthrough in realizing the the NIB file (& it's contents) is actually the "View".  So I have the holy triumvirate of MVC now....I think.<br />
<br />
7) Out of all the main functions: Get location, Post, Parse Result, Update view...  what would be best to keep in AppDelegate and what to segregate out? I suspect that I should just initiate the Get Location in the AppDelegate and then it is off to the object races?<br />
<br />
As you can see I am sort of fumbling around here, trying to wrap my head around OO principles and trying to write my app the "right" way instead of a sloppy way, but not making much progress.<br />
<br />
Any kind of higher level design guidance would be much appreciated!]]></description>
			<content:encoded><![CDATA[Hey all,<br />
<br />
A little background... I am a non-developer IT sysadmin by day.  I am pretty good with scripting and know my way around several OS's, but have never developed full time... only half hearted attempts at learning C, C++, Java, or whatever the "in-thing" was at the time over the last 15 years of being in the IT industry.<br />
<br />
I have always loved Macs, the Mac philosophy and mobile gadgets, so the combination of iPhone & the new SDK pushed me over the edge, and I feel like this was the dev environment I was always meant to learn... *sniff* :)<br />
<br />
Now...<br />
<br />
I am able to code things up and see them work with lots of debugging and NSLog statements ;) but I find myself running into a procedural mindset which runs against OO design principles.<br />
<br />
I find myself treating Obj-C messages like function calls, and tracing my program through the details of multiple object instances,  instead of seeing the whole picture.  That and having only a partial understanding of MVC design principles is tripping me up.<br />
<br />
A quick summary of my first app, with some questions later:<br />
<br />
1. The app gets the current location<br />
2. The app uses location info in an HTTP POST command against a web server<br />
3. Said web server provides data back to the iPhone filtered for their current location, presented in a UITableView.<br />
<br />
[I suspect I am not the only one out there with this type of iPhone app! :D]<br />
<br />
Now, my assumptions / questions for the pros:<br />
<br />
1) I have an NSObject class for the location grabber.  Would this be considered part of my "Model"?  Or just a "Model-supporting" class?  Does this function really need to be in it's own class?<br />
<br />
2) Should my HTTP POST "function" have it's own object class?  Like DoHTTPPost or something?  Or should it be a method of another object class?<br />
<br />
3) I wrote a HTML parser for the data coming back from the web server.  Should this code have it's own class as well, or be a method in whatever class (2) above should be in?  Or perhaps just inline after the POST function.<br />
<br />
4) I am starting to think maybe each entry of returned web server data should be it's own object instance, so have an additional class "WebResultEntry", with these put into an NSMutableArray, and then written to the UITableView.  Am I on the right track with this?<br />
<br />
5) I have RootViewController which interacts with the IB elements.  I am making a giant leap and assuming this is the "Controller". :)<br />
<br />
6) Yesterday I think I made a big brain breakthrough in realizing the the NIB file (& it's contents) is actually the "View".  So I have the holy triumvirate of MVC now....I think.<br />
<br />
7) Out of all the main functions: Get location, Post, Parse Result, Update view...  what would be best to keep in AppDelegate and what to segregate out? I suspect that I should just initiate the Get Location in the AppDelegate and then it is off to the object races?<br />
<br />
As you can see I am sort of fumbling around here, trying to wrap my head around OO principles and trying to write my app the "right" way instead of a sloppy way, but not making much progress.<br />
<br />
Any kind of higher level design guidance would be much appreciated!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[What's everybody up to?]]></title>
			<link>http://www.iphonedevhelp.com/forums/showthread.php?tid=51</link>
			<pubDate>Thu, 12 Jun 2008 23:47:38 -0400</pubDate>
			<guid isPermaLink="false">http://www.iphonedevhelp.com/forums/showthread.php?tid=51</guid>
			<description><![CDATA[Hey all,<br />
<br />
Still having fun coding my first app, getting a few hours in here or there...  What is funny is that I will learn how to do something and then the next Beta of the SDK either does it for me or breaks it! Oh well... the joys of being on the bleeding edge...<br />
<br />
Anyway I have made great strides in understanding Obj-C and Cocoa, got the Hillegass book and am halfway through.<br />
<br />
How's everybody else doing on their stuff?  Making progress or getting stuck? A little of both like me? :)]]></description>
			<content:encoded><![CDATA[Hey all,<br />
<br />
Still having fun coding my first app, getting a few hours in here or there...  What is funny is that I will learn how to do something and then the next Beta of the SDK either does it for me or breaks it! Oh well... the joys of being on the bleeding edge...<br />
<br />
Anyway I have made great strides in understanding Obj-C and Cocoa, got the Hillegass book and am halfway through.<br />
<br />
How's everybody else doing on their stuff?  Making progress or getting stuck? A little of both like me? :)]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Write new event to calendar]]></title>
			<link>http://www.iphonedevhelp.com/forums/showthread.php?tid=50</link>
			<pubDate>Wed, 11 Jun 2008 18:22:46 -0400</pubDate>
			<guid isPermaLink="false">http://www.iphonedevhelp.com/forums/showthread.php?tid=50</guid>
			<description><![CDATA[Is there an API to write a new event to the calendar from the iPhone SDK?   I have read document after document and have not found anything.<br />
<br />
<br />
<br />
Thanks]]></description>
			<content:encoded><![CDATA[Is there an API to write a new event to the calendar from the iPhone SDK?   I have read document after document and have not found anything.<br />
<br />
<br />
<br />
Thanks]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Alternative to NSLog????]]></title>
			<link>http://www.iphonedevhelp.com/forums/showthread.php?tid=48</link>
			<pubDate>Fri, 23 May 2008 08:02:37 -0400</pubDate>
			<guid isPermaLink="false">http://www.iphonedevhelp.com/forums/showthread.php?tid=48</guid>
			<description><![CDATA[Is there any alternative to NSLog() in iPhone SDK......???????????]]></description>
			<content:encoded><![CDATA[Is there any alternative to NSLog() in iPhone SDK......???????????]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[API Docs suck]]></title>
			<link>http://www.iphonedevhelp.com/forums/showthread.php?tid=46</link>
			<pubDate>Sun, 18 May 2008 14:14:00 -0400</pubDate>
			<guid isPermaLink="false">http://www.iphonedevhelp.com/forums/showthread.php?tid=46</guid>
			<description><![CDATA[Does anyone else hate the API docs by apple? I have not figured out a good way to search them, often I feel like they haven't provided enough info, and to me it is just really unorganized.<br />
<br />
Just wanted to find out if anyone else felt the same way.]]></description>
			<content:encoded><![CDATA[Does anyone else hate the API docs by apple? I have not figured out a good way to search them, often I feel like they haven't provided enough info, and to me it is just really unorganized.<br />
<br />
Just wanted to find out if anyone else felt the same way.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Changing views]]></title>
			<link>http://www.iphonedevhelp.com/forums/showthread.php?tid=43</link>
			<pubDate>Sat, 17 May 2008 07:57:26 -0400</pubDate>
			<guid isPermaLink="false">http://www.iphonedevhelp.com/forums/showthread.php?tid=43</guid>
			<description><![CDATA[hi. i want to write a very simple application. <br />
<br />
if a button on the first screen is pressed, i want to go to the 2nd screen.<br />
<br />
right now, i have a controller for each screen/view. in my delegate i have [window addSubview:controllersView]; for the first view.<br />
<br />
so when the button is pressed, the communication should happen as follows:<br />
firstView --&gt; firstViewController --&gt; delegate<br />
<br />
the delegate's window should be told to add the 2nd controller's view to the vier hierarchy. but right now, when i press the button - the view does not change.<br />
<br />
can anyone provide any help?  thanks.]]></description>
			<content:encoded><![CDATA[hi. i want to write a very simple application. <br />
<br />
if a button on the first screen is pressed, i want to go to the 2nd screen.<br />
<br />
right now, i have a controller for each screen/view. in my delegate i have [window addSubview:controllersView]; for the first view.<br />
<br />
so when the button is pressed, the communication should happen as follows:<br />
firstView --&gt; firstViewController --&gt; delegate<br />
<br />
the delegate's window should be told to add the 2nd controller's view to the vier hierarchy. but right now, when i press the button - the view does not change.<br />
<br />
can anyone provide any help?  thanks.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Looking for moderators]]></title>
			<link>http://www.iphonedevhelp.com/forums/showthread.php?tid=42</link>
			<pubDate>Fri, 16 May 2008 19:37:25 -0400</pubDate>
			<guid isPermaLink="false">http://www.iphonedevhelp.com/forums/showthread.php?tid=42</guid>
			<description><![CDATA[Hi,<br />
<br />
If anyone is interested in becoming a moderator on the forums, please let me know. Just send me a private message on the message boards.<br />
<br />
Also if you would like to post on the blog I'd gladly consider adding you to that as well. You'll be able to talk about anything iPhone related, right on the homepage of http://www.iphonedevhelp.com.<br />
<br />
We are slowly growing here, and I can really use someone's help.<br />
<br />
Thank you!<br />
<br />
Felix]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
If anyone is interested in becoming a moderator on the forums, please let me know. Just send me a private message on the message boards.<br />
<br />
Also if you would like to post on the blog I'd gladly consider adding you to that as well. You'll be able to talk about anything iPhone related, right on the homepage of http://www.iphonedevhelp.com.<br />
<br />
We are slowly growing here, and I can really use someone's help.<br />
<br />
Thank you!<br />
<br />
Felix]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Socket Connection...]]></title>
			<link>http://www.iphonedevhelp.com/forums/showthread.php?tid=40</link>
			<pubDate>Fri, 16 May 2008 02:53:41 -0400</pubDate>
			<guid isPermaLink="false">http://www.iphonedevhelp.com/forums/showthread.php?tid=40</guid>
			<description><![CDATA[Hi,<br />
    Any one have some Idia How to impliment Socket Connection (link the socket library) in Iphone using Xcode?]]></description>
			<content:encoded><![CDATA[Hi,<br />
    Any one have some Idia How to impliment Socket Connection (link the socket library) in Iphone using Xcode?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Changing the application's button name]]></title>
			<link>http://www.iphonedevhelp.com/forums/showthread.php?tid=39</link>
			<pubDate>Thu, 15 May 2008 22:30:51 -0400</pubDate>
			<guid isPermaLink="false">http://www.iphonedevhelp.com/forums/showthread.php?tid=39</guid>
			<description><![CDATA[Anyone have any clue how to change an application's button text? I created a new project, but the name is too long for the home screen button. I checked Info.plist and changed some values in there, but nothing worked.<br />
<br />
Anyone have any ideas?<br />
<br />
Thanks,<br />
Felix]]></description>
			<content:encoded><![CDATA[Anyone have any clue how to change an application's button text? I created a new project, but the name is too long for the home screen button. I checked Info.plist and changed some values in there, but nothing worked.<br />
<br />
Anyone have any ideas?<br />
<br />
Thanks,<br />
Felix]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Problem with navigation bar's back button??]]></title>
			<link>http://www.iphonedevhelp.com/forums/showthread.php?tid=38</link>
			<pubDate>Tue, 13 May 2008 10:05:31 -0400</pubDate>
			<guid isPermaLink="false">http://www.iphonedevhelp.com/forums/showthread.php?tid=38</guid>
			<description><![CDATA[Hello in my application i am using tableview.So when i  go to next level i need to get default back button but not for me..??<br />
i am using UITableViewCellAccessoryDetailDisclosureButton.<br />
its not taking action when i am trying to push one viewController..<br />
any help???????????????]]></description>
			<content:encoded><![CDATA[Hello in my application i am using tableview.So when i  go to next level i need to get default back button but not for me..??<br />
i am using UITableViewCellAccessoryDetailDisclosureButton.<br />
its not taking action when i am trying to push one viewController..<br />
any help???????????????]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Upgrading Apps After Release]]></title>
			<link>http://www.iphonedevhelp.com/forums/showthread.php?tid=37</link>
			<pubDate>Tue, 06 May 2008 19:01:31 -0400</pubDate>
			<guid isPermaLink="false">http://www.iphonedevhelp.com/forums/showthread.php?tid=37</guid>
			<description><![CDATA[So we release our apps and people start downloading them from iTunes.  Great!  Then, inevitably, bugs are uncovered.  Anyone know how releasing new versions of the our apps will work?  Will they be downloaded automatically when the user syncs their iPhone?  Or will the user be prompted that there is a new version, just like we are when there's an update to the OS?]]></description>
			<content:encoded><![CDATA[So we release our apps and people start downloading them from iTunes.  Great!  Then, inevitably, bugs are uncovered.  Anyone know how releasing new versions of the our apps will work?  Will they be downloaded automatically when the user syncs their iPhone?  Or will the user be prompted that there is a new version, just like we are when there's an update to the OS?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Problem with navigationBar??]]></title>
			<link>http://www.iphonedevhelp.com/forums/showthread.php?tid=36</link>
			<pubDate>Tue, 06 May 2008 11:37:01 -0400</pubDate>
			<guid isPermaLink="false">http://www.iphonedevhelp.com/forums/showthread.php?tid=36</guid>
			<description><![CDATA[Hai all.....<br />
<br />
   For my application i had to place one segmented control on top of navigation bar. I am able to take actions from segmented control,but when i moved to next level..i am not getting back button on navigation bar..???<br />
<br />
any suggestions will help me alot<br />
Thanks in advance.................]]></description>
			<content:encoded><![CDATA[Hai all.....<br />
<br />
   For my application i had to place one segmented control on top of navigation bar. I am able to take actions from segmented control,but when i moved to next level..i am not getting back button on navigation bar..???<br />
<br />
any suggestions will help me alot<br />
Thanks in advance.................]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[UITextView help]]></title>
			<link>http://www.iphonedevhelp.com/forums/showthread.php?tid=35</link>
			<pubDate>Mon, 05 May 2008 10:33:16 -0400</pubDate>
			<guid isPermaLink="false">http://www.iphonedevhelp.com/forums/showthread.php?tid=35</guid>
			<description><![CDATA[hi. i just started building my iphone app using the interface builder. then i found out that the uitextview was not supported in the IB and has to be done programmatically. can anyone show me how this is done, and more specifically in the context that i need.<br />
<br />
right now i have a subclass of UIView where i use quartz 2d to lay out my view. but when someone touches a certain area of the screen, i want to go to a new view that simply has the UITextView object. OR is it possible to have a UITextView widget within a subclass UIView? thanks.]]></description>
			<content:encoded><![CDATA[hi. i just started building my iphone app using the interface builder. then i found out that the uitextview was not supported in the IB and has to be done programmatically. can anyone show me how this is done, and more specifically in the context that i need.<br />
<br />
right now i have a subclass of UIView where i use quartz 2d to lay out my view. but when someone touches a certain area of the screen, i want to go to a new view that simply has the UITextView object. OR is it possible to have a UITextView widget within a subclass UIView? thanks.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Core Location APIs in iPod Touch]]></title>
			<link>http://www.iphonedevhelp.com/forums/showthread.php?tid=34</link>
			<pubDate>Mon, 05 May 2008 09:02:38 -0400</pubDate>
			<guid isPermaLink="false">http://www.iphonedevhelp.com/forums/showthread.php?tid=34</guid>
			<description><![CDATA[Hi All,<br />
<br />
Does anyone know how to use Core Location API in the iPod Touch. is it possible ?<br />
<br />
Thanking you,<br />
Manesh Das]]></description>
			<content:encoded><![CDATA[Hi All,<br />
<br />
Does anyone know how to use Core Location API in the iPod Touch. is it possible ?<br />
<br />
Thanking you,<br />
Manesh Das]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[SDK Not Working (not able to see the emulater)]]></title>
			<link>http://www.iphonedevhelp.com/forums/showthread.php?tid=33</link>
			<pubDate>Tue, 29 Apr 2008 02:17:59 -0400</pubDate>
			<guid isPermaLink="false">http://www.iphonedevhelp.com/forums/showthread.php?tid=33</guid>
			<description><![CDATA[Hi, All<br />
I am using MAC Os - 10.5.2<br />
<br />
when I am going to build/compile the builds "HelloWoldClassics" or other builds It's compile very fine but not able to see the emulater.<br />
<br />
Is any problem in my SDK? or I am doing some thing wrong?...<br />
please help...]]></description>
			<content:encoded><![CDATA[Hi, All<br />
I am using MAC Os - 10.5.2<br />
<br />
when I am going to build/compile the builds "HelloWoldClassics" or other builds It's compile very fine but not able to see the emulater.<br />
<br />
Is any problem in my SDK? or I am doing some thing wrong?...<br />
please help...]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Upload Captured Image with HTTP POST]]></title>
			<link>http://www.iphonedevhelp.com/forums/showthread.php?tid=32</link>
			<pubDate>Tue, 29 Apr 2008 00:42:08 -0400</pubDate>
			<guid isPermaLink="false">http://www.iphonedevhelp.com/forums/showthread.php?tid=32</guid>
			<description><![CDATA[I need to send an image captured by the camera to an HTTP server.<br />
<br />
1. Does anyone know how to simulate the camera on the simulator ?<br />
<br />
Assuming this is not possible (I don't have me developer certificate yet) I have resorted to picking up an image from the default photo library that comes with the simulator.<br />
<br />
2. Does anyone know how to add my own photos to this simulator gallery ?<br />
<br />
Following is my code where I pick up the image from the photo library. The  (void)useImage:(UIImage*)theImage function is called when the image is selected. This is what I want to send via an HTTP POST request to an HTTP server. <br />
<br />
3. How do I convert the UIImage to a binary data format that the NSMutableURLRequest setHTTPBody function can use ?<br />
<br />
<br />
Code:<br />
-(BOOL)snapAction:(id)sender<br />
{<br />
 <br />
&nbsp;&nbsp;&nbsp;&nbsp;UIImagePickerController* picker = [[UIImagePickerController alloc] init];<br />
&nbsp;&nbsp;&nbsp;&nbsp;picker.sourceType =UIImagePickerControllerSourceTypePhotoLibrary;<br />
&nbsp;&nbsp;&nbsp;&nbsp;picker.delegate = self;<br />
&nbsp;&nbsp;&nbsp;&nbsp;picker.allowsImageEditing = YES;<br />
 <br />
&nbsp;&nbsp;&nbsp;&nbsp;// Picker is displayed asynchronously.<br />
&nbsp;&nbsp;&nbsp;&nbsp;[[self navigationController] presentModalViewController:picker animated:YES];<br />
&nbsp;&nbsp;&nbsp;&nbsp;return YES;<br />
<br />
}<br />
<br />
- (void)imagePickerController:(UIImagePickerController *)picker<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;didFinishPickingImage:(UIImage *)image<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;editingInfo:(NSDictionary *)editingInfo<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;[self useImage:image];<br />
&nbsp;&nbsp;&nbsp;&nbsp;[[picker parentViewController] dismissModalViewControllerAnimated:YES];<br />
}<br />
 <br />
- (void)imagePickerControllerDidCancel:(UIImagePickerController *)picker<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;[picker dismissModalViewControllerAnimated:YES];<br />
}<br />
 <br />
// Implement this method in your code to do something with the image.<br />
- (void)useImage:(UIImage*)theImage<br />
{<br />
}<br />
<br />
<br />
Thanks,<br />
Sajid]]></description>
			<content:encoded><![CDATA[I need to send an image captured by the camera to an HTTP server.<br />
<br />
1. Does anyone know how to simulate the camera on the simulator ?<br />
<br />
Assuming this is not possible (I don't have me developer certificate yet) I have resorted to picking up an image from the default photo library that comes with the simulator.<br />
<br />
2. Does anyone know how to add my own photos to this simulator gallery ?<br />
<br />
Following is my code where I pick up the image from the photo library. The  (void)useImage:(UIImage*)theImage function is called when the image is selected. This is what I want to send via an HTTP POST request to an HTTP server. <br />
<br />
3. How do I convert the UIImage to a binary data format that the NSMutableURLRequest setHTTPBody function can use ?<br />
<br />
<br />
Code:<br />
-(BOOL)snapAction:(id)sender<br />
{<br />
 <br />
&nbsp;&nbsp;&nbsp;&nbsp;UIImagePickerController* picker = [[UIImagePickerController alloc] init];<br />
&nbsp;&nbsp;&nbsp;&nbsp;picker.sourceType =UIImagePickerControllerSourceTypePhotoLibrary;<br />
&nbsp;&nbsp;&nbsp;&nbsp;picker.delegate = self;<br />
&nbsp;&nbsp;&nbsp;&nbsp;picker.allowsImageEditing = YES;<br />
 <br />
&nbsp;&nbsp;&nbsp;&nbsp;// Picker is displayed asynchronously.<br />
&nbsp;&nbsp;&nbsp;&nbsp;[[self navigationController] presentModalViewController:picker animated:YES];<br />
&nbsp;&nbsp;&nbsp;&nbsp;return YES;<br />
<br />
}<br />
<br />
- (void)imagePickerController:(UIImagePickerController *)picker<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;didFinishPickingImage:(UIImage *)image<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;editingInfo:(NSDictionary *)editingInfo<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;[self useImage:image];<br />
&nbsp;&nbsp;&nbsp;&nbsp;[[picker parentViewController] dismissModalViewControllerAnimated:YES];<br />
}<br />
 <br />
- (void)imagePickerControllerDidCancel:(UIImagePickerController *)picker<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;[picker dismissModalViewControllerAnimated:YES];<br />
}<br />
 <br />
// Implement this method in your code to do something with the image.<br />
- (void)useImage:(UIImage*)theImage<br />
{<br />
}<br />
<br />
<br />
Thanks,<br />
Sajid]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[SDK Beta 4 breaks UIShowcase??]]></title>
			<link>http://www.iphonedevhelp.com/forums/showthread.php?tid=31</link>
			<pubDate>Mon, 28 Apr 2008 15:35:04 -0400</pubDate>
			<guid isPermaLink="false">http://www.iphonedevhelp.com/forums/showthread.php?tid=31</guid>
			<description><![CDATA[SDK Beta 4 has broken the demo app UIShowcase.   Lots of compilation errors.    Reload Beta 3 and works fine.<br />
<br />
<br />
Anyone have any clues as to what was changed?<br />
<br />
<br />
Thanks]]></description>
			<content:encoded><![CDATA[SDK Beta 4 has broken the demo app UIShowcase.   Lots of compilation errors.    Reload Beta 3 and works fine.<br />
<br />
<br />
Anyone have any clues as to what was changed?<br />
<br />
<br />
Thanks]]></content:encoded>
		</item>
	</channel>
</rss>