On Mar 17, 2008, at 10:55 PM, Kyle Sluder wrote:
I assume you mean you want to specify the class of the instance,
because specifying the NSObject's superclass is a nonsensical
statement. The field you're looking for is on the Identity pane of
the Inspector
LOL. Sorry, I shouldn't try and
Thank you to all.
My application is a full screen video application, if we move in spaces, it
does not fit completely on that space. If we come out of space, it takes
fullscreen again.
We cannot do any modification to window properties in spaces.
Is there a way ?
Regards,
Basavaraj
On Tue,
On 17 Mar 08, at 16:05, frank.gongpengjun wrote:
I am porting a game onto Mac OS X, I need to track all keyboard
event even it is not for me. How can I achieve that goal?
By game, do you mean keyboard logger? This is intentionally not
made easy in OS X; keyboard input to certain sources
Folks;
I am now testing a Tiger application on Leopard and learning the new
Leopard way at the same time.
I admit I have a lot of Leoparding to do!
I use Core Data (SQLite) pretty extensively on Tiger - life is good.
I take the project and run it without any changes to the model or the
On 18/03/2008, at 6:32 PM, Scott Squires wrote:
I'm starting to go in circles at this point.
I know I've got a number of interconnecting files.
Since I was getting errors I replaced the #import as much as
possible with @class defines
I'm still getting the following error:
error: syntax
On Mar 18, 2008, at 00:33, Steve Cronin wrote:
On Leopard in the 'processPendingChanges' invocation I get the
following:
0 0x900ef0f4 in ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___
#1 0x93d680fb in objc_exception_throw
#2 0x9649a2a5 in -
Hi Palav,
Yes it is possible.
You need to use SystemConfiguration framework. You can get all proxy
information except authentication. So don't try to get proxy information
from network pane. Its useless.
If you want to use network pane in system preference then use CFSocket.
(Best option)
I am trying to create a NSAppleScript object using a applescript file.
The code is as follows,
NSDictionary* errorInfo;
NSAppleScript *script = [[NSAppleScriptalloc] initWithContentsOfURL:
scriptURL error: errorInfo];
As per the documentation, on return 'errorInfo' should point to a
Le 18 mars 08 à 10:47, Vinay Prabhu a écrit :
I am trying to create a NSAppleScript object using a applescript file.
The code is as follows,
NSDictionary* errorInfo;
NSAppleScript *script = [[NSAppleScriptalloc] initWithContentsOfURL:
scriptURL error: errorInfo];
As per the documentation,
Thanks for the help. Initializing the error to nil did the trick.
-Vinay
On Mar 18, 2008, at 3:50 PM, Jean-Daniel Dupas wrote:
Le 18 mars 08 à 10:47, Vinay Prabhu a écrit :
I am trying to create a NSAppleScript object using a applescript
file.
The code is as follows,
NSDictionary*
My requirement is to set proxy via selecting Using a PAC file in Configure
proxy drop-down button of Network pane of system preferences.
I have to achieve this programmatically. How to do this?
Thanks,
Palav
On Tue, Mar 18, 2008 at 2:39 PM, Cocoa Developer [EMAIL PROTECTED]
wrote:
Hi Palav,
As already said by Basavaraj, all proxy settings are accessible using
the SystemConfiguration Framework.
Le 18 mars 08 à 13:37, parag vibhute a écrit :
My requirement is to set proxy via selecting Using a PAC file in
Configure
proxy drop-down button of Network pane of system preferences.
Ian,
Check out http://tinyurl.com/2txz6o , it's the section of the Core
Data Programming Guide titled Managed Object Accessor Methods, it
shows what methods you need to implement for working with multi-value
relationships.
Also take a look at the methods generated by selecting your
Thank for reply.
As you said, they are accessible but are they writable? Through search, I
think they are only readable or for getting notification. But my requirement
is to change it.
Thanks,
Palav
On Tue, Mar 18, 2008 at 6:29 PM, Jean-Daniel Dupas [EMAIL PROTECTED]
wrote:
As already said by
Yay, I knew there was a way to do this, and I finally figured it out!
Ok, so I'm able to emulate the Carbon calls exactly how I wanted by
doing this:
Step 1: Create the CF Timer...
CFRunLoopTimerRef timer = CFRunLoopTimerCreate(...);
CFRunLoopAddTimer(CFRunLoopGetCurrent(),
have a look at the MoreSCF sample on ADC site (http://developer.apple.com/samplecode/MoreSCF/
).
There is a bunch of helper to retreive and change configuration.
Le 18 mars 08 à 14:38, parag vibhute a écrit :
Thank for reply.
As you said, they are accessible but are they writable? Through
Thanks for the feedback.
Turns out 'error: syntax error before 'AT_NAME' token' was actually
caused by a having a cut/paste accident where a word was placed at the
very start of
another file (before the standard block of disclaimers, etc) I just
ahppened to scroll up and spot it in the
On 17 Mar '08, at 7:55 PM, Matthew Miller wrote:
I am a complete and total new person to coca and I need to create a
horizontal Matrix of cells to house icons of applicationp URLs from
a table.
I totally don't know how to do this.
Start with something simpler, then. Take one of the many
Hi,
I have a NSTableView for witch I implemented a custom DataSource class.
When I create set the dataSource for the first time, the NSTableView lists
correctly the information; but when I change the data in the DataSource object
the table view no longer updates to reflect the added
Am Mar 18, 2008 um 4:14 PM schrieb Valentin Dan:
Hi,
I have a NSTableView for witch I implemented a custom DataSource
class.
When I create set the dataSource for the first time, the
NSTableView lists correctly the information; but when I change the
data in the DataSource object
That was too easy; I'll try to come up with harder problems from now one :)
All kidding aside ... it works (of course)
Thanks !
___
Valentin Dan, Software Developer Direct: +1 905 886 1833
ext.3047
Thanks for URL.
I went through code system configuation framework. There I found that you
can set HTTP(HTTPS etc.) proxy and also PAC file URL (using
kSCPropNetProxiesProxyAutoConfigURLString key) but I want to configure
proxies using PAC file. When I analyzed network pane of system preferences
On 18 Mar '08, at 12:32 AM, Scott Squires wrote:
I'm still getting the following error:
error: syntax error before 'AT_NAME' token
...
#import stdStuff/stdStuff.h
@class myClass;
(1) Does stdStuff.h include the AppKit, Foundation or Cocoa
framework headers? If not, then NSObject itself
Your NSLog() is giving unexpected results because you are using %s.
This is a cstring (not NSString), which is null-terminated. What you
probably mean is this (at least for testing purposes):
NSLog (@socketCallback (DMX event). %@ %i bytes, msg, [msg length]);
This will print the hex codes
On Mar 17, 2008, at 11:44 PM, [EMAIL PROTECTED] wrote:
Starting with Interface Builder 3, it is suggested that you don't
define
your class in IB and have it generate the code. Instead you define
it in
XCode and IB will stay in sync with those changes.
I've been getting a sense of surprise
All,
I'm new to Cocoa (surprise) and I'm now working on a little app, and
I've come up with a solution to an issue and I'd like some feedback on
that solution. Here's the problem description:
I have an NSTableView, bound to an NSArrayController, which is bound
to my custom object. So far
Scott,
I notice that I get the AT_NAME compiler error when I've forgotten or
mistyped a semicolon _prior_ to the place where an @ symbol is used.
For instance, in the following code:
@class SomeClassA
@class SomeClassB;
@interface test : NSObject {
SomeClassA
Jay:
Well, I've never had this particular situation, but you could try
registering for textDidBeginEditing) notification from the table view,
then your code will have a way of knowing when the user is editing a
table. If it's currently being edited when your timer method starts to
do an
I completely agree - and I wrote CamelBones, the Cocoa/Perl bridge.
It is,
and always has been, my opinion that language bridges are not an
adequate
substitute for learning Cocoa's native language, Objective-C. What
they are
*great* for is giving additional options to a skilled programmer
On Mar 18, 2008, at 11:29 AM, Steve Cronin wrote:
When I start XCode3 in Leopard I am seeing the following in
Console.app.
Any ideas on what is going on?
1. IANTM, but the xcode-users list is the place where Xcode discussion
should go.
2. Are you actually having problems running
On Mar 18, 2008, at 10:29 AM, Steve Cronin wrote:
When I start XCode3 in Leopard I am seeing the following in
Console.app.
Any ideas on what is going on?
This question belongs, and has been answered, on Xcode-Users:
Folks;
I have a little more data on this issue:
After I have done any insert, if I subsequently call -
processPendingChanges I get an error in CoreData.
There are no pending messages in the log and no custom catch blocks
(other than what is show below).
The debugger halts on the @try
On Mar 18, 2008, at 6:17 PM, Jay Martin [EMAIL PROTECTED] wrote:
All,
I'm new to Cocoa (surprise) and I'm now working on a little app, and
I've come up with a solution to an issue and I'd like some feedback
on that solution. Here's the problem description:
I have an NSTableView, bound
Yes, Xcode love to tell you what it does, but it's not really
important. All those warning are a side effect of garbage collection
in software that use to leak nad should be ignored.
Le 18 mars 08 à 18:29, Steve Cronin a écrit :
Folks;
When I start XCode3 in Leopard I am seeing the
Hello I am wondering how to get my program to notice when a file
changes in a folder.
For an example I have a bundle with files in it that gets opened with
another program and I want my program to know when the other program
saves and what file it saved in that bundle so that my program can
What is the best way to execute a shell script from a Cocoa application?
I need to be able to specify arguments, like what execv() provides.
-Ryan
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or
On Mar 18, 2008, at 11:07 AM, Mr. Gecko wrote:
Hello I am wondering how to get my program to notice when a file
changes in a folder.
See:
http://developer.apple.com/documentation/Darwin/Conceptual/FSEvents_ProgGuide/
I have a custom view . And I have drew something on this view . I want to
add a custom view to a menuItem . But this is not supported before Leopard .So
I'm going to ask help to carbon.
The main idea is that I get the menuRef from the [NSApp mainMenu] ,and then
draw something on that specific
Le 18 mars 08 à 19:14, Ryan Chapman a écrit :
What is the best way to execute a shell script from a Cocoa
application?
I need to be able to specify arguments, like what execv() provides.
-Ryan
NSTask is able to launch an executable with arguments.
On Mar 18, 2008, at 10:17, Jay Martin wrote:
I have an NSTableView, bound to an NSArrayController, which is bound
to my custom object. So far so good. I can change attributes, add,
remove, all that good stuff. Now, my custom object can have one
property changed programmatically by an
On Tue, Mar 18, 2008 at 2:25 PM, Daniel zeilMal [EMAIL PROTECTED] wrote:
I have a custom view . And I have drew something on this view . I want to
add a custom view to a menuItem . But this is not supported before Leopard
.So
Are you trying to use _NSGetCarbonMenu on Leopard? If so, just go
If your data model is updated but not the Table View simply calling
setNeedsDisplay on the tv should be enough and less expensive (you
can even simply call it for rects of cells to be updated)
Laurent
That's it! Using setNeedsDisplay (instead of reloadData) on the
TableView while another
NO , I'm not going to use it on leopard . Cause in leopard , NSMenuItem
support setting custom views using API setView:.What I want , just using it
in Tiger .
extern MenuRef _NSGetCarbonMenu( NSMenu *menu);
@implementation MyController
OSStatus PictureHandler( EventHandlerCallRef caller,
And here are a few implementations of FSEvents:
Open source implemenation of how to subscribe to file system events
http://greenearthcommons.org/rian/gfslogger/
Command line utility that shows file system events in real time
http://www.kernelthread.com/software/fslogger/
GUI utility that
on 3/18/08 11:17 AM, [EMAIL PROTECTED] purportedly said:
I have an NSTableView, bound to an NSArrayController, which is bound
to my custom object. So far so good. I can change attributes, add,
remove, all that good stuff. Now, my custom object can have one
property changed programmatically by
On Tue, Mar 18, 2008 at 1:41 PM, Brian Greenstone [EMAIL PROTECTED] wrote:
Now I just need to figure out the
CF equivalent of thos NSApplication calls and then I can be Obj-C
free ;)
You're asking in the wrong place. Perhaps try
http://lists.apple.com/mailman/listinfo/carbon-dev ?
Hamish
Hey Jack -
IB syncs with Xcode whenever a document comes to the foreground and
there is an open project for that document. IB only syncs the files as
the appear on disk, so if you have unsaved changes in an editor
window, IB won't pick them up. IB also only pulls in the headers from
the
On Mar 17, 2008, at 11:19 PM, Martin Wierschin wrote:
I have some text items whose glyphs cannot be determined until
layout. The text string might contain a marker to draw the current
page number, or to sequentially number paragraphs, etc. The glyphs
can be determined only by the layout
On Mar 18, 2008, at 1:06 PM, Jonathan Hess wrote:
IB syncs with Xcode whenever a document comes to the foreground and
there is an open project for that document. IB only syncs the files
as the appear on disk, so if you have unsaved changes in an editor
window, IB won't pick them up. IB
I have an NSTableView (multiple selection, not editable) and I want to
do something with the elements of the displayed list when the user
double clicks. Even though the table has multiple selection, I only
want to action the single element that the user double-clicked.
If I set up a
Working with IB3 to try and get my bearings again, and I know I'm
doing something stupid here. I have an NSTextField inside an
NSScrollView created in IB3. I have bound the value binding of the
NSTextField to an NSString called feedback, exposed as an Objective-C
2.0 property,declared like
On Mar 18, 2008, at 5:33 PM, Jeff LaMarche wrote:
. If I run my program, and make changes to the string (feedback),
those are not reflected in the text field even though I can tell
through the debugger that the string is changing.
Just a clarification, if I populate the string with a
On Mar 18, 2008, at 11:36 AM, [EMAIL PROTECTED] wrote:
On Mar 18, 2008, at 11:32 AM, cai qin wrote:
I have a cocoa app developed in Tiger . Is it possible that Using a
carbon
menuRef to get App 's mainMenu?
Why not just use public Carbon API?
MenuRef carbonMenuBar = AcquireRootMenu();
...
On Mar 18, 2008, at 14:33, Jeff LaMarche wrote:
I have bound the value binding of the NSTextField to an NSString
called feedback,
Actually, you bind the text field to the property feedback of some
object (File's Owner?). When you start using array properties, getting
this terminology
On Mar 18, 2008, at 11:32 AM, cai qin wrote:
I have a cocoa app developed in Tiger . Is it possible that Using a
carbon
menuRef to get App 's mainMenu?
Why not just use public Carbon API?
MenuRef carbonMenuBar = AcquireRootMenu();
...
error = ReleaseMenu(carbonMenuBar); //clean up
and
On Tue, Mar 18, 2008 at 1:02 PM, Scott Thompson [EMAIL PROTECTED] wrote:
I completely agree - and I wrote CamelBones, the Cocoa/Perl bridge.
It is,
and always has been, my opinion that language bridges are not an
adequate
substitute for learning Cocoa's native language, Objective-C.
Quincey -
Thanks much. You pointed me in the right direction - I was doing this:
[self.feedback appendString:string];
Thanks much for the help!
On Mar 18, 2008, at 6:10 PM, Quincey Morris wrote:
On Mar 18, 2008, at 14:33, Jeff LaMarche wrote:
I have bound the value binding of the
TransitionWindow was never implemented well in OS X, as far as I know.
Last I checked, it simply drew a few zoomrects using the look of the old
OS 9 Finder. Not too impressive. It didn't do genie effects either.
You might look into NSWindow's - (void)setFrame:(NSRect)windowFrame
I have a NSPopupButton, bound Selected Tag to my array controller with
the appropriate property. When a new object is created, the default
value is appropriately selected out of the 2 menu items associated
with the button (the value of the property is 0 or 1 as are the tags
for the menu
On 3/18/08 3:49 PM, John Stiles said:
TransitionWindow was never implemented well in OS X, as far as I know.
Last I checked, it simply drew a few zoomrects using the look of the old
OS 9 Finder. Not too impressive. It didn't do genie effects either.
It must have been updated since you last
I found that I can call the NSLayoutManager methods for modifying
glyph storage (replaceGlyphAtIndex:withGlyph:,
insertGlyph:atGlyphIndex:characterIndex:, etc.) without errors if I
place the code in an override of NSATSTypesetter -
beginLineWithGlyphAtIndex: and inform the typesetter of any
I have an NSTableView, bound to an NSArrayController, which is bound
to my custom object. So far so good. I can change attributes, add,
remove, all that good stuff. Now, my custom object can have one
property changed programmatically by an NSTimer. Of course, when the
change happens, the object
Sorry for the long delay in replaying, I wanted to make sure that what
I was doing was going to work before I responded. It turns out that
Jacob was the closest to the solution that I wanted (though I thank
everyone for their suggestions). The one common theme in the
suggestions involved
Hey all,
I have a few CIColor's that I need to query for their color components, but I'm
running into errors. Here's what I'm trying to do:
CGFloat *color;
color = [ciColor components];
Xcode complains, saying CGFloat is undeclared. I think I'm including all the
appropriate headers... What
Look at the TaskWrapper sample code
(http://developer.apple.com/samplecode/Moriarity/listing5.html). This not only
launches a system command, but can update your UI for the IO feedback?
Mark
What is the best way to execute a shell script from a Cocoa application?
I need to be able to
On Mar 18, 2008, at 4:40 PM, Ross Carter wrote:
I found that I can call the NSLayoutManager methods for modifying
glyph storage (replaceGlyphAtIndex:withGlyph:,
insertGlyph:atGlyphIndex:characterIndex:, etc.) without errors if I
place the code in an override of NSATSTypesetter -
1) If I can load all the data into memory, using say a hash table,
then the initial load time will be somewhat significant but the
lookups will be near instantaneous.
Really shouldn't be too hard to load the OP's 41,000 very short strings
nearly instantaneously.
I had a situation where I had
On Mar 18, 2008, at 5:11 PM, bensyverson wrote:
I have a few CIColor's that I need to query for their color
components, but I'm running into errors. Here's what I'm trying to do:
CGFloat *color;
color = [ciColor components];
Xcode complains, saying CGFloat is undeclared. I think I'm
Okay -- but how do I get CIColor components in 10.4?
Both float* and double* throw a warning (assignment from incompatible pointer
type, and assignment discards qualifiers from pointer target type,
respectively)
Thanks!
- ben
David Duncan wrote ..
The Mac OS X 10.4 SDK doesn't have a
On Mar 18, 2008, at 5:58 PM, bensyverson wrote:
Okay -- but how do I get CIColor components in 10.4?
Both float* and double* throw a warning (assignment from
incompatible pointer type, and assignment discards qualifiers from
pointer target type, respectively)
If your targeting the 10.4
Hello All,
I am a little stumped today, not sure why, but how would I add a space after
every character in an NSString and produce a new NSString from it.
So I have something like: (ignore the quotes, I just did it for containment
sake..)
³/Users/slack/Music²
And I want it to be:
³/ U s e r s
The course Programming with Cocoa frameworks on Mac OS X and for
iPhone starts on March 25 at 6:30pm.
The course will cover:
• Xcode and Interface Builder
• Objective-C 2.0
• Controls and Views
• Cocoa Bindings
• Document-based apps
• Core Data
The course Programming with Cocoa frameworks on Mac OS X and for
iPhone starts on March 25 at 6:30pm.
I'm curious about your iPhone content. Do you cover the iPhone SDK
or are you merely referring to the fact that learning XCode / IB /
Objective-C 2.0 / Cocoa in general prepares you for
Best solution is FSEvents, which others pointed you to, *if* you can use
10.5. Otherwise, look at kqueue.
--
Scott Ribe
[EMAIL PROTECTED]
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
Hi, i have a server and client communication through DO. Connections
are all set up then the client send a message to the server with
itself as the first argument. The server should then just reply right
away to the client using the first argument as the proxy. Problem is,
im getting the
Hi,
The answer is in the requirement to have ADC online membership and to
download iPhone SDK, which will automatically promote you to iPhone
developer too.
Regards,
Pavel Kapinos.
On 18-Mar-08, at 5:53 PM, I. Savant wrote:
The course Programming with Cocoa frameworks on Mac OS X and for
Unless you are doing this hundreds of thousands of times in a row, I
doubt you will need to worry about efficiency.
By the way, now that I'm thinking about this a little more, you might
also consider making an NSAttributedString and setting the kern value
for the string to be a large value
The answer is in the requirement to have ADC online membership and
to download iPhone SDK, which will automatically promote you to
iPhone developer too.
That's not necessarily the case.
Again, I'm not trying to be difficult, but you haven't addressed
Apple's permission. The typical
Thank you very much for bringing this issue to me!
I will definitely have to have a second look at the SDK licence.
In the worst case scenario, yes - learning to program Cocoa on Mac
OS X would be a good start for iPhone.
Regards,
Pavel Kapinos.
On 18-Mar-08, at 7:08 PM, I. Savant wrote:
Actually, no. Not for games. For games we use the HID Manager for
input which allows us to use more than just the keyboard and mouse.
It allows for gamepads, steering wheels, tablets, etc, etc. The code
doesn't even need to know where the input is coming from. The code
can't tell the
You could get a char array from your initial NSString and then use
stringByAppendingFormat:@%c on an NSString in a loop. Notice the
space after the %c.
-Matt
J. Todd Slack wrote:
Hi John,
Yes, I have, Are you thinking insertString:atIndex:?
So at a basic level, can I get the string
Initializing the errorInfo to nil did the trick.
When no error occurs, NSAppleScript will not touch the error dictionary.
So I was trying to access the dictionary pointing to junk memory.
Thanks for the help.
-Vinay
On Mar 18, 2008, at 7:44 PM, Nir Soffer wrote:
On Mar 18, 2008, at 11:47,
Check out http://cocoacast.com/, in particular episodes 14, 15, 16 for
prefs (and notifications). The example they show does not use
bindings, but by binding the view objects you can scrap much of the
code.
Also see
Anyone know how to change the printing page orientation or scaling in Xcode 3.0
for data model diagrams (or any other printing task in Xcode)? It used to be
available in Page Setup, but that disappeared in 3.0.
Thanks.
___
Cocoa-dev mailing list
Steve,
You can get some more information. Add an @try/@catch block to your
AppDelegate.m:700 line, and log both the exception and its userInfo
dictionary.
Also, if you search the archives for my recent post
[ANN] 10.5.2 Core Data debug library available
you can run against a version of
On Tue, Mar 18, 2008 at 7:40 PM, J. Todd Slack
[EMAIL PROTECTED] wrote:
Hello All,
I am a little stumped today, not sure why, but how would I add a space
after
every character in an NSString and produce a new NSString from it.
So I have something like: (ignore the quotes, I just did it
In older versions of Xcode (2.5!) it used to be possible to break on console
output by putting a breakpoint on NSLog.
Is there any equivalent breakpoint to set to stop on console messages in
Xcode 3.x (or 10.5)?
I'm getting a message like Error: CGImageSourceCreateWithData data
parameter is nil\n
On Mar 18, 2008, at 8:31 PM, John Bishop wrote:
Anyone know how to change the printing page orientation or scaling
in Xcode 3.0 for data model diagrams (or any other printing task in
Xcode)? It used to be available in Page Setup, but that disappeared
in 3.0.
Thanks.
I would like to
On Tue, Mar 18, 2008 at 11:10 PM, stephen joseph butler
[EMAIL PROTECTED] wrote:
Yes; there's not a good, easy way to do this. One implementation that at
first seems correct is this:
from = [NSMutableString string];
for (int i = 0; i [to length]; ++i)
[from appendFormat:@%C , [from
On Mar 18, 2008, at 9:11 PM, Chris Meyer wrote:
In older versions of Xcode (2.5!) it used to be possible to break on
console
output by putting a breakpoint on NSLog.
Is there any equivalent breakpoint to set to stop on console
messages in
Xcode 3.x (or 10.5)?
Set a breakpoint on
On Tue, Mar 18, 2008 at 5:40 PM, J. Todd Slack
[EMAIL PROTECTED] wrote:
Hello All,
I am a little stumped today, not sure why, but how would I add a space after
every character in an NSString and produce a new NSString from it.
So I have something like: (ignore the quotes, I just did it
On Mar 18, 2008, at 7:23 PM, Brian Greenstone wrote:
Actually, no. Not for games. For games we use the HID Manager for
input which allows us to use more than just the keyboard and mouse.
It allows for gamepads, steering wheels, tablets, etc, etc. The
code doesn't even need to know
Hello All,
I am trying to write some NSStrings to a text file. Upon looking at what the
format should be in TextMate with invisibles on, it shows:
http://jasonslack.biz/pic1.png
What is the grey diamond character so I can reproduce this? If I don¹t use
it the format is not recognized.
How do I
Hi, I'm seem to be stuck on page 45 of the Cocoa Application Tutorial. I
have tried several times to add the controller class to the NIB file without
any success. I'm using Xcode 3.1 on a MacBook Pro Mac OS X 10.5.2.
Thanks,
-Conrad
___
Cocoa-dev
On Tue, Mar 18, 2008 at 11:34 PM, J. Todd Slack
[EMAIL PROTECTED] wrote:
What is the grey diamond character so I can reproduce this? If I don¹t use
it the format is not recognized.
How do I do the grey diamond in code?
Off the top of my head, it's probably '\0'. Tell TextMate to re-open
Hi, Jason,
I notice that you have a prior post on Adding spaces to an NSString
-- you appear to want to add a spacing character of some sort between
all of the characters in a file/directory path and then write it to a
text file.
I don't actually have a solution for you at this time --
On Tue, Mar 18, 2008 at 11:53 PM, J. Todd Slack
[EMAIL PROTECTED] wrote:
Currently I am doing:
if ([predefinedSessionDocumentsFileContents writeToFile:
pathToUsersImpressionDocumentsSessionFile atomically: YES]) {}
else { NSLog (@Failure writing Documents Session File On
Startup);
}
On 18 Mar '08, at 9:11 PM, Chris Meyer wrote:
In older versions of Xcode (2.5!) it used to be possible to break on
console
output by putting a breakpoint on NSLog.
Is there any equivalent breakpoint to set to stop on console
messages in
Xcode 3.x (or 10.5)?
Not all console output is
On 18 Mar '08, at 5:51 PM, J. Todd Slack wrote:
I am just looking for the most efficient way
Some principles:
* Insertion into the middle of a string (or array) is inefficient.
It's faster to append.
* Creating new strings is inefficient (as with -
stringByAppendingString:).
*
On 18 Mar '08, at 9:53 PM, J. Todd Slack wrote:
So how do I write out a text file in UTF16-BE encoding? Maybe this
would
solve my problem.
You *are* writing it out in that encoding; that's the problem. It's
not the default text encoding, so apps won't interpret the text
correctly. You
100 matches
Mail list logo