Hi Kevin,
On Wed, May 20, 2009 at 4:43 PM, Chris Suter wrote:
[snip]
> These are the default rules:
>
> ^Resources/.*\.lproj/
>
> optional
>
> weight
> 1000
>
Sorry, the default rules are more than just that. Have a look at the
end of a generated CodeResources file and you'll the
I find transient attributes extremely useful sometimes for properties
which you want in the undo stack, but not persisted to disk. For
example data caches, or session-specific UI properties.
Mike.
On 20 May 2009, at 04:20, Jerry Krinock wrote:
After working through another issue caused by m
Folks;
I'm trying to write a pretty simple contextual menu plug in
I've modeled it after SampleCMPlugin. I just to the COM stuff
straight away.
I successfully compile and move the release product to ~/Library/
Contextual Menu Items
I log out and back in
I never see any of the printf() e
Answering to myself: The problem was in that I misspelled the menu
caption "Help" in Spanish ("Ayuda"). More precisely, there were
characters that visually appeared like Latin, but actually were in
different encoding. The Search menu field appears automatically when
the menu caption is spelled corr
Hi list !
I have a subthread that sends to my main thread some objectIDs (of
objects it inserted in the same store (same PSC))
I have 2 MOCs, one per thread, sharing the same PSC (following advices
from the doc...)
In the main thread, using objectWithID: repeatedly on each objectID
sent b
On May 19, 2009, at 17:22, Stuart Malin wrote:
I don't see why it is a design flaw to want to bind to the
selectedIndex of a segmented control so that when the user changes
the selected segment, my code to take action. Binding to the control
is conceptually quite similar. The two approaches
I know, and I apologize, but I got desperate. We've tried every route that is
publically available; their legal number, their corporate division reps, DTS,
you name it. We just get the runaround. That's the only reason I would spam
the list with something so completely off-topic. If I could
I talked to our contracting people over here; they've been in contact with an
Apple-Government representative for some time now. They're telling me he won't
give them a direct number for anyone they can talk to in the legal department.
This makes it impossible to correct the legal problems, wh
Hmmm,
It seems I was using temporary objectIDs, not permanent ones... It was
a nightmare with 10.4 because there was no way to get permanent
objectIDs... now we can, and I've been overlooking that problem ;)
Aurélien,
Objective Decision Team
On 20 mai 09, at 12:03, Aurélien Hugelé wrot
Hi,
I’m developing a QuickLook plugin for a custom binary file format.
As long as I did not cared about memory leaks everything was fine.
Then I fixed the leak with the help of Instruments. Everything runs
fine from xCode and Instruments but now it crashes if I run the plugin
from the find
Le 20 mai 2009 à 13:17, Georg Seifert a écrit :
Hi,
I’m developing a QuickLook plugin for a custom binary file format.
As long as I did not cared about memory leaks everything was fine.
Then I fixed the leak with the help of Instruments. Everything runs
fine from xCode and Instruments b
I have a base class in a framework, let's call it A. This has a number
of subclasses, B C and D.
I have some functionality I'd like to add that would apply to all A,
B, C and D. So a category on A would be fine - except that I need some
support in the form of a couple of ivars. The added fu
On 2009 May 20, at 05:09, Graham Cox wrote:
I have a base class...
I believe a short version of your question is: "How can I get multiple
inheritance?" The short answer is that Objective-C does not support
multiple inheritance.
Any solution I've missed?
Re-think your design so that
There clearly is a difference since fetching is *much* slower that
objectWithID: then testing using try/catch is the object is a fault or
not.
I'm puzzled... it works bout I would like to know the real difference
here.
Aurélien,
Objective Decision Team
On 20 mai 09, at 12:03, Aurélie
On 20/05/2009, at 10:24 PM, Jerry Krinock wrote:
I believe a short version of your question is: "How can I get
multiple inheritance?" The short answer is that Objective-C does
not support multiple inheritance.
Yep. I know that, which is why I'm trying to find an elegant workaround.
Any
subclass AA off A, add your ivars there and sub B, C and D off AA
instead?
On May 20, 2009, at 8:09 PM, Graham Cox wrote:
I have a base class in a framework, let's call it A. This has a
number of subclasses, B C and D.
I have some functionality I'd like to add that would apply to all A,
On 20/05/2009, at 10:49 PM, Roland King wrote:
subclass AA off A, add your ivars there and sub B, C and D off AA
instead?
Ah, I should have made it clearer that all of A, B C and D are in the
framework, and the additional functionality belongs to an app which
includes the framework. The
On Wed, May 20, 2009 at 1:35 PM, Graham Cox wrote:
>
> On 20/05/2009, at 10:24 PM, Jerry Krinock wrote:
>
>> I believe a short version of your question is: "How can I get multiple
>> inheritance?" The short answer is that Objective-C does not support
>> multiple inheritance.
>
> Yep. I know that,
On May 20, 2009, at 7:09 AM, Graham Cox wrote:
I have a base class in a framework, let's call it A. This has a
number of subclasses, B C and D.
I have some functionality I'd like to add that would apply to all A,
B, C and D. So a category on A would be fine - except that I need
some suppo
On 2009 May 20, at 05:56, Graham Cox wrote:
Ah, I should have made it clearer that all of A, B C and D are in
the framework, and the additional functionality belongs to an app
which includes the framework. The class relationships between A and
B, C, D are already established in the framewo
Can you use composition in your application to compose an instance of
class E with instances of framework classes A through to D?
Kiel ;-)
"Peace cannot be achieved through violence, it can only be attained
through understanding."
Albert Einstein
On 20/05/2009, at 10:09 PM, Graham Cox wrote
Hi,
I’m developing a QuickLook plugin for a custom binary file format.
As long as I did not cared about memory leaks everything was fine.
Then I fixed the leak with the help of Instruments. Everything runs
fine from xCode and Instruments but now it crashes if I run the
plugin from the find
On 20/05/2009, at 11:11 PM, Jerry Krinock wrote:
I still say, use a delegate. Think of a delegate as a general-
purpose ivar. Lots of Cocoa classes have delegates that I don't
always use. A delegate is not ugly. Just hold your nose if
necessary, add a delegate and move on.
I'm coming
On May 20, 2009, at 8:56 AM, Jonathan del Strother wrote:
I believe a short version of your question is: "How can I get
multiple
inheritance?" The short answer is that Objective-C does not support
multiple inheritance.
Yep. I know that, which is why I'm trying to find an elegant
workaround.
On Wed, May 20, 2009 at 8:09 AM, Graham Cox wrote:
> I have a base class in a framework, let's call it A. This has a number of
> subclasses, B C and D.
>
> I have some functionality I'd like to add that would apply to all A, B, C
> and D. So a category on A would be fine - except that I need some
Hey, I just noticed that there is a goviphone list you can subscribe
to. Maybe you could find out something useful there. I was looking to
see if there was a new, dedicated iPhone/iPod/Touch list,
Paul Archibald
---
"The compet
On May 20, 2009, at 11:01 AM, Philip White wrote:
Sorry for the vagueness. The NSError object return by the routine
has a description of
"Error Domain=NSCocoaErrorDomain Code=517 UserInfo=0x53586b0 "The
file could not be saved using text encoding Western (Mac OS Roman)."
I've noticed that I
On Wed, May 20, 2009 at 11:40 AM, Jerry Krinock wrote:
>
> On 2009 May 20, at 08:14, Michael Ash wrote:
>
>> The new -forwardingTargetForSelector: method in Leopard makes this sort of
>> forwarding super easy
>
> Until some months later, when you're debugging a "unrecognized selector sent
> to cla
On Wed, May 20, 2009 at 8:31 AM, Andreas Grosam wrote:
> I just stumbled over this issue with CGRectUnion when one operand is an
> empty rect, or has negative width or hight:
>
> CGRect r1 = CGRectZero;
> CGRect r2 = CGRectMake(100.0, 100.0, 300.0, 300.0);
> CGRect r3 = CGRectUnion(r1, r2
Once again.
This is off topic. As was the original and the second followup.
Please, don't post off topic messages. If you feel you need to add
[OT], then it doesn't belong here.
On 20-May-09, at 6:57 AM, Karan, Cem (Civ, ARL/CISD) wrote:
I talked to our contracting people over here; they've
On May 20, 2009, at 09:24, Stuart Malin wrote:
In the specific case which I am working with, the UI element does
not correspond to a model value of the application's data. The
control is used only to change the presentation of the model data.
Hence, a change to the UI would necessitate, wel
On Wed, May 20, 2009 at 8:25 AM, Aurélien Hugelé
wrote:
> There clearly is a difference since fetching is *much* slower that
> objectWithID: then testing using try/catch is the object is a fault or not.
Read the -[NSManagedObjectContext obtainPermanentIDsForObjects:error:]
docs carefully:
"This m
IMHO, if it works the way you describe, it's doing the right thing, at least
mathematically speaking from a point-set viewpoint. Unfortunately,
NSUnionRect works like the docs describe, which is not what I needed, so I
wrote my own. It's too bad NSUnionRect and CGRectUnion appear to not be
consis
On 2009 May 20, at 08:14, Michael Ash wrote:
The new -forwardingTargetForSelector: method in Leopard makes this
sort of forwarding super easy
Until some months later, when you're debugging a "unrecognized
selector sent to class B" message. Ah, three hours later, you realize
that the mes
On Wed, May 20, 2009 at 11:31 AM, Andreas Grosam wrote:
> I'm wondering if this is intended behavior and the docs are wrong, or vice
> versa.
I don't have an answer for your question, but the best way to get
some kind of action is to file a bug report against the API at:
http://bugreport.appl
On Wed, May 20, 2009 at 12:37 PM, Ken Thomases wrote:
> While target-action is perfectly fine for what you're trying to do, I would
> point out that controller's can have properties, too. Binding UI to a
> property of your controller is another good way to handle this situation.
> It leaves the
On May 20, 2009, at 6:34 AM, Georg Seifert wrote:
Hi,
I’m developing a QuickLook plugin for a custom binary file format.
As long as I did not cared about memory leaks everything was fine.
Then I fixed the leak with the help of Instruments. Everything
runs fine from xCode and Instrume
On Wed, May 20, 2009 at 11:21 AM, Keith Duncan wrote:
>
>> One would think that given the Objective-C 2.0 runtime (which is only
>> available on iPhone OS, or 64-bit mode in Mac OS, ARGH!) and its support for
>> iVar layouts, adding an ivar to an existing class would be possible. Since
>> it isn't
I just stumbled over this issue with CGRectUnion when one operand is
an empty rect, or has negative width or hight:
CGRect r1 = CGRectZero;
CGRect r2 = CGRectMake(100.0, 100.0, 300.0, 300.0);
CGRect r3 = CGRectUnion(r1, r2);
the result for r3 is actually :
r3.origin: (0, 0)
r3.size
One would think that given the Objective-C 2.0 runtime (which is
only available on iPhone OS, or 64-bit mode in Mac OS, ARGH!) and
its support for iVar layouts, adding an ivar to an existing class
would be possible. Since it isn't [...]
I thought that was one of the features of the Object
On May 20, 2009, at 11:24 AM, Stuart Malin wrote:
Also, on May 19, 2009, at 14:18, Stuart Malin wrote:
My specific concern is with NSSegmentedControl, which has a bindable
property "selectedIndex". I am trying to add an observer for this
property (using -addObserver: on an instance).
So you'
Hi,
Sorry for the vagueness. The NSError object return by the routine
has a description of
"Error Domain=NSCocoaErrorDomain Code=517 UserInfo=0x53586b0 "The file
could not be saved using text encoding Western (Mac OS Roman)."
I've noticed that I don't get errors saving an RTF file even if it
On May 20, 2009, at 1:04 AM, Quincey Morris wrote:
On May 19, 2009, at 17:22, Stuart Malin wrote:
I don't see why it is a design flaw to want to bind to the
selectedIndex of a segmented control so that when the user changes
the selected segment, my code to take action. Binding to the control
Hello,
I am hoping to use NSAttributedString's
fileWrapperFromRange:documentAttributes:error: to export text from my
program into a variety of formats. However, the routine fails
frequently when the NSDocumentTypeDocumentAttribute is set to
NSPlainTextDocumentType, to be specific, when
In the main thread, using objectWithID: repeatedly on each objectID
sent by the subthread returns the object that was inserted in the
background thread. This is exactly what I want.
But reading from the doc, it seems that we are encouraged to use a
fetch using "self IN %@",listOfObjectIDs instead
I am seeing a strange behavior in 10.4 only where my NSSecureTextField
does not get the focus until after I have hit the TAB key, or forced
it to be the first responder after all of the screen updates are
complete. The cursor is in the control and typed text appears
correctly, but my deleg
On 20 May 2009, at 16:40, Jerry Krinock wrote:
The new -forwardingTargetForSelector: method in Leopard makes this
sort of forwarding super easy
Until some months later, when you're debugging a "unrecognized
selector sent to class B" message. Ah, three hours later, you
realize that the me
On the iPhone, what's the point of the network Reachability APIs, when
one can simply open a network socket (or input/output stream) and
observe the EOF notices from the socket to determine network
availability & reachability? In other words, if a network connection
has to be made in the f
Your approach requires you to keep testing the send if it fails
initially. Using SCNetworkReachability, you can get an asynchronous
callback when your target becomes reachable, thereby simplifying your
code. You could write something to do that yourself, but then you'd
just be reinventing t
CGRectZero is the rectangle at point (0, 0) with zero size. For an
empty rectangle that will work correctly with CGRectUnion you need to
use CGRectNull instead.
John
On May 20, 2009, at 11:45 AM, Gordon Apple wrote:
IMHO, if it works the way you describe, it's doing the right thing
Yes, but even if Reachability says a given host or route is available,
that does not mean it will be available one second later, for
example. You still have to try connecting to the host and
transferring data, and you can still get an 'IO exception' (so to
speak) at any time. I just don't
Again, it's the waiting aspect. The advantage is you don't have to
spin and do something in a loop in your code. You go about your
business and let reachability get back to you when it looks like you
can try your connection. This is the same as the advantage of using
pthread_cond_wait inste
I understand what you are saying, but if you do IO correctly you'll do
it in a background thread anyway. So waiting on a blocking socket
until it times out or gives EOF is normally how IO is done. So if you
already correctly handle that aspect of the IO in your application
(and reconnect
If you've already written a thread to do that, then great. That's the
reinventing the wheel thing I mentioned earlier, though. Your question
is essentially coming down to, "why use the API instead of the code
I've already written to do what the API does?" Only you can decide
which you'd rat
On Wed, May 20, 2009 at 4:21 PM, Eric Hermanson wrote:
> I understand what you are saying, but if you do IO correctly you'll do it in
> a background thread anyway.
Poppycock. Why do you think non-blocking synchronization primitives exist?
> So waiting on a blocking socket until it times
> out o
On May 20, 2009, at 8:21 AM, Keith Duncan wrote:
One would think that given the Objective-C 2.0 runtime (which is
only available on iPhone OS, or 64-bit mode in Mac OS, ARGH!) and
its support for iVar layouts, adding an ivar to an existing class
would be possible. Since it isn't [...]
I th
We have an app with a UISwitch that we show/hide depending on if there
is a WiFi network available or not. Since its a simple delegate call,
it makes it easy.
On May 20, 2009, at 2:55 PM, Eric Hermanson wrote:
On the iPhone, what's the point of the network Reachability APIs,
when one can s
On May 20, 2009, at 6:01 AM, Ken Thomases wrote:
It's possible for a category to provide ivar-like functionality.
You can maintain a "category variable" in the same manner as one
implements a "class variable" in Objective-C: a file-scope static in
the implementation file. That variable cou
The Reachability only tells you if a network MIGHT be available. You
still have to write code to do the data transfer. What if
Reachability tells you the network is available, but then you go to
transfer the data (a second later) and the network is no longer
available? You still have to
I'm not so sure it's poppycock. The asynchronous IO APIs all do the
work in a background thread (or a 'simulated' background via a run
loop). Either way the IO is not blocking the main application thread
when it is working. So I don't think the concept that correct IO is
IO that is done
Ok, so you write your implementation to simply send the first bit of
data repeatedly in some background thread. If that first send ever
succeeds, does that guarantee the next one will? No, it does not.
There's no way you can write anything that guarantees that at any
given moment that a sen
I think that's precisely my point. If I have to manage the data
transfer mechanism independently of the Reachability APIs in the first
place, then that was why I asked the question, why use the
Reachability APIs at all? I guess that was the basis for my original
post. Sure, Reachability
On Wed, May 20, 2009 at 4:56 PM, Eric Hermanson wrote:
> I'm not so sure it's poppycock. The asynchronous IO APIs all do the work in
> a background thread (or a 'simulated' background via a run loop). Either
> way the IO is not blocking the main application thread when it is working.
> So I don
Fair enough. My application is so network intensive that I really
don't have the luxury of having a bad network connection in the first
place. If we want to talk APIs, I wish Apple would provide Cocoa APIs
for things like socket timeout and reconnecting a socket that may have
lost its con
On May 20, 2009, at 2:03 PM, Eric Hermanson wrote:
I think that's precisely my point. If I have to manage the data
transfer mechanism independently of the Reachability APIs in the
first place, then that was why I asked the question, why use the
Reachability APIs at all? I guess that was th
On Wed, May 20, 2009 at 1:00 PM, John Harper wrote:
> CGRectZero is the rectangle at point (0, 0) with zero size. For an empty
> rectangle that will work correctly with CGRectUnion you need to use
> CGRectNull instead.
I guess the docs need to be corrected then since the following implies
CGRectZ
How useful is it to bind (in IB) to NSSharedUserDefaultsController, in
practice? I have a couple checkboxes bound to properties foo and bar
in my app delegate. There are a couple other properties that are
dependent on foo and bar.
I'd like for the values of foo and bar to be persisted acros
I directly bind my UI to the shared user defaults controller and I use
key value observing to watch for changes.
Steven Riggs
On May 20, 2009, at 6:24 PM, Rick Mann wrote:
How useful is it to bind (in IB) to NSSharedUserDefaultsController,
in practice? I have a couple checkboxes bound to pr
Thanks, Steven. I considered that, but wasn't sure it was better (or
worse) than the alternative I described. Can you elaborate on why you
do it that way? I tend to prefer writing methods that encapsulate the
name of the property rather than calling methods that pass the
property name aroun
On Wed, May 20, 2009 at 4:35 PM, Greg Parker wrote:
> On May 20, 2009, at 6:01 AM, Ken Thomases wrote:
>>
>> It's possible for a category to provide ivar-like functionality. You can
>> maintain a "category variable" in the same manner as one implements a "class
>> variable" in Objective-C: a file
On Wed, May 20, 2009 at 5:45 PM, Shawn Erickson wrote:
> On Wed, May 20, 2009 at 1:00 PM, John Harper wrote:
>> CGRectZero is the rectangle at point (0, 0) with zero size. For an empty
>> rectangle that will work correctly with CGRectUnion you need to use
>> CGRectNull instead.
>
> I guess the do
On May 20, 2009, at 4:11 PM, Michael Ash wrote:
On Wed, May 20, 2009 at 4:35 PM, Greg Parker
wrote:
It's also much harder under GC. The "obvious" solutions either leak
(because the global table keeps stuff alive), or are thread-unsafe
(because no amount of locks can save your dangling point
On Wed, May 20, 2009 at 7:30 PM, Greg Parker wrote:
> On May 20, 2009, at 4:11 PM, Michael Ash wrote:
>>
>> On Wed, May 20, 2009 at 4:35 PM, Greg Parker wrote:
>>>
>>> It's also much harder under GC. The "obvious" solutions either leak
>>> (because the global table keeps stuff alive), or are thre
On 2009 May 19, at 23:28, Kevin LaCoste wrote:
if we move helper tools into a new Contents/Helpers folder are they
covered by codesign?
The answer is that you must invoke the 'codesign' tool to sign the
helper tool as a separate step in your shipping script, but this is
true regardless o
On a main menu item, I've set a delegate which implements -
menuNeedsUpdate:. In this method, I enable/disable some items and
also modify some item titles based on current conditions.
With some items, however, instead of sending -setTitle: in -
menuNeedsUpdate:, I had bound their 'title' in
On May 20, 2009, at 6:21 PM, Jerry Krinock wrote:
On a main menu item, I've set a delegate which implements -
menuNeedsUpdate:. In this method, I enable/disable some items and
also modify some item titles based on current conditions.
With some items, however, instead of sending -setTitle: i
On 2009 May 20, at 01:29, Mike Abdullah wrote:
I find transient attributes extremely useful sometimes for
properties which you want in the undo stack, but not persisted to
disk. For example data caches, or session-specific UI properties.
Thanks, Mike. I see the advantages you get from mak
On Wed, May 20, 2009 at 9:32 PM, Jerry Krinock wrote:
> Are there any other advantages?
Your desire for hard and fast rules disturbs me. There are not
distinct use cases for every technology. Transient properties are
useful for certain things, often as a component of some larger
trade-off. Why
I have an NSTableView embedded in an NSSplitView. When I send my NSTableView
object the -frame message, I get the frame of the NSSplitView instead. How can
I get the frame of the NSTableView directly?
Thanks,
Erg
___
Cocoa-dev mailing list
Jerry Krinock (je...@ieee.org) on 2009-05-20 9:32 PM said:
>Thanks, Mike. I see the advantages you get from making them transient
>are --
>
>1. Knowing that you saved your users a little hard disk space.
>2. Not having to clear their values when the document is reloaded.
Why do you put "a litt
I have a UIView that contains a number of CALayers. Nothing unusual
here. The CALayers are subclassed to do their drawing, because that
was easier than separating the delegate logic from my UIView subclass
(since the view can't be the delegate of a sublayer - it causes an
infinite recursion
On Wed, May 20, 2009 at 9:54 PM, Erg Consultant
wrote:
> I have an NSTableView embedded in an NSSplitView. When I send my NSTableView
> object the -frame message, I get the frame of the NSSplitView instead. How
> can I get the frame of the NSTableView directly?
I just built a sample project and
Hello,
I am working through the Stanford iPhone Dev assignments along with
the videos on iTunes. And I'm stuck on the assignment for the first
week. Shoot!
My goal is inspect each object of an array. When I use isKindOfClass
or isMemberOrClass, I do not get an expected YES or NO but rathe
On May 20, 2009, at 11:43 AM, Jeff Decker wrote:
NSLog(@"Is Member of NSURL: %@", [[step class] isMemberOfClass:
[NSURL class]]);
The %@ placeholder is for arguments that are objects.
isMemberOfClass: and isKindOfClass: return a BOOL, which is not an
object. Perhaps you were expecting t
%@ is a format specifier for printing Objective-C objects.
isKindOfClass and isMemberofClass methods return BOOL values. BOOL
values are not Objective-C objects.
If you want to log a BOOL value, you could use the format specifier %i
as such:
NSLog(@"isKindOfClass: %i", myBool);
With rega
Welcome to Cocoa / iPhone programming!
On May 20, 2009, at 8:43 AM, Jeff Decker wrote:
NSLog(@"Is Kind of NSString: %@", [[step class] isKindOfClass:
[NSString class]]);
Follow the trail o' definitions... cmd-double-click on isKindOfClass:
ought to lead you to this:
- (BOOL)isKindOfClass
Hi list.
we have a two files.we have to compare them and display the
difference.Then when we click firstdifference the cursor should point
to that differencehow can i do that?
--
With Regards,
-
Archiez...:0)
As I've said, twice now.
This is off topic. more posts will result in more moderation of users.
please take this off-list
On 20-May-09, at 2:04 PM, Paul Archibald wrote:
Hey, I just noticed that there is a goviphone list you can subscribe
to. Maybe you could find out something useful there.
On 20/05/2009, at 7:37 PM, archana udupa wrote:
we have a two files.we have to compare them and display the
difference.Then when we click firstdifference the cursor should point
to that differencehow can i do that?
Have you thought this through? It means that every time you click your
This is as simple as it gets...
textView = [[NSTextView alloc] initWithFrame:NSMakeRect(0, 0, 400,
300)];
// [textView frame] is {0, 0, 400, 300}
[textView setFrame:NSMakeRect(100, 100, 500, 400)];
// [textView frame] is {100, 100, 500, 300}
[textView setFrame:NSMakeRect(100, 100, 500, 400
one issue (which may not be related)
apparently if you bind the target binding, the validateMenu... method
doesn't get called. I'll try to get that into an update of the
cocoabindingsref as soon as possible, but it'll be post WWDC.
On 20-May-09, at 9:28 PM, Seth Willits wrote:
On May 20,
On May 20, 2009, at 2:37 AM, archana udupa wrote:
Hi list.
we have a two files.we have to compare them and display the
difference.Then when we click firstdifference the cursor should point
to that differencehow can i do that?
What's a cursor? The mouse cursor? Or do you mean the text i
On 2009 May 20, at 18:45, Kyle Sluder wrote:
Your desire for hard and fast rules disturbs me. There are not
distinct use cases for every technology. Transient properties are
useful for certain things, often as a component of some larger trade-
off.
Thanks, Kyle. I'm trying to identify
I have a unix path in an NSString via [[NSBundle bundleForClass: [self
class]] pathForResource: etc.. etc..
The problem is that the path has white spaces scattered in the string.
And I need to pass the unix path to a CLI application. The CLI app
croaks on the white spaces (for obvious reasons)
On 2009 May 20, at 18:28, Seth Willits wrote:
Does the binding have "Conditionally Sets Enabled" checked? Uncheck
it if it does.
Good idea but, no, "Conditionally Sets Enabled" is not an available
option for the 'title' binding. (It is an available option for the
'value' binding.)
On
On May 20, 2009, at 10:23 PM, Bruce Johnson wrote:
I have a unix path in an NSString via [[NSBundle bundleForClass: [self
class]] pathForResource: etc.. etc..
The problem is that the path has white spaces scattered in the string.
And I need to pass the unix path to a CLI application. The CLI a
I have an NSObjectController whose Content item is bounds to an
object's "thing" path. I can then bind the values of controls in my
nib to model key paths through that NSObjectController in the usual
way. Those Value bindings can use "Conditionally Sets Enabled" and
they work great.
I h
Bruce Johnson wrote:
The problem is that the path has white spaces scattered in the string.
And I need to pass the unix path to a CLI application. The CLI app
croaks on the white spaces (for obvious reasons)
Post your croaking code. You seem to have some misapprehensions
about how command
Hi,
I am saving some images from my application to the Photo Album. But at times
the application just hangs while saving an image after which I am unable to
access the Photo Album and the Camera. Both these applications crash after
this. Its only after I do the "Erase all content and settings" and
Thanks for the pointer Jerry.
My understanding of that message is that you need to manually sign anything
in Contents/Helpers then. The docs clearly state that anything in
Contents/MacOS is covered by the app bundles signature.
Kevin
On Thu, May 21, 2009 at 8:51 AM, Jerry Krinock wrote:
>
> On
1 - 100 of 103 matches
Mail list logo