So do no-ops exist solely for the sake of being there for convention,
i.e. do this if you're implemented, ignore if not?
Jon
On Aug 30, 2008, at 7:13 PM, Steven Noyes wrote:
No operation. This is used to indicate a method or instruction that
performs nothing.
Steven
On Aug 30, 2008,
On Aug 30, 2008, at 9:30 PM, Chris Hanson wrote:
On Aug 30, 2008, at 2:23 PM, Alex Duzik wrote:
I'm writing an app where one Core Data entity -- Folder -- has
(conceptually) a to-many relationship with another object -- Item.
But I want to keep those items in a particular order, so I have
On Aug 30, 2008, at 9:30 PM, Chris Hanson wrote:
On Aug 30, 2008, at 2:23 PM, Alex Duzik wrote:
I'm writing an app where one Core Data entity -- Folder -- has
(conceptually) a to-many relationship with another object -- Item.
But I want to keep those items in a particular order, so I have
On Aug 30, 2008, at 8:08 PM, Mr. Gecko wrote:
Hello I am making a program that does a really hard calculation and
it seems to crash after 60 Minutes. I don't really know why it does,
I am guessing it is because I am using a for loop that takes awhile
to run
If you can't find any leaks, it
On Aug 30, 2008, at 12:30 AM, [EMAIL PROTECTED] wrote:
A program I have developed will not run on a PPC machine (G5
iMac) using OS 10.4.11. It was developed on Xcode 3.0 on an Intel
machine running OS 10.5.4. Initially the projects Cross_Develop
Using Target SDK was set to Current Mac
On Fri, Aug 29, 2008 at 7:23 PM, James Pengra [EMAIL PROTECTED] wrote:
I suspect there is still some setting in XCode that I need to change,
but I don't see anything obvious. Other programs that I've developed with
the same system do run nicely on the G5. Their Target SDK setting started
On Sat, Aug 30, 2008 at 10:47 PM, John Velman [EMAIL PROTECTED] wrote:
Thanks. I think the self.document method you describe will do it for me.
This is part of the syntax (and a relation) that I'd missed. So much
to learn!
self.document is a dot-syntax accessor, which the compiler seamlessly
Hi,
I am trying to find a way to access the netinfo DB from cocoa.
Specifically the sharing (AFP, SMB, etc).
know that server has the command line util 'sharing' for just this
purpose.
unfortunately this command is not available in the Client version of
os x :(
the reason i need this is
Hello List,
I'm using NSURLConnection/NSURLRequest in order to download some pages
from the web.
My app should be compatible both with 10.4 and 10.5.
However I've noticed a strange behavior only on 10.4: the method -
(void)connection:(NSURLConnection *)connection didReceiveData:(NSData
*)data {
I've solved the problem... on 10.4 does not follow redirects so you
need to implement something like this.
-(NSURLRequest *)connection:(NSURLConnection *)connection
willSendRequest:(NSURLRequest *)request
redirectResponse:(NSURLResponse *)redirectResponse {
NSMutableURLRequest *newRequest =
I want to pop up a window in response to a hot key. So I'm creating a window,
setting it makeKeyAndOrderFront, and I'm calling [NSApp
activateIgnoringOtherApps] so that it gets focus.
The thing is, activateIgnoringOtherApps seems to bring ALL my app's windows in
front of other windows (my app
On Aug 31, 2008, at 3:13 AM, Mr. Gecko [EMAIL PROTECTED] wrote:
Hello I am making a program that does a really hard calculation and it
seems to crash after 60 Minutes. I don't really know why it does, I am
guessing it is because I am using a for loop that takes awhile to run
(an estaminet of
Dear everyone,
I am trying to create my own NSCoder implementation to serialize
objects to a XML format which would like to use to communicate with
WCF service. The serialization is already done and I had no problems
do it, however I've got some conceptional questions about the de-
On Sun, Aug 31, 2008 at 8:57 PM, Kieren Eaton [EMAIL PROTECTED] wrote:
I am trying to find a way to access the netinfo DB from cocoa. Specifically
the sharing (AFP, SMB, etc).
know that server has the command line util 'sharing' for just this purpose.
unfortunately this command is not
Hi,
I've been playing around with bindings to NSUserDefaultsController in
a very simple app to test saving preferences, but the
[sharedUserDefaultsController save:self] method seems to return
immediately without waiting for the save operation to complete.
The save does actually take place,
8/31/08 10:13 AM, also sprach [EMAIL PROTECTED]:
I've been playing around with bindings to NSUserDefaultsController in
a very simple app to test saving preferences, but the
[sharedUserDefaultsController save:self] method seems to return
immediately without waiting for the save operation to
On Sun, Aug 31, 2008 at 11:45 AM, Meik Schuetz [EMAIL PROTECTED] wrote:
Dear everyone,
I am trying to create my own NSCoder implementation to serialize objects to
a XML format which would like to use to communicate with WCF service. The
serialization is already done and I had no problems do
On Aug 31, 2008, at 8:22 AM, Caleb Strockbine wrote:
Did you set a breakpoint in malloc_error_break? If yes, what did you
find? If no, doesn't that seem like a good place to start?
Probably not. If it is crashing after 60 minutes, it is quite a bit
more likely that the problem is in all of
Dear Michael,
thank you very much for your valuable information - I definitively
will have a look at your MAKeyedArchiver, just to learn how it's done.
The idea of implementing the xmlRespresentation methods is just great
and serves perfectly.
Once again, thanks a lot for your time.
I came across tutorial code that looked sort of like this:
NSMutableDictionary * myCollection;
myCollection = [[NSArray alloc] initWithObjects:@a, @b, @c, nil];
The types are not the same. So my first question is, is this a bug?
And if so, why didn't the compiler catch it? I come from C# so
Hi
I need to use a NSTableView to control data input by the user. The
table has two columns, labeled Title and Content. The number of
columns is fixed.
I've read what I can find on the internet, but a lot of it goes way
over my head (I'm fairly new at ObjC and xCode -- coming from
Hi all,
I'm new to Cocoa development and I'm trying to learn the basics of
sending HTTP GETs and POSTs from Cocoa. I've been reading up on NSURL
and searching for decent sample code. However, I've been unable to
find something simple that _just_ explains how to send a GET and
capture the
When dealing with applications (application bundles) by name or path,
in Cocoa, when does it make a difference whether you use
App Name.app
example:
Front Row.app
or:
/Applications/Front Row.app
versus
App Name
example:
Front Row
or:
/Applications/Front Row
This seems to be pretty important,
8/31/08 2:34 AM, also sprach [EMAIL PROTECTED]:
NSMutableDictionary * myCollection;
myCollection = [[NSArray alloc] initWithObjects:@a, @b, @c, nil];
The types are not the same. So my first question is, is this a bug?
And if so, why didn't the compiler catch it? I come from C# so unless
8/31/08 10:30 AM, also sprach [EMAIL PROTECTED]:
I'm new to Cocoa development and I'm trying to learn the basics of
sending HTTP GETs and POSTs from Cocoa. I've been reading up on NSURL
and searching for decent sample code. However, I've been unable to
find something simple that _just_
On Aug 31, 2008, at 12:30 PM, Sam Schroeder wrote:
However, I've been unable to
find something simple that _just_ explains how to send a GET and
capture the returned results. My google_fu is weak. My ultimate goal
is to send and receive XML (or maybe JSON) requests over HTTP, but
first I
it's URL, set it's
its
Jaime Magiera
Sensory Research
http://www.sensoryresearch.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at
On Aug 31, 2008, at 8:48 AM, Chris Idou wrote:
I want to pop up a window in response to a hot key. So I'm creating
a window, setting it makeKeyAndOrderFront, and I'm calling [NSApp
activateIgnoringOtherApps] so that it gets focus.
The thing is, activateIgnoringOtherApps seems to bring ALL
On Aug 31, 2008, at 1:14 PM, John Joyce wrote:
When dealing with applications (application bundles) by name or path,
in Cocoa, when does it make a difference whether you use
App Name.app
example:
Front Row.app
or:
/Applications/Front Row.app
versus
App Name
example:
Front Row
or:
On Aug 31, 2008, at 4:51 PM, [EMAIL PROTECTED] wrote:
If you're dealing with a file path, then of you of course need to
specify the extension -- it's part of the file name. You've always had
to, and always will have to.
--
Seth Willits
AppleScript certainly doesn't care about extensions
On 31 Aug 2008, at 17:25, Keary Suska wrote:
8/31/08 10:13 AM, also sprach:
I've been playing around with bindings to NSUserDefaultsController in
a very simple app to test saving preferences, but the
[sharedUserDefaultsController save:self] method seems to return
immediately without
On Sun, Aug 31, 2008 at 6:07 PM, John Joyce
[EMAIL PROTECTED] wrote:
AppleScript certainly doesn't care about extensions on application
bundles...
Of course that seems to be due to the syntax...
tell application Finder
That's because you're not specifying a bundle name. You're specifying
an
If you want to do it fast, without shell output parsing, and in a way
that will work on 10.4 *and* 10.5, use the Directory Services C API.
The downside is that it's more complex than many of the Cocoa APIs
you're likely used to.
Docs:
I have an NSPopUpButton with five menu items: WTD, MTD, QTD, YTD, and
Specific Dates. What I want to do is show and hide two labels and
textfields for Start Date and End Date depending on if the Specific
Dates option is selected.
My first attempt was to do
@property (readonly) BOOL
John Joyce wrote:
When dealing with applications (application bundles) by name or path,
in Cocoa, when does it make a difference whether you use
App Name.app
example:
Front Row.app
or:
/Applications/Front Row.app
versus
App Name
example:
Front Row
or:
/Applications/Front Row
This seems to be
On 1 Sep 2008, at 9:38 am, Jamie Phelps wrote:
I have an NSPopUpButton with five menu items: WTD, MTD, QTD, YTD,
and Specific Dates. What I want to do is show and hide two labels
and textfields for Start Date and End Date depending on if the
Specific Dates option is selected.
My first
On 31 aug 2008, at 03.12, Peter Stirling wrote:
Hi,
I've been trying to do some python scripting of iTunes using pyobjc
and ScriptingBridge, and I've been having some problems (I reduced
everything to objective-c on its own in order work out if it was
caused by pyobjc).
According to:
It looks like if the window I want to popup has NSBorderlessWindowMask set,
then this API pops up TWO windows, both the one I really want, and the last
active. On the other hand if it has a title, then it works as expected.
Any thoughts?
BTW, I'm not popping it up uninitiated, it's in
On Aug 31, 2008, at 6:38 PM, Jamie Phelps wrote:
I have an NSPopUpButton with five menu items: WTD, MTD, QTD, YTD,
and Specific Dates. What I want to do is show and hide two labels
and textfields for Start Date and End Date depending on if the
Specific Dates option is selected.
My first
On Aug 31, 2008, at 7:28 PM, Chris Idou wrote:
It looks like if the window I want to popup has
NSBorderlessWindowMask set, then this API pops up TWO windows, both
the one I really want, and the last active. On the other hand if it
has a title, then it works as expected.
Any thoughts?
On Aug 31, 2008, at 7:38 PM, Ken Thomases wrote:
On Aug 31, 2008, at 7:28 PM, Chris Idou wrote:
It looks like if the window I want to popup has
NSBorderlessWindowMask set, then this API pops up TWO windows, both
the one I really want, and the last active. On the other hand if it
has a
I believe I found the problem and it is a function I am using with a
framework, so what I will do is I will get only the things need to run
my program from the framework to make my app work and I may not have
this problem any more.
I will see if that will help and reply.
Thanks,
Mr. Gecko
31 aug 2008 kl. 22.14 skrev John Joyce:
When dealing with applications (application bundles) by name or path,
in Cocoa, when does it make a difference whether you use
App Name.app
example:
Front Row.app
or:
/Applications/Front Row.app
versus
App Name
example:
Front Row
or:
/Applications/Front
If you want to do it fast, without shell output parsing, and in a way
that will work on 10.4 *and* 10.5, use the Directory Services C API.
The downside is that it's more complex than many of the Cocoa APIs
you're likely used to.
Docs:
On Sun, Aug 31, 2008 at 4:34 AM, Jon Davis [EMAIL PROTECTED] wrote:
I came across tutorial code that looked sort of like this:
NSMutableDictionary * myCollection;
myCollection = [[NSArray alloc] initWithObjects:@a, @b, @c, nil];
The types are not the same. So my first question is, is this a
45 matches
Mail list logo