<?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[Cocoa Community Forums - All Forums]]></title>
		<link>http://www.cocoacommunity.com/</link>
		<description><![CDATA[Cocoa Community Forums - http://www.cocoacommunity.com]]></description>
		<pubDate>Thu, 23 Feb 2012 01:27:28 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Map  App]]></title>
			<link>http://www.cocoacommunity.com/showthread.php?tid=180</link>
			<pubDate>Fri, 13 Jan 2012 17:46:07 -0500</pubDate>
			<guid isPermaLink="false">http://www.cocoacommunity.com/showthread.php?tid=180</guid>
			<description><![CDATA[I want to make a map app   from a map that created. I would appreciate <br />
your input<br />
<br />
Thor X]]></description>
			<content:encoded><![CDATA[I want to make a map app   from a map that created. I would appreciate <br />
your input<br />
<br />
Thor X]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Dynamicly create OpenGL view (through mainloop)]]></title>
			<link>http://www.cocoacommunity.com/showthread.php?tid=178</link>
			<pubDate>Thu, 15 Dec 2011 15:49:52 -0500</pubDate>
			<guid isPermaLink="false">http://www.cocoacommunity.com/showthread.php?tid=178</guid>
			<description><![CDATA[Hello,<br />
<br />
To start of: I've have no cocoa or objective-c programming experience. I don't plan on learning either one (or at least learn it GOOD). So I'd like someone to help me with a little problem to help me on my way. <br />
<br />
So, what I basicly want to use c++ in my entire game-engine and only use objective-c when encapsulating an openGL view (which I want to create dynamicly). This because I need to (i guess..) create one from my main loop and from what I've gathered about cocoa is that you pre-define a view in the .nib file in Xcode. I'll give my main loop as an example of what I want to achieve (this works in window or linux (with x11 which I do not want to use either because I don't know it^.^)):<br />
<br />
EXAMPLE:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>#include "glwindow.h"<br />
#include "applicationEntrypoint.h"<br />
<br />
// Some main function...<br />
int main(int argc, char** argv)<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;//example window settings<br />
&nbsp;&nbsp;&nbsp;&nbsp;const int windowWidth = 1024;<br />
&nbsp;&nbsp;&nbsp;&nbsp;const int windowHeight = 768;<br />
&nbsp;&nbsp;&nbsp;&nbsp;const int windowBPP = 16;<br />
&nbsp;&nbsp;&nbsp;&nbsp;const int windowFullscreen = false;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;GLWindow programWindow;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;//Add application to the window (app calls openGL stuff within)<br />
&nbsp;&nbsp;&nbsp;&nbsp;applicationEntrypoint app;<br />
&nbsp;&nbsp;&nbsp;&nbsp;programWindow.attachApplication(&amp;app);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;//Attempt to create the window<br />
&nbsp;&nbsp;&nbsp;&nbsp;if (!programWindow.create(windowWidth, windowHeight, windowBPP, windowFullscreen))<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//If it fails<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Do some notification<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;programWindow.destroy(); //Reset the display and exit<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return 1;<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;if (!app.init())<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;///do some stuff..<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;programWindow.destroy(); //Reset the display and exit<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return 1;<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;//This is the mainloop, we render frames until isRunning returns false<br />
&nbsp;&nbsp;&nbsp;&nbsp;while(programWindow.isRunning())<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;programWindow.processEvents(); //Process any window events<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//We get the time that passed since the last frame<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;float elapsedTime = programWindow.getElapsedSeconds();<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;app.prepare(elapsedTime); //Do any pre-rendering logic<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;app.render(); //Render the scene<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;programWindow.swapBuffers(); // probably different in macos?<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;app.shutdown(); //Free any resources<br />
&nbsp;&nbsp;&nbsp;&nbsp;programWindow.destroy(); //Destroy the program window<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;return 0;<br />
}</code></div></div>
]]></description>
			<content:encoded><![CDATA[Hello,<br />
<br />
To start of: I've have no cocoa or objective-c programming experience. I don't plan on learning either one (or at least learn it GOOD). So I'd like someone to help me with a little problem to help me on my way. <br />
<br />
So, what I basicly want to use c++ in my entire game-engine and only use objective-c when encapsulating an openGL view (which I want to create dynamicly). This because I need to (i guess..) create one from my main loop and from what I've gathered about cocoa is that you pre-define a view in the .nib file in Xcode. I'll give my main loop as an example of what I want to achieve (this works in window or linux (with x11 which I do not want to use either because I don't know it^.^)):<br />
<br />
EXAMPLE:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>#include "glwindow.h"<br />
#include "applicationEntrypoint.h"<br />
<br />
// Some main function...<br />
int main(int argc, char** argv)<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;//example window settings<br />
&nbsp;&nbsp;&nbsp;&nbsp;const int windowWidth = 1024;<br />
&nbsp;&nbsp;&nbsp;&nbsp;const int windowHeight = 768;<br />
&nbsp;&nbsp;&nbsp;&nbsp;const int windowBPP = 16;<br />
&nbsp;&nbsp;&nbsp;&nbsp;const int windowFullscreen = false;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;GLWindow programWindow;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;//Add application to the window (app calls openGL stuff within)<br />
&nbsp;&nbsp;&nbsp;&nbsp;applicationEntrypoint app;<br />
&nbsp;&nbsp;&nbsp;&nbsp;programWindow.attachApplication(&amp;app);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;//Attempt to create the window<br />
&nbsp;&nbsp;&nbsp;&nbsp;if (!programWindow.create(windowWidth, windowHeight, windowBPP, windowFullscreen))<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//If it fails<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Do some notification<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;programWindow.destroy(); //Reset the display and exit<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return 1;<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;if (!app.init())<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;///do some stuff..<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;programWindow.destroy(); //Reset the display and exit<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return 1;<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;//This is the mainloop, we render frames until isRunning returns false<br />
&nbsp;&nbsp;&nbsp;&nbsp;while(programWindow.isRunning())<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;programWindow.processEvents(); //Process any window events<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//We get the time that passed since the last frame<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;float elapsedTime = programWindow.getElapsedSeconds();<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;app.prepare(elapsedTime); //Do any pre-rendering logic<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;app.render(); //Render the scene<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;programWindow.swapBuffers(); // probably different in macos?<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;app.shutdown(); //Free any resources<br />
&nbsp;&nbsp;&nbsp;&nbsp;programWindow.destroy(); //Destroy the program window<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;return 0;<br />
}</code></div></div>
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[myDocument - Xcode 4.2 - where?]]></title>
			<link>http://www.cocoacommunity.com/showthread.php?tid=174</link>
			<pubDate>Thu, 17 Nov 2011 23:30:22 -0500</pubDate>
			<guid isPermaLink="false">http://www.cocoacommunity.com/showthread.php?tid=174</guid>
			<description><![CDATA[Hi all,<br />
Am very new to all this having come from a very basic C background. <br />
I understand the concepts but I can't get RaiseMan even started - i.e. no GUI window shows up even though the console logs normally.<br />
<br />
I will try starting from the beginning, presumably I have confused something along the way.<br />
<br />
My particular problem though is that none of the files match the filenames in the book, presumably because of OSX and XCode changes since publishing.<br />
The book states: "Note that the class MyDocument has already been created for you. MyDocument is a subclass of NSDocument."<br />
But I only have RaiseManDocument.h, RaiseManDocument.m, RaiseManDocument.xib and MainMenu.xib...and main.m in supporting files.<br />
I think I need to sort this out before I go any further?<br />
Any comments would be appreciated.<br /><!-- start: postbit_attachments_attachment -->
<br /><img src="images/attachtypes/image.gif" border="0" alt=".png" />&nbsp;&nbsp;<a href="attachment.php?aid=72" target="_blank">Screen Shot 2011-11-18 at 3.27.40 PM.png</a> (Size: 34.4 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Hi all,<br />
Am very new to all this having come from a very basic C background. <br />
I understand the concepts but I can't get RaiseMan even started - i.e. no GUI window shows up even though the console logs normally.<br />
<br />
I will try starting from the beginning, presumably I have confused something along the way.<br />
<br />
My particular problem though is that none of the files match the filenames in the book, presumably because of OSX and XCode changes since publishing.<br />
The book states: "Note that the class MyDocument has already been created for you. MyDocument is a subclass of NSDocument."<br />
But I only have RaiseManDocument.h, RaiseManDocument.m, RaiseManDocument.xib and MainMenu.xib...and main.m in supporting files.<br />
I think I need to sort this out before I go any further?<br />
Any comments would be appreciated.<br /><!-- start: postbit_attachments_attachment -->
<br /><img src="images/attachtypes/image.gif" border="0" alt=".png" />&nbsp;&nbsp;<a href="attachment.php?aid=72" target="_blank">Screen Shot 2011-11-18 at 3.27.40 PM.png</a> (Size: 34.4 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Problem when I try to load another window stored in xib file.]]></title>
			<link>http://www.cocoacommunity.com/showthread.php?tid=173</link>
			<pubDate>Thu, 10 Nov 2011 17:44:20 -0500</pubDate>
			<guid isPermaLink="false">http://www.cocoacommunity.com/showthread.php?tid=173</guid>
			<description><![CDATA[hi,<br />
<br />
I'm beginning to program with cocoa. I try to load a window stored in the xib file. I make all the necessary connections and I write this code in these respective files.<br />
<br />
<br />
1. MainmenuController.h<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>#import &lt;Cocoa/Cocoa.h&gt;<br />
@class FenetreclientController;<br />
@interface MainMenuController : NSObject {<br />
FenetreclientController *client;<br />
&nbsp;&nbsp;&nbsp;&nbsp;IBOutlet NSButton *cmdClient;<br />
&nbsp;&nbsp;&nbsp;&nbsp;IBOutlet NSButton *cmdPrestations;<br />
&nbsp;&nbsp;&nbsp;&nbsp;IBOutlet NSButton *cmdSeances;<br />
&nbsp;&nbsp;&nbsp;&nbsp;IBOutlet NSButton *cmdFactures;<br />
&nbsp;&nbsp;&nbsp;&nbsp;IBOutlet NSButton *cmdQuitter;<br />
}&nbsp;&nbsp;&nbsp;&nbsp;<br />
<br />
- (IBAction) showCostumer:(id)sender;<br />
<br />
@end</code></div></div>
<br />
MainmenuContrôller.m<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>#import "MainMenuController.h"<br />
#import"CustomerWindowController.h"<br />
<br />
<br />
- (IBAction)showCostumer:(id)sender {<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;if (! customer) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;customer = [[CustomerWindowController alloc]init];<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NSLog(@"Loading customer manager %@",customer);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[customer showWindow:self];</code></div></div>
<br />
2. CustomerWindowController.h<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>#import &lt;Cocoa/Cocoa.h&gt;<br />
<br />
@interface CustomerWindowController : NSWindowController<br />
<br />
@end</code></div></div>
<br />
<br />
2. CustomerWindowController.m<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>#import "CustomerWindowController.m"<br />
@implementation CustomerWindowController<br />
- (id)init<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;NSLog(@"Customer window initialization");<br />
if (![super initWithWindowNibName:@"Customers"])&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return nil;<br />
&nbsp;&nbsp;&nbsp;&nbsp;return self;<br />
}<br />
- (void)windowDidLoad<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;[super windowDidLoad];<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;NSLog(@"The customer window has been loaded");<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;// Implement this method to handle any initialization after your window controller's window has been loaded from its nib file.<br />
}<br />
@end</code></div></div>
<br />
<br />
When I compile, I don't get some error but several warnings like :<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>warning: Unsupported Configuration: Automatic centering of windows unsupported in Xcode versions prior to 4.0</code></div></div>
<br />
When the user click the customer button the customer window (Customers.xib) should be loaded) from MainMenu.xib I get this error message :<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>[CustomerWindowController loadWindow]: failed to load window nib file 'Customers'</code></div></div>
<br />
I have tryed this in mainMenuController.m<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>customer = [[CustomerWindowController alloc] initWithNibName:@"XibName" bundle:nil];</code></div></div>
but I get a warning like this ""CustomerWindowController could not respond to initWithNibName message "<br />
<br />
What can I do to resolve this issue ?<br />
<br />
Tanks for your help<br />
<br />
Best Regards<br />
<br />
Battant]]></description>
			<content:encoded><![CDATA[hi,<br />
<br />
I'm beginning to program with cocoa. I try to load a window stored in the xib file. I make all the necessary connections and I write this code in these respective files.<br />
<br />
<br />
1. MainmenuController.h<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>#import &lt;Cocoa/Cocoa.h&gt;<br />
@class FenetreclientController;<br />
@interface MainMenuController : NSObject {<br />
FenetreclientController *client;<br />
&nbsp;&nbsp;&nbsp;&nbsp;IBOutlet NSButton *cmdClient;<br />
&nbsp;&nbsp;&nbsp;&nbsp;IBOutlet NSButton *cmdPrestations;<br />
&nbsp;&nbsp;&nbsp;&nbsp;IBOutlet NSButton *cmdSeances;<br />
&nbsp;&nbsp;&nbsp;&nbsp;IBOutlet NSButton *cmdFactures;<br />
&nbsp;&nbsp;&nbsp;&nbsp;IBOutlet NSButton *cmdQuitter;<br />
}&nbsp;&nbsp;&nbsp;&nbsp;<br />
<br />
- (IBAction) showCostumer:(id)sender;<br />
<br />
@end</code></div></div>
<br />
MainmenuContrôller.m<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>#import "MainMenuController.h"<br />
#import"CustomerWindowController.h"<br />
<br />
<br />
- (IBAction)showCostumer:(id)sender {<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;if (! customer) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;customer = [[CustomerWindowController alloc]init];<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NSLog(@"Loading customer manager %@",customer);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[customer showWindow:self];</code></div></div>
<br />
2. CustomerWindowController.h<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>#import &lt;Cocoa/Cocoa.h&gt;<br />
<br />
@interface CustomerWindowController : NSWindowController<br />
<br />
@end</code></div></div>
<br />
<br />
2. CustomerWindowController.m<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>#import "CustomerWindowController.m"<br />
@implementation CustomerWindowController<br />
- (id)init<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;NSLog(@"Customer window initialization");<br />
if (![super initWithWindowNibName:@"Customers"])&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return nil;<br />
&nbsp;&nbsp;&nbsp;&nbsp;return self;<br />
}<br />
- (void)windowDidLoad<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;[super windowDidLoad];<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;NSLog(@"The customer window has been loaded");<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;// Implement this method to handle any initialization after your window controller's window has been loaded from its nib file.<br />
}<br />
@end</code></div></div>
<br />
<br />
When I compile, I don't get some error but several warnings like :<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>warning: Unsupported Configuration: Automatic centering of windows unsupported in Xcode versions prior to 4.0</code></div></div>
<br />
When the user click the customer button the customer window (Customers.xib) should be loaded) from MainMenu.xib I get this error message :<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>[CustomerWindowController loadWindow]: failed to load window nib file 'Customers'</code></div></div>
<br />
I have tryed this in mainMenuController.m<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>customer = [[CustomerWindowController alloc] initWithNibName:@"XibName" bundle:nil];</code></div></div>
but I get a warning like this ""CustomerWindowController could not respond to initWithNibName message "<br />
<br />
What can I do to resolve this issue ?<br />
<br />
Tanks for your help<br />
<br />
Best Regards<br />
<br />
Battant]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to write in the Target Output]]></title>
			<link>http://www.cocoacommunity.com/showthread.php?tid=172</link>
			<pubDate>Wed, 09 Nov 2011 22:27:06 -0500</pubDate>
			<guid isPermaLink="false">http://www.cocoacommunity.com/showthread.php?tid=172</guid>
			<description><![CDATA[hey guy,s <br />
I'm new in this forum and i have a question about programming for cocoa.<br />
i want to write a somthing in the target output.<br />
<br />
<br />
<br />
<a href="http://www.pictureupload.de/originals/pictures/101111042536_foto.jpg" target="_blank">http://www.pictureupload.de/originals/pi...6_foto.jpg</a>]]></description>
			<content:encoded><![CDATA[hey guy,s <br />
I'm new in this forum and i have a question about programming for cocoa.<br />
i want to write a somthing in the target output.<br />
<br />
<br />
<br />
<a href="http://www.pictureupload.de/originals/pictures/101111042536_foto.jpg" target="_blank">http://www.pictureupload.de/originals/pi...6_foto.jpg</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Advice for Core Data design [newbie]]]></title>
			<link>http://www.cocoacommunity.com/showthread.php?tid=170</link>
			<pubDate>Tue, 01 Nov 2011 10:44:16 -0400</pubDate>
			<guid isPermaLink="false">http://www.cocoacommunity.com/showthread.php?tid=170</guid>
			<description><![CDATA[Hi, I am trying to write an app for the management of the students of my class at the University. I am using Core Data, and things started to get too complicated, so I wanted to ask for an advice in the design or the implementation. I will just ask for one part of the whole thing, because it can be too much.<br />
<br />
- I need a to keep a list of all the students (current and old students) and each student can be in more than one year (i.e. they can take the course in several years if they fail).<br />
<br />
- For the current curse (for ex. 2011) I want to keep track of 1) the attendance to classes.<br />
<br />
I have made one entity named Students, with a relationship to another entity Course (many to one) (See the attached graph). So no problem yet. Then I have created another entity named Classes which stores info about each class of the course and have a many to one relationship to Course. The problem arises here, because then I want to keep track of the attendance of each "Student" belonging to the "Course" for each "Class", and I cannot figure out how to do that. I have created one entity named AssistanceToClass, with a relationship to Class (many to one) which was meant to store the assistance for each Student to the corresponding class, so I need to have one managed object "AssistanceToClass" for each Class, for each Student in the Course corresponding to the Class, but that is not possible, I think.<br />
<br />
Is my graph correct or should I reorder the entities to something more convenient? Or just trash this graph and start over with a new approach? All this, keeping in mind that then I need to make a table of assistance, with one column for each class, and one row for each student.<br />
<br />
Thanks in advance, <br />
<br />
Roger<br />
<br />
<img src="http://imageshack.us/photo/my-images/220/capturadepantalla201111.png/" border="0" alt="[Image: capturadepantalla201111.png]" /><br /><!-- start: postbit_attachments_attachment -->
<br /><img src="images/attachtypes/image.gif" border="0" alt=".png" />&nbsp;&nbsp;<a href="attachment.php?aid=71" target="_blank">Captura de pantalla 2011-11-01 a la(s) 11.04.10.png</a> (Size: 45 KB / Downloads: 4)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Hi, I am trying to write an app for the management of the students of my class at the University. I am using Core Data, and things started to get too complicated, so I wanted to ask for an advice in the design or the implementation. I will just ask for one part of the whole thing, because it can be too much.<br />
<br />
- I need a to keep a list of all the students (current and old students) and each student can be in more than one year (i.e. they can take the course in several years if they fail).<br />
<br />
- For the current curse (for ex. 2011) I want to keep track of 1) the attendance to classes.<br />
<br />
I have made one entity named Students, with a relationship to another entity Course (many to one) (See the attached graph). So no problem yet. Then I have created another entity named Classes which stores info about each class of the course and have a many to one relationship to Course. The problem arises here, because then I want to keep track of the attendance of each "Student" belonging to the "Course" for each "Class", and I cannot figure out how to do that. I have created one entity named AssistanceToClass, with a relationship to Class (many to one) which was meant to store the assistance for each Student to the corresponding class, so I need to have one managed object "AssistanceToClass" for each Class, for each Student in the Course corresponding to the Class, but that is not possible, I think.<br />
<br />
Is my graph correct or should I reorder the entities to something more convenient? Or just trash this graph and start over with a new approach? All this, keeping in mind that then I need to make a table of assistance, with one column for each class, and one row for each student.<br />
<br />
Thanks in advance, <br />
<br />
Roger<br />
<br />
<img src="http://imageshack.us/photo/my-images/220/capturadepantalla201111.png/" border="0" alt="[Image: capturadepantalla201111.png]" /><br /><!-- start: postbit_attachments_attachment -->
<br /><img src="images/attachtypes/image.gif" border="0" alt=".png" />&nbsp;&nbsp;<a href="attachment.php?aid=71" target="_blank">Captura de pantalla 2011-11-01 a la(s) 11.04.10.png</a> (Size: 45 KB / Downloads: 4)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Tool Tips in IB]]></title>
			<link>http://www.cocoacommunity.com/showthread.php?tid=169</link>
			<pubDate>Mon, 10 Oct 2011 19:33:23 -0400</pubDate>
			<guid isPermaLink="false">http://www.cocoacommunity.com/showthread.php?tid=169</guid>
			<description><![CDATA[I am trying to setup the tool tips for a button cell in a table view. In Interface Builder I use the inspector to modify the button cells' tool tip under the "Button Cell Identity" tab. I saved the Interface and tested, no tool tips. What am I missing?]]></description>
			<content:encoded><![CDATA[I am trying to setup the tool tips for a button cell in a table view. In Interface Builder I use the inspector to modify the button cells' tool tip under the "Button Cell Identity" tab. I saved the Interface and tested, no tool tips. What am I missing?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Welcome September!]]></title>
			<link>http://www.cocoacommunity.com/showthread.php?tid=168</link>
			<pubDate>Thu, 01 Sep 2011 03:47:26 -0400</pubDate>
			<guid isPermaLink="false">http://www.cocoacommunity.com/showthread.php?tid=168</guid>
			<description><![CDATA[So, I started reading Hilegass' book again today. I think I'm gonna re-post my exercises if there are any changes since XCode 4 is out now.<br />
<br />
We'll see how it goes!]]></description>
			<content:encoded><![CDATA[So, I started reading Hilegass' book again today. I think I'm gonna re-post my exercises if there are any changes since XCode 4 is out now.<br />
<br />
We'll see how it goes!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Another Project]]></title>
			<link>http://www.cocoacommunity.com/showthread.php?tid=167</link>
			<pubDate>Thu, 18 Aug 2011 23:45:49 -0400</pubDate>
			<guid isPermaLink="false">http://www.cocoacommunity.com/showthread.php?tid=167</guid>
			<description><![CDATA[Hey guys,<br />
<br />
Anyone interested in another Cocoa Community project?  I have a friend that has a Landscaping company, and I've been thinking about writing an App for his business.<br />
<br />
It would be a relatively basic app, but I think could prove a valuable experience for any nascent programmers.<br />
<br />
If anyone is interested, let me know, and I will share the particulars as to what the app should do.]]></description>
			<content:encoded><![CDATA[Hey guys,<br />
<br />
Anyone interested in another Cocoa Community project?  I have a friend that has a Landscaping company, and I've been thinking about writing an App for his business.<br />
<br />
It would be a relatively basic app, but I think could prove a valuable experience for any nascent programmers.<br />
<br />
If anyone is interested, let me know, and I will share the particulars as to what the app should do.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[August Update from Darrell]]></title>
			<link>http://www.cocoacommunity.com/showthread.php?tid=166</link>
			<pubDate>Thu, 18 Aug 2011 21:21:51 -0400</pubDate>
			<guid isPermaLink="false">http://www.cocoacommunity.com/showthread.php?tid=166</guid>
			<description><![CDATA[Hey Everyone,<br />
<br />
I know I've been very quiet, and it's pretty much because I can't do much programming with the current state of my MacBook Pro. For those of you keeping up with my updates, you'll know that I've been waiting for a new Mac Pro to come out since April. Alas, I've come to the conclusion (mostly by reading rumors and comments on MacRumors.com) that it will not happen at least until early next year. As such, I decided to just make the move for it, and I just purchased a new 27" iMac. It will come by next week, and hopefully by then, I can start programming again.]]></description>
			<content:encoded><![CDATA[Hey Everyone,<br />
<br />
I know I've been very quiet, and it's pretty much because I can't do much programming with the current state of my MacBook Pro. For those of you keeping up with my updates, you'll know that I've been waiting for a new Mac Pro to come out since April. Alas, I've come to the conclusion (mostly by reading rumors and comments on MacRumors.com) that it will not happen at least until early next year. As such, I decided to just make the move for it, and I just purchased a new 27" iMac. It will come by next week, and hopefully by then, I can start programming again.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Embeding NSScrolView and customizing]]></title>
			<link>http://www.cocoacommunity.com/showthread.php?tid=165</link>
			<pubDate>Sat, 13 Aug 2011 20:20:15 -0400</pubDate>
			<guid isPermaLink="false">http://www.cocoacommunity.com/showthread.php?tid=165</guid>
			<description><![CDATA[So I have a custom view that I embedded in a scroll view.  I want to customize that NSScrollView.  What I did was created a new class that is subclassed from NSScrollView and put that name in the custom class in the identity inspector of the xib file.  I also connected a IBOutlet to the NSScrollView.<br />
<br />
For some reason my custom scroll view is not being called.  Is this because you cannot customize a NSScrollView this way?  Do I have to create it from scratch?<br />
<br />
Really all I want to do is add some custom Rulers so if anyone knows another way to do this, I'm all ears.<br />
<br />
Thanks<br />
GW]]></description>
			<content:encoded><![CDATA[So I have a custom view that I embedded in a scroll view.  I want to customize that NSScrollView.  What I did was created a new class that is subclassed from NSScrollView and put that name in the custom class in the identity inspector of the xib file.  I also connected a IBOutlet to the NSScrollView.<br />
<br />
For some reason my custom scroll view is not being called.  Is this because you cannot customize a NSScrollView this way?  Do I have to create it from scratch?<br />
<br />
Really all I want to do is add some custom Rulers so if anyone knows another way to do this, I'm all ears.<br />
<br />
Thanks<br />
GW]]></content:encoded>
		</item>
		<item>
			<title><![CDATA["Warning - attempting to encode NSCGSImageRep"]]></title>
			<link>http://www.cocoacommunity.com/showthread.php?tid=164</link>
			<pubDate>Fri, 05 Aug 2011 18:54:26 -0400</pubDate>
			<guid isPermaLink="false">http://www.cocoacommunity.com/showthread.php?tid=164</guid>
			<description><![CDATA[I am using IKPictureTaker to get an image and send it to an ImageView, when I try to encode the image for archiving I get the message "Warning - attempting to encode NSCGSImageRep". I noticed if I drop an image in the ImageView manually it will encode just fine. What am I doing wrong?]]></description>
			<content:encoded><![CDATA[I am using IKPictureTaker to get an image and send it to an ImageView, when I try to encode the image for archiving I get the message "Warning - attempting to encode NSCGSImageRep". I noticed if I drop an image in the ImageView manually it will encode just fine. What am I doing wrong?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Image repositioning and sizing??]]></title>
			<link>http://www.cocoacommunity.com/showthread.php?tid=163</link>
			<pubDate>Fri, 29 Jul 2011 14:20:44 -0400</pubDate>
			<guid isPermaLink="false">http://www.cocoacommunity.com/showthread.php?tid=163</guid>
			<description><![CDATA[<span style="font-family: Courier;">In my app I would like to allow the user to drop an image into an image well, then immediately be able to reposition and zoom in on the image just like when you change your account picture in system preferences. Any suggestions?</span>]]></description>
			<content:encoded><![CDATA[<span style="font-family: Courier;">In my app I would like to allow the user to drop an image into an image well, then immediately be able to reposition and zoom in on the image just like when you change your account picture in system preferences. Any suggestions?</span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[XCode 4.1 Available for Free!]]></title>
			<link>http://www.cocoacommunity.com/showthread.php?tid=162</link>
			<pubDate>Wed, 20 Jul 2011 15:17:27 -0400</pubDate>
			<guid isPermaLink="false">http://www.cocoacommunity.com/showthread.php?tid=162</guid>
			<description><![CDATA[With today's release of Mac OS X 10.7 Lion, XCode 4.1 is now available for free on <a href="http://itunes.apple.com/us/app/xcode/id448457090?mt=12" target="_blank">the Mac App Store</a>.<br />
<br />
However, Mac OS X 10.7 Lion is required in order to install it.]]></description>
			<content:encoded><![CDATA[With today's release of Mac OS X 10.7 Lion, XCode 4.1 is now available for free on <a href="http://itunes.apple.com/us/app/xcode/id448457090?mt=12" target="_blank">the Mac App Store</a>.<br />
<br />
However, Mac OS X 10.7 Lion is required in order to install it.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[AppleScripters?]]></title>
			<link>http://www.cocoacommunity.com/showthread.php?tid=161</link>
			<pubDate>Tue, 19 Jul 2011 11:25:10 -0400</pubDate>
			<guid isPermaLink="false">http://www.cocoacommunity.com/showthread.php?tid=161</guid>
			<description><![CDATA[Hi guys,<br />
<br />
This is somewhat off topic, but anyone out there delve into AppleScripting at all?  I wrote a simple applescript to sort some picture files, but hit a snag.  I realize this isn't the forum for it, but figured guys who know Cocoa might know a little applescripting as well.  If anyone's interested in taking a look at it, let me know.  If not, no worries <img src="images/smilies/smile.gif" style="vertical-align: middle;" border="0" alt="Smile" title="Smile" />]]></description>
			<content:encoded><![CDATA[Hi guys,<br />
<br />
This is somewhat off topic, but anyone out there delve into AppleScripting at all?  I wrote a simple applescript to sort some picture files, but hit a snag.  I realize this isn't the forum for it, but figured guys who know Cocoa might know a little applescripting as well.  If anyone's interested in taking a look at it, let me know.  If not, no worries <img src="images/smilies/smile.gif" style="vertical-align: middle;" border="0" alt="Smile" title="Smile" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Curl, NSTask and Call back]]></title>
			<link>http://www.cocoacommunity.com/showthread.php?tid=160</link>
			<pubDate>Sat, 16 Jul 2011 16:03:12 -0400</pubDate>
			<guid isPermaLink="false">http://www.cocoacommunity.com/showthread.php?tid=160</guid>
			<description><![CDATA[Helllo everybody,<br />
<br />
Well, I'm writing a wrapper class of FTP fonctionalities. I've already made uploading feature but I would like to get information about statistics. I used NSTask like that<br />
<br />
 <div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>// 1- Prepare the task<br />
&nbsp;&nbsp;&nbsp;&nbsp;_task = [[NSTask alloc] init];<br />
&nbsp;&nbsp;&nbsp;&nbsp;[_task setLaunchPath:@"/usr/bin/curl"];<br />
&nbsp;&nbsp;&nbsp;&nbsp;// 2- Parameters buildings<br />
&nbsp;&nbsp;&nbsp;&nbsp;[args addObject:@"--proxy-anyauth"]; // connection anonyme<br />
&nbsp;&nbsp;&nbsp;&nbsp;[args addObject:@"-T"];  // initial path<br />
&nbsp;&nbsp;&nbsp;&nbsp;[args addObject:inSrcFullPath];<br />
&nbsp;&nbsp;&nbsp;&nbsp;[args addObject:@"--url"]; // end path<br />
&nbsp;&nbsp;&nbsp;&nbsp;url = [NSString stringWithFormat:@"ftp://%@:%@%@",_login,_hostAddress,inDirPath];<br />
&nbsp;&nbsp;&nbsp;&nbsp;[args addObject:url];<br />
&nbsp;&nbsp;&nbsp;&nbsp;//[args addObject:@"ftp://freebox:freebox@hd1.freebox.fr/Disque dur/Enregistrements/"];<br />
&nbsp;&nbsp;&nbsp;&nbsp;// 3- Bind to out<br />
&nbsp;&nbsp;&nbsp;&nbsp;[_task setArguments:args];<br />
&nbsp;&nbsp;&nbsp;&nbsp;[_task setStandardOutput:outPipe];<br />
&nbsp;&nbsp;&nbsp;&nbsp;//[_task setStandardError:errorPipe];<br />
&nbsp;&nbsp;&nbsp;&nbsp;[_center addObserver:self selector:@selector(taskDidNotifyMe:) name:NSFileHandleDataAvailableNotification <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  object:[outPipe fileHandleForReading]];</code></div></div>
<br />
<br />
Is anyone can help me to get these statistics ?<br />
<br />
Thanks.]]></description>
			<content:encoded><![CDATA[Helllo everybody,<br />
<br />
Well, I'm writing a wrapper class of FTP fonctionalities. I've already made uploading feature but I would like to get information about statistics. I used NSTask like that<br />
<br />
 <div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>// 1- Prepare the task<br />
&nbsp;&nbsp;&nbsp;&nbsp;_task = [[NSTask alloc] init];<br />
&nbsp;&nbsp;&nbsp;&nbsp;[_task setLaunchPath:@"/usr/bin/curl"];<br />
&nbsp;&nbsp;&nbsp;&nbsp;// 2- Parameters buildings<br />
&nbsp;&nbsp;&nbsp;&nbsp;[args addObject:@"--proxy-anyauth"]; // connection anonyme<br />
&nbsp;&nbsp;&nbsp;&nbsp;[args addObject:@"-T"];  // initial path<br />
&nbsp;&nbsp;&nbsp;&nbsp;[args addObject:inSrcFullPath];<br />
&nbsp;&nbsp;&nbsp;&nbsp;[args addObject:@"--url"]; // end path<br />
&nbsp;&nbsp;&nbsp;&nbsp;url = [NSString stringWithFormat:@"ftp://%@:%@%@",_login,_hostAddress,inDirPath];<br />
&nbsp;&nbsp;&nbsp;&nbsp;[args addObject:url];<br />
&nbsp;&nbsp;&nbsp;&nbsp;//[args addObject:@"ftp://freebox:freebox@hd1.freebox.fr/Disque dur/Enregistrements/"];<br />
&nbsp;&nbsp;&nbsp;&nbsp;// 3- Bind to out<br />
&nbsp;&nbsp;&nbsp;&nbsp;[_task setArguments:args];<br />
&nbsp;&nbsp;&nbsp;&nbsp;[_task setStandardOutput:outPipe];<br />
&nbsp;&nbsp;&nbsp;&nbsp;//[_task setStandardError:errorPipe];<br />
&nbsp;&nbsp;&nbsp;&nbsp;[_center addObserver:self selector:@selector(taskDidNotifyMe:) name:NSFileHandleDataAvailableNotification <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  object:[outPipe fileHandleForReading]];</code></div></div>
<br />
<br />
Is anyone can help me to get these statistics ?<br />
<br />
Thanks.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Happy 4th!]]></title>
			<link>http://www.cocoacommunity.com/showthread.php?tid=159</link>
			<pubDate>Fri, 01 Jul 2011 19:42:14 -0400</pubDate>
			<guid isPermaLink="false">http://www.cocoacommunity.com/showthread.php?tid=159</guid>
			<description><![CDATA[Happy 4th of July everyone!<br />
<br />
I guess this only applies to those who live in the USA.<br />
<br />
Either way, have a great weekend!]]></description>
			<content:encoded><![CDATA[Happy 4th of July everyone!<br />
<br />
I guess this only applies to those who live in the USA.<br />
<br />
Either way, have a great weekend!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Can't Get editColumn:row:withEvent:select: to Work?]]></title>
			<link>http://www.cocoacommunity.com/showthread.php?tid=158</link>
			<pubDate>Mon, 27 Jun 2011 17:06:42 -0400</pubDate>
			<guid isPermaLink="false">http://www.cocoacommunity.com/showthread.php?tid=158</guid>
			<description><![CDATA[I've got an NSOutlineView.  If I call:<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>[currentOutlineView selectRowIndexes:[NSIndexSet indexSetWithIndex:indexOfCurrentRow+1] byExtendingSelection:NO];<br />
<br />
[currentOutlineView editColumn:0 row: indexOfCurrentRow+1 withEvent:nil select:YES];</code></div></div>
<br />
 ...the correct cell is selected by the call to selectRowIndexes.  However, the call to editColumn:<br />
 <br />
- removes whatever text was in the cell at editColumn:0 row: indexOfCurrentRow<br />
- does not select any cell for editing<br />
 <br />
What am I missing?<br />
 <br />
Thanks very much in advance for any info.]]></description>
			<content:encoded><![CDATA[I've got an NSOutlineView.  If I call:<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>[currentOutlineView selectRowIndexes:[NSIndexSet indexSetWithIndex:indexOfCurrentRow+1] byExtendingSelection:NO];<br />
<br />
[currentOutlineView editColumn:0 row: indexOfCurrentRow+1 withEvent:nil select:YES];</code></div></div>
<br />
 ...the correct cell is selected by the call to selectRowIndexes.  However, the call to editColumn:<br />
 <br />
- removes whatever text was in the cell at editColumn:0 row: indexOfCurrentRow<br />
- does not select any cell for editing<br />
 <br />
What am I missing?<br />
 <br />
Thanks very much in advance for any info.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How do I input variables in a string?]]></title>
			<link>http://www.cocoacommunity.com/showthread.php?tid=156</link>
			<pubDate>Sun, 12 Jun 2011 21:15:07 -0400</pubDate>
			<guid isPermaLink="false">http://www.cocoacommunity.com/showthread.php?tid=156</guid>
			<description><![CDATA[How do I input variables in a string? Yes, it sounds simple but I am oblivious.<br />
<br />
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle<img src="images/smilies/angry.gif" style="vertical-align: middle;" border="0" alt="Angry" title="Angry" />"Hi there!" message<img src="images/smilies/angry.gif" style="vertical-align: middle;" border="0" alt="Angry" title="Angry" />"Hello, my name is " + name.text + " and I am " + age.text + " years old." delegate:self cancelButtonTitle<img src="images/smilies/angry.gif" style="vertical-align: middle;" border="0" alt="Angry" title="Angry" />"" otherButtonTitles:nil, nil];<br />
<br />
Not working out too well.<br />
<br />
And holy shit! Beautiful website. I am literally astounded with the design. Amazing! A+]]></description>
			<content:encoded><![CDATA[How do I input variables in a string? Yes, it sounds simple but I am oblivious.<br />
<br />
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle<img src="images/smilies/angry.gif" style="vertical-align: middle;" border="0" alt="Angry" title="Angry" />"Hi there!" message<img src="images/smilies/angry.gif" style="vertical-align: middle;" border="0" alt="Angry" title="Angry" />"Hello, my name is " + name.text + " and I am " + age.text + " years old." delegate:self cancelButtonTitle<img src="images/smilies/angry.gif" style="vertical-align: middle;" border="0" alt="Angry" title="Angry" />"" otherButtonTitles:nil, nil];<br />
<br />
Not working out too well.<br />
<br />
And holy shit! Beautiful website. I am literally astounded with the design. Amazing! A+]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Confirm Close]]></title>
			<link>http://www.cocoacommunity.com/showthread.php?tid=155</link>
			<pubDate>Thu, 09 Jun 2011 07:38:32 -0400</pubDate>
			<guid isPermaLink="false">http://www.cocoacommunity.com/showthread.php?tid=155</guid>
			<description><![CDATA[Hello,<br />
<br />
I would like for a message box saying: "Are you sure you want to exit" with a yes and no option to appear when a user pressed the red X button.<br />
<br />
I believe I need to use -windowWillClose but not sure how exactly I must achieve this as I'm new to cocoa and xcode.<br />
<br />
Thanks,<br />
MangoMan]]></description>
			<content:encoded><![CDATA[Hello,<br />
<br />
I would like for a message box saying: "Are you sure you want to exit" with a yes and no option to appear when a user pressed the red X button.<br />
<br />
I believe I need to use -windowWillClose but not sure how exactly I must achieve this as I'm new to cocoa and xcode.<br />
<br />
Thanks,<br />
MangoMan]]></content:encoded>
		</item>
	</channel>
</rss>
