> On Jul 18, 2023, at 9:28 AM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> 2023-07-17 13:13:23.657278+0200 0xff744Error 0x1144e1
> 2670 0legacyScreenSaver: [com.apple.ScreenSaver:Modules]
> -[LegacyExtensionManager processExtensionRequest:replyInfo:]_block_invoke
> On 11 Dec 2022, at 12:51 pm, Mike Abdullah via Cocoa-dev
> wrote:
>
> Have you tried -URLByResolvingSymlinksInPath? As far as I’m aware, the
> Pictures entry inside your container is a symlink to the real thing, so
> assuming you have appropriate entitlements, should be possible to
On 13 Feb 2022, at 1:07 pm, Gabriel Zachmann via Cocoa-dev
wrote:
> Just now, I have tried a few other things.
> I deleted some folders in ~/Library/Deverlopers (caches, log files, devices).
> Interestingly, there is no ~/Library/Deverloper/Xcode/DerivedData! (which
> should contain the
> On Sep 6, 2021, at 2:14 PM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> I had assigned the window to an ivar window_ in viewWillMoveToWindow:
>
> - (void) viewWillMoveToWindow: (NSWindow *) newWindow
> {
>window_ = newWindow;
I asked earlier, but I’ll ask again: why are you doing this?
> On Sep 4, 2021, at 10:27 AM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> I access the window of a view by two different ways, in the controller and
> in the view, resp., and in the controller, I always get a nil pointer.
>
> In my app, I have a subclass of NSView, MyView, declared like
> On 22 Jul 2021, at 10:45 am, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> is it possible to determine - in my own app - whether or not there is an MS
> Teams video call taking place at the moment?
The only correct answer to that depends on whether Microsoft Teams provides API
that vends
> On 23 Jun 2021, at 12:22 pm, Richard Charles via Cocoa-dev
> wrote:
>
> Yes, that is what I do now. However when upgrading to Xcode 12 it wants to
> change the debug and release configuration to use development signing.
> Notarized builds are reserved for archiving. Just saying that Apple
> On 12 May 2021, at 11:17 am, Carl Hoefs via Cocoa-dev
> wrote:
>
> I'd like to present an informational alert for n seconds then dismiss it
> without user interaction. But I don't see any way to dismiss, terminate,
> cancel, invalidate, etc. an NSAlert object.
I recently did that exact
> On 9 May 2021, at 2:29 pm, Alex Zavatone wrote:
>
>> It sounds like you might need to rethink your data model a bit.
>
> That’s what I’m trying to do! : D
I meant the internal data model, as in how your program represents the data in
memory and in respect of what API it provides to its
> On 8 May 2021, at 5:32 pm, Alex Zavatone wrote:
>
> Well, what I’m not sure about are how to store the results internally. Do I
> declare both an NSArray and an NSDictionary and check to see which one ended
> up getting the proper result?
Call
Sounds like NSPropertyListSerialization is what you’re after.
https://developer.apple.com/documentation/foundation/nspropertylistserialization
b
Sent from my iPhone
> On May 8, 2021, at 5:12 PM, Alex Zavatone via Cocoa-dev
> wrote:
>
> I’m reading a configuration plist like so.
>
>
> On 14 Apr 2021, at 1:14 am, Davidap via Cocoa-dev
> wrote:
>
> Apple say:
>
> [...] For example, if your app is named MyApp and has the bundle identifier
> com.example.MyApp, you would put your app’s user-specific data files and
> resources in the ~/Library/Application
> On 8 Mar 2021, at 3:36 pm, Jeffrey Walton via Cocoa-dev
> wrote:
>
> Tee(1) is not writing the file for him, and I can confirm the
> behavior. Here's how it is being used:
>
>./cryptest-ios.sh 2>&1 | tee cryptest-ios.txt
Hey Jeff,
I recall encountering a similar problem a few months
> On 14 Dec 2020, at 5:39 pm, Eyal Redler via Cocoa-dev
> wrote:
>
> button = [[NSButton alloc] initWithFrame:NSMakeRect(0, 0, 0, 0)];
> [button setTranslatesAutoresizingMaskIntoConstraints:NO];
> [button setBezelStyle:NSRoundedBezelStyle];
> [button setTitle:buttonTitle];
> [button
By the way, some of what you said doesn't seem to quite make sense:
> The behaviour below is what is simply not happening.
>
> If you
> invoke this method with a nil nib name, then this class' -loadView
> method will attempt to load a NIB whose
> name is the same as your view
> On 22 Nov 2020, at 12:45 pm, Alex Zavatone via Cocoa-dev
> wrote:
>
> I’ve found a bug in Swift’s loadView for UIViewController on iOS that I’d
> like to report. Swift.org tells us to use https://bugreport.apple.com which
> returns “bugreport.apple.com’s server IP address could not be
> On 19 Aug 2020, at 7:45 pm, Michael Hall via Cocoa-dev
> wrote:
>
> Something else I’m curious about is doesn’t this somehow invalidate any
> application signing that’s been done?
Code signing happens last, even if you put your shell script phase at the very
bottom. (Observe the build
> On 19 Aug 2020, at 11:47 am, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> I tried this:
>
> plutil -replace CFBundleVersion -string '$(CURRENT_PROJECT_VERSION) 111'
> qq.plist
>
> which works -- but what I need to do is something like this:
>
> plutil -replace CFBundleVersion -string
> On 19 Aug 2020, at 9:07 am, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> The plist file has, additionally to all the default stuff, the key
> CFBuildNumber (with a value that I increment automatically).
>
> In Xcode, I tried to change "Bundle version" to a value like
>
>
> On 9 Aug 2020, at 5:58 am, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> I have a simple app (status bar item) with a simple GUI.
> The funny thing is that one text line in the GUI is grey-ish,
> but NOT in the XIB in XCode ... and I can't determine why that is or how to
> correct it.
> On 09 Oct 2019, at 1:19 pm, Turtle Creek Software via Cocoa-dev
> wrote:
>
> In fact, why isn't Cocoa open source? Apple open-sources Swift and the
> Darwin kernel. Surely the GUI can't be any riskier to expose to developers?
This is a business strategy question, not a Cocoa development
> On 23 Aug 2019, at 2:17 pm, Casey McDermott via Cocoa-dev
> wrote:
>
> We allocate the controller in our app delegate class. It's a member but
> apparently that is not a
> strong enough reference, so the controller is released at the end of the
> scope. What is best practice to hold a
The phenomenon you're describing is a long-standing bug in Xcode that Apple
does not seem interested in fixing.
I finally filed it last November as rdar://46203599. It was closed as a
duplicate of rdar://9706748 (!). (That's actually rather alarming, because it's
36.5 million numbers earlier;
> On 29 Mar 2019, at 2:51 pm, Alex Zavatone wrote:
>
> In all the docs on categories, I seem to have missed what the term for the
> text within the parens of a category declaration is called and what function
> it serves.
It's the category name. NSObject(Foo) represents "the Foo category on
> On 10 Sep 2018, at 11:06 am, Richard Charles wrote:
>
> On my development machine running 10.12.6 pressing the spacebar will dismiss
> a simple NSAlert. This is because in System Preferences > Keyboard >
> Shortcuts > Full Keyboard Access > All Controls was selected. (For some
> reason it
On Jun 6, 2018, at 11:14 PM, Rick Aurbach wrote:
> Working with a storyboard, I add a Tap Gesture Recognizer, connect it to the
> label, and connect the segue to the gesture recognizer. I think I've set
> everything up correctly, but tapping on the label does not trigger the segue.
You might
> On Apr 20, 2018, at 1:15 AM, Glen Huang wrote:
>
> I have an app where user can edit data and save to my server. I wonder what’s
> the best way to update affected view controllers in the navigation stack?
If I were to give a literal answer to your question, I'd suggest a
On Dec 4, 2017, at 2:53 PM, Rick Mann wrote:
> I tried that. It doesn't work.
>
> MCP.m:262:54: Unexpected '@' in program
Weird. I just tried it here, using your exact example, and it worked fine under
Xcode 9.2. (I slapped it into my iOS app's
> On Dec 4, 2017, at 2:47 PM, Rick Mann wrote:
>
> #define NSSTR(s) (@ ## s) <-- magic; this
> doesn't work
> #define kSomeCStringConstant "foo"
> ...
> NSSTR(kSomeCStringConstant)
You're close. The preprocessor is removing
> On Sep 26, 2017, at 7:25 AM, Richard Charles wrote:
>
> Question: Has anyone successfully upgraded the firmware an older Mac Pro when
> installing High Sierra?
I upgraded my MacPro5,1 without incident. However, the subsequent installation
progress just hung the
> On 03 May 2017, at 8:25 am, Gerriet M. Denkmann wrote:
>
> NSString *test2 = [ @"/some/path" stringByAppendingPathComponent: pintu
> ].lastPathComponent;
> [ self printTestString: test2 ];
> // prints: length 2 0x2d 0xe3a “-ฺ” BAD: has no prefix "-"
> On 08 Mar 2017, at 8:46 am, Jeremy Hughes wrote:
>
> If needsDisplay is set to true for an NSView, does that also cause subviews
> to be redrawn?
Admittedly I've been mostly doing iOS development for the last several years
and barely any Mac lately, but,
> On 02 Mar 2017, at 11:38 am, Daryle Walker wrote:
>
> Turns out that the system gives me the UTI in all small letters, so my
> (Swift) “switch” fails and my no-matching-type code is executed. I know I
> could switch my bundle ID to all small letters, but I want to know
> On 13 Jan 2017, at 10:34 am, Quincey Morris
> wrote:
>
> Did I miss a change in clang that made the default “not nullable”?? I read
> the above declaration as meaning that the nullability is *unspecified*, which
> implies that nil is allowed.
> On 24 Aug 2016, at 1:24 pm, Andreas Falkenhahn wrote:
>
> If it retains, I could just do the following:
>
>[textField setFormatter:formatter];
>[formatter release];
>
> And I wouldn't have to worry about "formatter" any longer. If it doesn't
> retain,
> the
> On 24 Aug 2016, at 1:04 pm, Andreas Falkenhahn wrote:
>
> I have read Apple's memory management guide on retain/release and
> I think I've basically got it, but there's just one thing that
> I'm not confident about and that is "setXXX" methods which accept an
>
> On 21 Apr 2016, at 10:47 am, Ben Kennedy <b...@zygoat.ca> wrote:
>
> One is then left to hunt around in the damn list on the right in order to
> find it and then delete it *again* from there in order to actually eviscerate
> it.
Oops; I meant the list on the left (the
> On 21 Apr 2016, at 12:12 am, Quincey Morris
> wrote:
> 1. Part of the problem is branding. “Autolayout” actually refers to the
> runtime layout engine, and what happens automatically is the runtime
> relocation of UI elements according to constraints.
> On 19 Apr 2016, at 11:41 am, Quincey Morris
> wrote:
>
> The (built) precompiled header files does *not* have extension “.pch”,
While a trivial detail, this does not seem to be true (at least in Xcode 7.2).
We have a prefix header called
> On 27 Feb 2016, at 11:17 am, Carl Hoefs
> wrote:
>
> Yes, that works, thanks! I just thought there might be a "preferred" way to
> do it. I guess I was hoping for something like:
>
> [myTableView selectRowAtIndexPath:indexPath
>
> On Feb 27, 2016, at 11:01 AM, Carl Hoefs
> wrote:
>
> The problem is that the delegate callback associated with selecting that row
> doesn't occur. And indeed, I have since found that the documentation for this
> method says:
>
> "Calling this method does
If you actually took a look at the details, you'd see that the cert is for
"ssl13.ovh.net" rather than "xenonium.com". If you visit https://ssl13.ovh.net
in Safari you will see no such problem.
Jean-Daniel did not expressly state that he's trying to serve anything at
https://xenonium.com.
-b
> On 10 Feb 2016, at 5:00 pm, Gary L. Wade wrote:
>
> You've made my point. None of my friends would even bother with looking at
> the certificate for his site (assuming that's his site from his email
> address) and move on. At worst, they'd call me and I'd say
On 26 Jan 2016, at 9:55 pm, Trygve Inda wrote:
> connection failed: (null) The resource could not be loaded because the App
> Transport Security policy requires the use of a secure connection.
> http://www.earthdeskcloudhost02.com/mosaic/free/clouds-2048.jpg
I'm no App
Hey Eric,
I've seen a problem with recent versions of the toolchain where the Settings
app fails to display entries for the app's Settings.bundle (the section appears
blank) after deploying new builds. At first I thought something was borked
with our app, but I eventually realized that
> On 29 Nov 2015, at 3:00 pm, Shane Stanley <sstan...@myriad-com.com.au> wrote:
>
> On 30 Nov 2015, at 9:41 AM, Ben Kennedy <b...@zygoat.ca> wrote:
>>
>> Re-launch Preview, and observe that there is no way to undo this damage. As
>> far as I can tell, one
> On 28 Nov 2015, at 5:20 pm, Quincey Morris
> wrote:
>
> 1. Quit. This is intended to preserve all of the current state so that it can
> be restored on relaunch. The idea is that the user can quit without changing
> anything that’s going on, then
> On 29 Nov 2015, at 3:15 pm, Shane Stanley wrote:
>
> Then your claim that "there is no way to undo this damage" is incorrect. Open
> an image in Preview, crop it, and quit. Open it again and you'll see the
> document is marked dirty/Edited, and you can get back
> On 29 Nov 2015, at 3:34 pm, Shane Stanley wrote:
>
>> Is this what the average user expects?
>
> I don't know -- I don't think many of us here really count as average users.
That's why I asked the question. If I, as a 20-year Mac power user find this
baffling,
> On 23 Oct 2015, at 4:38 am, Dave wrote:
>
> Please see methods below, these are in a Window Controller, I get the message
> "Could not find image named ‘Outlook’.” in the log, but I have no clue why
> this is being generated it what it means, it appears to be
> On 07 Sep 2015, at 5:02 pm, Graham Cox wrote:
>
> Also, NSColor is immutable so there’s little purpose to having that property
> ‘copy’, it can be ‘retain’ (or ‘strong’) and it will save you a small amount
> of space per instance.
As Dave said in his reply, isn't
On 29 Jul 2015, at 8:47 am, Carl Hoefs newsli...@autonomy.caltech.edu wrote:
Ultimately, I'm simply trying to delete the asset:
[PHAssetChangeRequest deleteAssets:@[asset]];
But you don't yet HAVE an asset; you seem to only have a regular file on disk,
in an application's Documents
On 28 Jul 2015, at 7:17 pm, Carl Hoefs newsli...@autonomy.caltech.edu wrote:
I'm trying to get an NSURL into PHAsset form, but I keep coming up with null.
PHAsset fetchAssetsWithALAssetURLs: takes an NSArray of NSURLs: An array of
NSURL objects, each an asset URL previously retrieved from
On 10 Jul 2015, at 12:01 pm, Charles Srstka cocoa...@charlessoft.com wrote:
What this means is that if you try to use an El Capitan-only feature and put
it in a block that starts with a check on floor(NSFoundationVersionNumber) or
floor(NSAppKitVersionNumber) to make sure it’s larger than
On 30 Jun 2015, at 7:30 am, Devarshi Kulshreshtha
devarshi.bluec...@gmail.com wrote:
Though pagination control has resized properly, view of added view
controller has not resized properly.
You haven't said so, but I presume that the UIPageControl belongs to your root
view, and not
On 30 Jun 2015, at 4:10 pm, Michael David Crawford mdcrawf...@gmail.com
wrote:
Cocoa Touch's table view works for simple things but it is painful for
anything fancy.
Have you checked out UICollectionView, or as of this month, UIStackView?
Were I to write a better table view, would any of
On 01 Jun 2015, at 5:59 am, Uli Kusterer witness.of.teacht...@gmx.net wrote:
It's a trick web devs use to get certain browsers to switch on UTF8 support,
IIRC.
Isn't that what Accept: and Content-Type: headers are for?
Oh... apparently seems like a cheap workaround for broken MSIE:
This email sent to b...@zygoat.ca
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
On 22 May 2015, at 6:03 am, Jonathan Taylor jonathan.tay...@glasgow.ac.uk
wrote:
I agree that it’s extra indirection, but since performance is never going to
be an issue, I feel it’s a slight gain on tidiness and maintainability. I
agree that it’s not a big deal for one property, but when
On 21 May 2015, at 1:33 am, Graham Cox graham@bigpond.com wrote:
I can’t do a ‘po self’, even just typing it in, at this point, no matter how
cunning I am at breaking at the right time. It seems as if there really isn’t
enough info to resolve ‘self’ (the message is error: use of
On 04 Feb 2015, at 8:26 am, Alex Zavatone z...@mac.com wrote:
Looking at the UIScrollView to which they applied, I couldn't make heads or
tails of how the constraints listed in the console translated into the
constraints on the only UIScrollView in the XIB.
I don't suppose you saved a copy
On 04 Feb 2015, at 1:08 pm, Alex Zavatone z...@mac.com wrote:
Thanks Kyle. The thing that scares me here is that I have no idea why this
started failing and why it stopped, so I'm afraid it could stop working at
any time without knowing why.
Kyle already gave you a likely reason: you have
to resize in accord. This very fact is a blessing,
since it affords you control.
Perhaps you have a view you'd like right-justified? Or proportionally sized?
Is UIKit supposed to guess this?
b
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca
= [NSLayoutConstraint constraintsWithVisualFormat:format
options:0L metrics:nil views:views];
b
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
Is your personal hubris about a job you were not offered 14 years ago (and
tastes for interview style) somehow relevant to the other developers on this
list?
b
Sent from my iPhone
On Jan 23, 2015, at 2:38 PM, Michael Crawford mdcrawf...@gmail.com wrote:
Cocoa Text is glacially slow
; it would
probably fit your bill very well. In my day job we use it for generating a
variety of both simple (in-app based) and complex (user-content-driven) HTML
and text files.
[1] https://github.com/groue/GRMustache
b
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http
LeftMenuViewController instance (the class which according to your trace is
making the call) simply calls presentViewController on itself instead?
b
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca
___
Cocoa-dev
Thank you Charles and Roland for pointing out that section of documentation,
and correcting in detail my mis-advice in the first reply. Going back to what
Kyle replied to me originally:
Can't you simply set translatesAutoresizingMaskIntoConstraints = NO on the
views in question? Then you
On 15 Aug 2014, at 8:17 pm, Graham Cox graham@bigpond.com wrote:
What I really want is that part of my view hierarchy to be free to use
-setFrame:, but other parts use the autolayout constraints normally.
Can't you simply set translatesAutoresizingMaskIntoConstraints = NO on the
views
Hello all,
What is the persistence and backup policy for files stored in an app group
shared container on iOS 8 -- that is, the directory returned by -[NSFileManager
containerURLForSecurityApplicationGroupIdentifier:] ?
More specifically, can I treat this directory in a similar manner as the
We did almost exactly what David's describing at the NSNorth conference this
spring. There were about a hundred attendees, and everyone was given an
iBeacon that belonged to someone else; using the accompanying conference app,
which employed a crude proximity meter (based on RSSI level), we
On 14 Jul 2014, at 11:12 am, Carl Hoefs newsli...@autonomy.caltech.edu wrote:
Okay, now if I want to insert 1024 bytes of new data at the beginning of a
populated NSMutableArray, is there a better way than this:
Sure; why not just do [bigMData replaceBytesInRange:NSMakeRange(0,0)
On 14 Jul 2014, at 11:30 am, Carl Hoefs newsli...@autonomy.caltech.edu wrote:
[bigMData replaceBytesInRange:NSMakeRange(0,0) withBytes:newBytesPtr
length:1024];
Wow, that's damn clever! My thinking is so clunky. It never would have
occurred to me that NSMutableData could expand (0,0) into
On 27 May 2014, at 11:52 am, Alex Zavatone z...@mac.com wrote:
But, it appears that even when using Inferred for view controllers'
Simulated Metrics, Inferred is being ignored and is being replaced with Black
Opaque.
I thought that the simulated metrics stuff in IB were exactly that --
If that is indeed the context in which Gerriet is receiving the error, it
sounds as though the routine generating it is assigning an inappropriate error
domain then, no? Surely it should be a CoreAudio-related domain (specifically
for the reason illustrated by this thread).
b
Sent from my
As a workaround, couldn't you just empirically determine the value of that
constant (presuming it hasn't changed in five years and is not expected to
change), and then define a new constant of your own accordingly?
b
Sent from my iPhone
On May 15, 2014, at 1:06 PM, Jens Alfke
seemed to
be well documented or explained when properties were first introduced.
b
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
inclined to
guess the subtraction is your problem. If your intent is to choose all domains
except for the system domain, you'll need to XOR the value, not subtract it,
i.e. (NSAllDomainsMask ^ NSSystemDomainMask).
b
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http
On 23 Jun 2013, at 2:32 PM, Ben Kennedy b...@zygoat.ca wrote:
I haven't tested anything, but just looking at this line, I am inclined to
guess the subtraction is your problem. If your intent is to choose all
domains except for the system domain, you'll need to XOR the value, not
subtract
NSUserDefaults and then populate an app's bundle
that contains the root.pList when the preference pane is displayed, or is
this not possible based on how preferences work?
The Settings.bundle in an iOS app is built into the app bundle and cannot be
modified.
b
--
Ben Kennedy, chief magician
string $null has been turned
into nothingness.)
b
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca
___
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 cocoa-dev-admins
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca
___
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 cocoa-dev-admins
-length string. It is an NSString object.
It has an address. It is most definitely not nil.
-b
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
the verbose boilerplate for each property. Is that really the
recommended solution?
thanks,
-ben
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
(setPgmInTC:, pgmInTC);
DEFINE_UNDOABLE_COPYING_SETTER(setPgmOutTC:, pgmOutTC);
//etc.
thanks!
b
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
On May 3, 2012, at 6:11 PM, Ben Kennedy wrote:
Separate from the above, I also have a new performance problem. The loop in
which I do my cascading updates executes inordinately slowly; simply
assigning new values for two properties takes about 0.45 seconds when
iterating a data set
into the picture. I suspect that all of the KVO overhead is to blame (a quick
peek in Instruments supports this). Is there something fundamental I'm missing
to avoid this bottleneck?
thanks,
b
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca
the fix. Enlightenment would be appreciated.
thanks,
-ben
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
column, my understanding is that validateKey:error:
should be called against the object to check validity (at least in the absence
of an attached formatter). However, it doesn't. Is there a prerequisite I am
failing to satisfy?
thanks,
-ben
--
Ben Kennedy, chief magician
Zygoat Creative
validity when
the attached formatter returns NO from
getObjectValue:forString:errorDescription:.
cheers,
b
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
this is that a few revs back, when I was using a dumb array
with NSTableViewDataSource and no bindings, I was getting the validation
behaviour for free. Now it's gone. I guess I should re-trace my steps and try
to figure out what subtle critical difference I've introduced.
cheers,
b
--
Ben Kennedy, chief
the intent. Personally I enjoy the latter.
b
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
its
implementation of isEqual? Is it just a matter of foregoing an 'if ([obj
isKindOfClass:[NSString class])' construct at the front end? Put another way,
why does NSString provide isEqualToString: as a distinct method?
b
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http
it down) that
NSManagedObject subclasses with properties declared in this way--while
compiling without incident--throw exceptions when called under 10.6.8.
b
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca
local ABI documentation for more info.
Why doesn't Xcode do this automatically? Infuriating.
b
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
) and then issue
the call oneself. Wouldn't it make more sense for Xcode to offer a print the
exception checkbox in the breakpoint inspector?
I suppose I should file a bug against this (if I haven't already; I can't
remember.)
b
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
On 28 Jan 2012, at 8:51 am, Ken Thomases wrote:
By itself, an array only retains the block. A block must be explicitly
copied if it is to outlive the scope that created it.
If so, isn't that a fundamental semantic change to the meaning of retain? On
any other object a retain will cause it
to actually get posted. The
same oversight had me scratching my head for 15 minutes a few weeks ago.
b
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
. ASCII does not represent any characters with diacritical marks.
Perhaps the original file is ISO-Latin-1 encoded. You could try using
NSISOLatin1StringEncoding.
b
--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca
1 - 100 of 108 matches
Mail list logo