On Fri, Mar 25, 2011 at 1:30 AM, Louis Gerbarg wrote:
> The corner case you mention below ( [myMutableArrayInstance
> isKindOfClass:[NSMutableArray class]] ) is a nonissue for a somewhat
> surprising reason. All instances of NSArray are actually implemented via the
> concrete class NSCFArray, whi
On Mar 24, 2011, at 10:49 PM, John Engelhart wrote:
> I'm curious if anyone sees any problems with this approach... Again, I
> haven't found anything on the web that covers this exactly, so there's no
> prior experience to draw on / best practices. This is the first time I've
> had to do both m
The corner case you mention below ( [myMutableArrayInstance
isKindOfClass:[NSMutableArray class]] ) is a nonissue for a somewhat surprising
reason. All instances of NSArray are actually implemented via the concrete
class NSCFArray, which is a subclass of NSMutableArray. Thus any instances of
mu
[This is a re-send as my previous message has been sitting in the moderators
queue for ~week now...]
I've got an odd question. I haven't found anything via Google that matches
it exactly, but it could be that I'm just searching for the wrong thing.
I have a need to create subclasses of NSArray a
On Mar 24, 2011, at 8:18 PM, Eric Gorr wrote:
>> On Mar 24, 2011, at 7:11 PM, WT wrote:
>>
>> I just ran a very quick test and the following code snippet successfully
>> toggles between showing and hiding the master view:
>>
>> UIViewController* vc;
>> vc = [splitViewController.viewControllers
Sent from my iPhone
On Mar 24, 2011, at 7:11 PM, WT wrote:
> On Mar 24, 2011, at 6:27 PM, Eric Gorr wrote:
>
>> I am trying to figure out how to hide the master view in a split view while
>> in landscape mode. Searching, I found the suggestion to try:
>>
>> [[master view] setFrame:CGRectMak
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 3/24/11 4:11 PM, WT wrote:
> On Mar 24, 2011, at 6:27 PM, Eric Gorr wrote:
>
>> I am trying to figure out how to hide the master view in a split view while
>> in landscape mode. Searching, I found the suggestion to try:
You could also look at MGS
On Mar 24, 2011, at 6:27 PM, Eric Gorr wrote:
> I am trying to figure out how to hide the master view in a split view while
> in landscape mode. Searching, I found the suggestion to try:
>
> [[master view] setFrame:CGRectMake(0, 0, 0, 0)];
> [[detail view] setFrame:splitBounds];
>
> Howev
I am trying to figure out how to hide the master view in a split view while in
landscape mode. Searching, I found the suggestion to try:
[[master view] setFrame:CGRectMake(0, 0, 0, 0)];
[[detail view] setFrame:splitBounds];
However, this does not appear to work.
What is the recommend me
On Mar 23, 2011, at 8:49 PM, Motti Shneor wrote:
> Thanks Andreas, for such a complete and helpful answer.
>
> Regarding reset issue, I was curious --- after all, NSManagedObject gets its
> initial dictionary from the Model definition somehow, doesn't it?
(see Quincey's reply)
> why can't I do
On Mar 23, 2011, at 12:49, Motti Shneor wrote:
> Regarding reset issue, I was curious --- after all, NSManagedObject gets its
> initial dictionary from the Model definition somehow, doesn't it?
Managed objects don't "have" dictionaries -- properties aren't implemented that
way. They have intern
Thanks Andreas, for such a complete and helpful answer.
Regarding reset issue, I was curious --- after all, NSManagedObject gets its
initial dictionary from the Model definition somehow, doesn't it? why can't I
do it, or even better, why isn't it implemented as a NSManagedObject API?
I find re
I guess you could also alloc a new NSMutableString every time you enter
"didStart" ... copy will essentially be doing that for you.
If you do this - don't forget to release in "didEnd" ... or even right
before allocing - just in case you somehow break out before reaching didEnd.
-Luther
On Thu
Thanks, Gary, I'll double-check.
Anybody else with suggestions for "copyItemAtPath:toPath:error:" that can't
copy items reliably to a remote volume mounted through AFP? Anyone? I can't
believe I'm the only one on the Cocoa-Dev list that is using this method?
-Laurent.
--
Laurent Daudelin
AIM/i
On 24/03/2011, at 12:24, Kyle Sluder wrote:
> On Wed, Mar 23, 2011 at 4:38 PM, WT wrote:
>> How about using a property list file instead? Easier to import and export,
>> and can be edited with tools such as Property List Editor, though your users
>> might not know how to use it, or even have it.
On 24/03/2011, at 13:13, Hank Heijink (Mailinglists) wrote:
> On Mar 24, 2011, at 12:06 PM, Siegfried wrote:
>
>> So, after discussing some methods to import and export a CoreData database,
>> I ended up sticking with my initial XML idea.
>> ...
>
> You need to copy currentXMLValue, because in y
On Mar 24, 2011, at 12:06 PM, Siegfried wrote:
> So, after discussing some methods to import and export a CoreData database, I
> ended up sticking with my initial XML idea.
>
> Now I'm stuck in a problem when parsing that is probably simple, but I can't
> solve. Basically, my XML is like this:
So, after discussing some methods to import and export a CoreData database, I
ended up sticking with my initial XML idea.
Now I'm stuck in a problem when parsing that is probably simple, but I can't
solve. Basically, my XML is like this:
Value
Value
Value
Value
Value
On Wed, Mar 23, 2011 at 4:38 PM, WT wrote:
> How about using a property list file instead? Easier to import and export,
> and can be edited with tools such as Property List Editor, though your users
> might not know how to use it, or even have it.
I'd recommend *not* going the property list rou
On Mar 24, 2011, at 2:51 AM, Christian Ziegler wrote:
> so I tried it the way Ken described it. However if I start the app, the
> Matrix is empty. I created the Matrix and all Cells with their titles in IB,
> assuming that these objects will be created after the nib was loaded. The
> arrayContr
Hello Flavio,
On 24/03/2011, at 11:53, Flavio Donadio wrote:
> I am late in this thread, but I don't understand why you need import/export.
> Is it just meant for backup purposes or is it a facility for the users to get
> data from other applications into yours (and out of it)?
I've clarified
Siegfried,
I am late in this thread, but I don't understand why you need import/export. Is
it just meant for backup purposes or is it a facility for the users to get data
from other applications into yours (and out of it)?
If it is the second case, why not stick with "delimited text" or "CSV-s
On 24/03/2011, at 08:52, Mike Abdullah wrote:
>
> On 23 Mar 2011, at 23:13, Siegfried wrote:
>
>> Also, now on the mechanics, I think creating a mutable string and go
>> appending parts of the XML in a loop is adequate for this task, and using
>> NSXMLParser to parse it back should work. Indee
On 23 Mar 2011, at 23:13, Siegfried wrote:
> Also, now on the mechanics, I think creating a mutable string and go
> appending parts of the XML in a loop is adequate for this task, and using
> NSXMLParser to parse it back should work. Indeed, the file will not be that
> big (usually a few hundr
On Mar 18, 2011, at 10:14 PM, Ken Thomases wrote:
> On Mar 18, 2011, at 3:45 AM, Christian Ziegler wrote:
>
>> I'm having hard times figuring out how to bind an NSMatrix properly. I got
>> an NSMatrix with NSButtonCells (checkboxes) and I want to somehow bind to my
>> model which of these chec
[I'm not sure if this is the right forum to ask this, please direct me there if
it's wrong]
I'm trying to monitor the network traffic of applications by process but I'm
having trouble working out how to query the system for that information. I've
been looking at sysctl() and while I have some
Make sure you use the do-not-traverse-symbolic-links form when constructing
your FSRef for the FSSetCatalogInfo call. I do remember having to do that call
in similar circumstances, which is why I was going to try FSCopyObjectAsync to
see if that would solve all those issues as well as get in-pro
27 matches
Mail list logo