On 15 Sep 2012, at 00:49, Graham Cox graham@bigpond.com wrote:
On 14/09/2012, at 7:07 PM, Mike Abdullah cocoa...@mikeabdullah.net wrote:
Anyone got this simple use of NSOpenPanel to work with sandboxing?
Yes. Does this same code work OK outside the sandbox? Is there any likely
On 14 Sep 2012, at 00:15, Graham Cox graham@bigpond.com wrote:
Grrr... and here's exactly the sort of stupid thing that I was referring to a
moment ago in another thread...
I'm attempting to show an NSOpenPanel as a sheet, app is sandboxed. This has
always worked perfectly fine:
On 12 Sep 2012, at 06:30, Jerry Krinock je...@ieee.org wrote:
On 2012 Sep 09, at 06:50, Mike Abdullah cocoa...@mikeabdullah.net wrote:
Some of the problem is that adopting async saving can be quite hard so many
apps haven't yet, or do so poorly.
Also, NSPersistentDocument (Core Data
On 10 Sep 2012, at 11:40, Motti Shneor su...@bezeqint.net wrote:
Thanks everyone. You are ALL right in your comments, and still my problem
persists.
In reality, I have at least 6 external triggers or state-changes that
determine (in a quite complicated way) whether or not I should
On 10 Sep 2012, at 12:59, Motti Shneor su...@bezeqint.net wrote:
Hello and thanks Richard.
Although I don't need such heavy-weapons, and I don't at all deal with
programmatic bindings here, I'd still like (if possible) to learn some more
about the implementation of your internal tools.
Further to existing comments:
* NSXMLParser supports NSInputStream directly these days; consider moving to
that
* When releasing the parser because you're finished with it, might as well set
the delegate to nil so you can't accidentally end up with a dangling pointer
there
On 9 Sep 2012, at
On 9 Sep 2012, at 10:32, Motti Shneor su...@bezeqint.net wrote:
Hi everyone. This seems a novice question, but I could not find any
high-level approach for that.
Some details of my special need: I have an NSViewController subclass, that
should observe some attribute of its
On 7 Sep 2012, at 21:35, Charles Srstka cocoa...@charlessoft.com wrote:
On Sep 7, 2012, at 1:15 PM, Kyle Sluder k...@ksluder.com wrote:
I guess the question is, why are you saving a 4GB file? Media editors
don't do that; they split the file into chunks and bundle them in a
project folder.
Your question in the subject makes little sense. CGImageSource is a means to
create CGImages. Quick Look likely uses both therefore.
Ultimately, you need to test different image loading routes to see which suits
your needs.
CGImageSourceCreateImageAtIndex
Generates full-size images as fast as
. At superficial glance, it seems that they show nearly equal
performance.
But it would be really curious what libraries QuickLook uses under the hood.
Thanks!
On Fri, Sep 7, 2012 at 2:09 PM, Mike Abdullah cocoa...@mikeabdullah.net
wrote:
Your question in the subject makes little sense. CGImageSource
On 6 Sep 2012, at 23:27, Georg Seifert georg.seif...@gmx.de wrote:
On 06.09.2012, at 15:32, Mike Abdullah wrote:
On 6 Sep 2012, at 13:36, Georg Seifert georg.seif...@gmx.de wrote:
Hi,
I have a problem. My app (documents based) does not support Lions Version
(returns
On 7 Sep 2012, at 13:26, Oleg Krupnov oleg.krup...@gmail.com wrote:
Hi Mike,
Interesting, thanks. I wasn't aware that CGImageSource was the fastest
on the Mac. QuickLook sometimes seems so amazingly fast, even with
giant images, so that it made me think it uses some more advanced or
more
On 6 Sep 2012, at 13:36, Georg Seifert georg.seif...@gmx.de wrote:
Hi,
I have a problem. My app (documents based) does not support Lions Version
(returns NO in autosavesInPlace). This worked fine until I had to sandbox my
app. The problem is, that now the NSDocument autosaving tries to
On 5 Sep 2012, at 00:13, Graham Cox graham@bigpond.com wrote:
Just a follow up on the thread that shall not speak its name.
Sandboxing makes integration of media files from other apps (e.g. iPhoto)
somewhat difficult. By using temporary entitlements, these features can be
made to
On 2 Sep 2012, at 21:29, Markus Spoettl ms_li...@shiftoption.com wrote:
On 9/2/12 10:12 PM, Mike Abdullah wrote:
OK, thanks a lot for that tip. Even though I overwrote -setFileURL: for
some other task it never occurred to me to look if that's a better place.
Feels very natural actually. I
On 2 Sep 2012, at 08:04, Markus Spoettl ms_li...@shiftoption.com wrote:
On 9/1/12 10:23 PM, Mike Abdullah wrote:
It seems you're right; this is a side-effect of how NSDocument does
safe-saving. If the file wrappers internally hold onto the URL they were last
written to, that's no good
Have you investigated supplying your own PDF view. Webkit doesn't really offer
anything about its built in PDF view beyond its existence.
Sent from my iPad
On 2 Sep 2012, at 06:32 PM, Phillip Mills phillip.mil...@acm.org wrote:
In an OSX application, I use a WebView to display a variety of
On 2 Sep 2012, at 21:26, Phillip Mills phillip.mil...@acm.org wrote:
On 2012-09-02, at 4:16 PM, Mike Abdullah cocoa...@mikeabdullah.net wrote:
Have you investigated supplying your own PDF view. Webkit doesn't really
offer anything about its built in PDF view beyond its existence.
I
On 16 Aug 2012, at 14:52, James Merkel jmerk...@mac.com wrote:
On Aug 15, 2012, at 11:25 PM, Mike Abdullah cocoa...@mikeabdullah.net wrote:
On 14 Aug 2012, at 05:29, James Merkel jmerk...@mac.com wrote:
In 10.8, what capabilities does a window need in order for it to have the
window
On 23 Aug 2012, at 14:12, Markus Spoettl ms_li...@shiftoption.com wrote:
I have an NSDocument based app that has uses packages do to store a complex
structure.
When I open a document, I keep the wrapper around handed to the document in
-readFromFileWrapper:ofType:error:
in order to
Have you been able to reproduce this yourself?
On 31 Aug 2012, at 15:41, Georg Seifert georg.seif...@gmx.de wrote:
Hi,
I get a lot crash reports that I can’t find anything about. It is completely
in Apples code and only happens in MacOSX 10.8. A backtrace is attached. Can
someone help me
On 30 Aug 2012, at 05:10, John Bishop j...@mulligansoftware.com wrote:
On 30 Aug 2012 07:01:04 +0800, Roland King r...@rols.org wrote:
On 30 Aug, 2012, at 6:34 AM, Alex Zavatone z...@mac.com wrote:
But before anyone reads too far, I am making certain assumptions that may
indeed be
On 26 Aug 2012, at 03:02, Graham Cox graham@bigpond.com wrote:
On 25/08/2012, at 8:14 PM, Mike Abdullah cocoa...@mikeabdullah.net wrote:
I had a funny feeling you were going to point the finger at us ;-)
Checked out the code, and I can assure you, iMedia is doing this:
NSURL* url
On 25 Aug 2012, at 06:03 AM, Jens Alfke j...@mooseyard.com wrote:
On Aug 24, 2012, at 8:59 PM, koko k...@highrolls.net wrote:
Excellent … much easier than
Well, in Carbon's defense, you're making things a lot harder than they have
to be:
if(m_FSRef) free((void*)m_FSRef);
On 25 Aug 2012, at 09:09, Graham Cox graham@bigpond.com wrote:
On 24/08/2012, at 10:35 PM, Mike Abdullah cocoa...@mikeabdullah.net wrote:
I’m surprised by this. The path-based APIs were seriously handling a path
beginning with file:// in the way that you expect?
Apparently so
On 24 Aug 2012, at 00:33, Graham Cox wrote:
On 24/08/2012, at 3:11 AM, Greg Parker gpar...@apple.com wrote:
On Aug 22, 2012, at 7:14 PM, Graham Cox graham@bigpond.com wrote:
Turns out the problem I was having with this is because of the behaviour of
[NSURL
On 23 Aug 2012, at 03:14, Graham Cox wrote:
On 23/08/2012, at 9:37 AM, Graham Cox graham@bigpond.com wrote:
Trying to work around this is proving impossible with the current sandbox
implementation - there are too many opaque hacks in the system that mean you
cannot trust the URLs
On 23 Aug 2012, at 11:52, Graham Cox wrote:
On 23/08/2012, at 6:48 PM, Mike Abdullah cocoa...@mikeabdullah.net wrote:
Your description here sounds unlikely. The URL APIs are extremely
well-tested and robust; I would be surprised if you really have found a bug
like this.
What
On 23 Aug 2012, at 18:11, Greg Parker wrote:
On Aug 22, 2012, at 7:14 PM, Graham Cox graham@bigpond.com wrote:
Turns out the problem I was having with this is because of the behaviour of
[NSURL fileURLWithPath:isDirectory:].
When I passed the path to the iPhoto database file
On 22 Aug 2012, at 21:31, James Merkel wrote:
On Aug 22, 2012, at 1:27 PM, Kyle Sluder k...@ksluder.com wrote:
On Wed, Aug 22, 2012, at 01:02 PM, Lee Ann Rucker wrote:
Notification Center is usable by any app; I'm using it and App Store
isn't even a possibility at this point.
I
On 12 Aug 2012, at 19:53, Seth Willits wrote:
On Aug 12, 2012, at 11:29 AM, Jens Alfke wrote:
I reported these assertions years ago but did get no response.
Disclaimer: I wrote about ⅔ of the PubSub framework.
After I left Apple at the end of 2007 I don't think anyone else put any work
On 18 Aug 2012, at 22:48, Koen van der Drift koenvanderdr...@gmail.com wrote:
Is there a similar way to inject an external javascript.js file into my
webView? I think I can use that to strip out the divs I don't want to show.
You could use the resource load delegate to substitute in a custom
On 17 Aug 2012, at 00:11, Rick Mann rm...@latencyzero.com wrote:
I'm surprised this is so hard to do.
I'd argue that rather than a pair of animations, what you better is to open the
window non-animated, and then animate the sheet over it. Have you looked into
that?
On 14 Aug 2012, at 05:29, James Merkel jmerk...@mac.com wrote:
In 10.8, what capabilities does a window need in order for it to have the
window title drop down menu? My windows don't seem to have this feature.
Does the window need to be document based?
Yes. What feature(s) would you like of
On 15 Aug 2012, at 18:48, Antonio Nunes devli...@sintraworks.com wrote:
After a number of successful submissions of my sandboxed app tot he App
Store, today Apple decided to reject my app because one of the 3rd party
frameworks it includes and links against is not sandboxed. I don't recall
On 16 Aug 2012, at 04:41, Marco S Hyman m...@snafu.org wrote:
On Aug 15, 2012, at 8:24 PM, Jens Alfke j...@mooseyard.com wrote:
The images are typically 25 MB Canon 7D raw image files that have
been pre-alloc'ed and initWithContentsOfFile:
NSImage doesn't actually load the image pixels
On 16 Aug 2012, at 04:02, Charlie Dickman 3tothe...@comcast.net wrote:
Here's the whole method... it is being called from within a view's drawRect
method...
- (void) showDiceAtX: (float) x Y: (float) y {
NSRect imageRect1, imageRect2;
NSImage *die1 = nil, *die2 = nil;
On 14 Aug 2012, at 03:16, Alfian Busyro alfian.bus...@kddi-web.com wrote:
Thanks for your answer.
I'm looking at cell-based table view right now,
It's seems like it's pretty not dynamically to make a custom view of the cell
view.
do you have any idea to custom it ?
So actually I looking
On 13 Aug 2012, at 16:56, Kyle Sluder k...@ksluder.com wrote:
On Aug 13, 2012, at 8:42 AM, Ben ben_cocoa_dev_l...@yahoo.co.uk wrote:
I see in the documentation - and from a compiler error - that some classes
are not compatible with weak references.
What makes these classes incompatible?
On 13 Aug 2012, at 20:40, Greg Parker gpar...@apple.com wrote:
On Aug 11, 2012, at 6:16 PM, Jayson Adams jay...@circusponies.com wrote:
Poor reading skills are keeping this thread alive. No, I have not been
saying anything related to whatever work I may or may not have that's
related to
You need to go back to old school cell-based table views then.
On 13 Aug 2012, at 09:52, Alfian Busyro alfian.bus...@kddi-web.com wrote:
Hi,
I have an application that must support minimum OS X. Snow Leopard (10.6).
But accidentally I using makeViewWithIdentifier inside a delegate of table
On 10 Aug 2012, at 09:09, Fulbert Boussaton 4...@flubb.net wrote:
Hi everyone,
on iOS, I was using the following immediate CG code to display hundreds
procedural sprites :
CGContextSetShadow(Ctx, CGSizeMake(3, 4), 3.0f);
CGMutablePathRef ShapePath = CGPathCreateMutable();
On 13 Aug 2012, at 19:30, Jean-Daniel Dupas devli...@shadowlab.org wrote:
Le 13 août 2012 à 19:54, John McCall rjmcc...@apple.com a écrit :
On Aug 13, 2012, at 9:29 AM, Jean-Daniel Dupas wrote:
Le 13 août 2012 à 17:56, Kyle Sluder k...@ksluder.com a écrit :
On Aug 13, 2012, at 8:42 AM,
On 11 Aug 2012, at 13:55, Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
I have an app which, when I first use File → Open..., writes:
2012-08-11 19:48:16.710 MyApp[5380:303] *** WARNING: Method
userSpaceScaleFactor in class NSWindow is deprecated on 10.7 and later. It
should not be used
On 7 Aug 2012, at 15:31, Sean McBride s...@rogue-research.com wrote:
On Tue, 7 Aug 2012 08:38:12 +1000, Graham Cox said:
I have a category on NSColor that defines all the named SVG colours,
and there's one called 'linenColor'. In 10.8, there appears to be a
private method called
On 5 Aug 2012, at 03:00, Dave Keck wrote:
I'm unsure of the wisdom of this approach. Presumably the scroll view is
intentionally blocking the runloop, and thus assuming that the runloop will
not fire its event sources until after the scrolling is complete. By waking
up the runloop, you're
On 4 Aug 2012, at 08:08 PM, James Merkel jmerk...@me.com wrote:
On Sat, 04 Aug 2012 15:08:54 +0100 Mike Abdullah wrote:
A) Your customers aren't going to be very happy about that
B) You can still codesign with a self-signed certificate, and really should
have been doing so since the 10.5
On 4 Aug 2012, at 12:35, Koen van der Drift koenvanderdr...@gmail.com wrote:
Anyone an idea? Does my own app need to be codesigned for this to work?
Well any app should really be codesigned with Developer ID these days, though
that's probably not causing the crash. Sign it and see what
On 4 Aug 2012, at 13:55, Koen van der Drift koenvanderdr...@gmail.com wrote:
On Aug 4, 2012, at 8:35 AM, Mike Abdullah cocoa...@mikeabdullah.net wrote:
Well any app should really be codesigned with Developer ID these days,
though that's probably not causing the crash. Sign it and see
On 2 Aug 2012, at 13:47, Rob McBroom mailingli...@skurfer.com wrote:
On Aug 2, 2012, at 3:07 AM, Shane Stanley sstan...@myriad-com.com.au wrote:
On 01/08/2012, at 1:07 AM, Rob McBroom mailingli...@skurfer.com wrote:
Mail is, but so is TextEdit and I have no problem reading its prefs.
On 29 Jul 2012, at 19:47, Pascal Harris wrote:
Mike,
Thanks for taking time on a Sunday to reply promptly. I'm very grateful.
Taking each point
On 29 Jul 2012, at 19:10, Mike Abdullah cocoa...@mikeabdullah.net wrote:
Hello, there are many things wrong with your code. I’m noting
On 30 Jul 2012, at 10:48, Mark Allan wrote:
Thanks very much for the suggestion. I've just given that a try, but it
doesn't make any difference. The enumeration still stops early, but the
error handler block doesn't get called, making me think there's no error; the
enumeration simply
On 26 Jul 2012, at 15:17, Kyle Sluder wrote:
On Jul 26, 2012, at 3:56 AM, Rakesh Singhal rakesh.sing...@gmail.com wrote:
It worked. Pbs was indexing the old build.
On 10.7, I am not getting the file path instead of that I get something
like file:///.file/id=6571367.3388989. In 10.6, I am
What have you tried? First step with something like this is almost always to
turn on NSZombie.
On 29 Jul 2012, at 11:28, Martin Hewitson wrote:
Dear list,
I have a document based app which uses ARC. I have occasional crashes when
closing a document. I'm guessing it's a memory issue
Hello, there are many things wrong with your code. I’m noting them below.
On 29 Jul 2012, at 18:53, Pascal Harris wrote:
I hope that someone here might be able to help me with a couple of queries.
1. I'm trying to open a document (NSDocument). If the file is good then my
program opens it
Reverting a document calls through to -readFromURL:… internally.
The read and write methods are primitive, and not intended to be called
directly. The save, init, and revert methods are the higher level API designed
for calling directly.
On 24 Jul 2012, at 19:13, Markus Spoettl
On 23 Jul 2012, at 09:00, Andreas Grosam agro...@onlinehome.de wrote:
Suppose, I have C-arrays defined as follows:
int count = [dictionary count];
id __unsafe_unretained values[count];
id __unsafe_unretained keys[count];
I fill these arrays with:
[dictionary getObjects:values
On 23 Jul 2012, at 11:48, Andreas Grosam agro...@onlinehome.de wrote:
On 23.07.2012, at 10:36, Mike Abdullah wrote:
I think all this begs the questions:
- Why do you want to get these objects stored in arrays rather than a
dictionary?
- Why C arrays, rather than NSArray?
Well, I
On 23 Jul 2012, at 12:57, Andreas Grosam agro...@onlinehome.de wrote:
On 23.07.2012, at 13:09, Mike Abdullah wrote:
Aha, now we're talking. You want -initWithDictionary:copyItems:
No, this is not a deep copy.
Suppose, there is an element within the array, whose value is a mutable
Have you tried using the zombies instrument?
On 17 Jul 2012, at 11:30, Martin Hewitson martin.hewit...@aei.mpg.de wrote:
Dear list,
I've been trying to track down a crash that happens sometimes when a document
is closed in my NSPersistentDocument based app. This started to appear during
On 17 Jul 2012, at 22:41, Markus Spoettl wrote:
Hello,
I have an NSArrayController (automaticallyRearrangesObjects = YES) on which
I set a filterPredicate in code (not through bindings). Most of the time,
rearranging works but in one 100% reproducible case, the controller produces
an
Does anything in your code call
-commitEditingWithDelegate:didCommitSelector:contextInfo: ?
On 17 Jul 2012, at 20:46, Sean McBride wrote:
Hi all,
I've had two customer reports of the exception below. My code is not in the
backtrace, so I'm not sure how to figure this one out. Anyone
On 17 Jul 2012, at 18:10, Martin Hewitson wrote:
So my potential solution for this is:
NSSpellChecker *checker = [NSSpellChecker sharedSpellChecker];
__block NSRange range = NSMakeRange(0, 0);
while (range.location [aString length]) {
dispatch_sync(dispatch_get_main_queue(), ^{
On 18 Jul 2012, at 01:19, Erik Stainsby erik.stain...@roaringsky.ca wrote:
Sorry I should have said a little more about my context. I'm looking at the
object passed to the delegate method -control:isValidObject:
Documentation states: In validating, the delegate should check the value in
How are you coming across an alias on iOS 4?
On 14 Jun 2012, at 05:00, Ariel Feinerman wrote:
Hi,
how to resolve alias on ios 4 or earlier? This is unusual one has not got
neither CoreServices nor bookmarks .
--
best regards
Ariel
___
Is your app codesigned? Security-scoped bookmarks require it to be codesigned.
On 13 Jun 2012, at 12:14, douglas welton wrote:
Hi All,
My application allows the user to navigate to a directory and read a
collection of image files. Once read, the user can arbitrarily keep any
subset of
On 12 Jun 2012, at 11:00, koko wrote:
Yes, I was using beginSheetModalForWindow: completionHandler
So I have changed to:
[NSApp beginSheet:op modalForWindow:[self window] modalDelegate:self
didEndSelector:@selector(sheetDidEnd:returnCode:contextInfo:)
contextInfo:nil];
-
http://mikeabdullah.net/leopard+blocks.html
On 11 Jun 2012, at 14:14, koko wrote:
I am beta testing a new release with 4 users. One in Norway gets this when
launching the program:
Process: Embrilliance [262]
Path:
On 10 Jun 2012, at 10:45, Markus Spoettl wrote:
DeprecatedOn 6/10/12 7:21 PM, Markus Spoettl wrote:
Keeping the list server busy while everyone else seem to have better things
to
do...
Is there an magic trick to get the framework to actually call NSDocument's
-
What entitlements do you have?
On 6 Jun 2012, at 04:41, Samuel Williams wrote:
Hi,
I'm having trouble with NSSavePanel runModal in a sandbox:
NSSavePanel * savePanel = [NSSavePanel savePanel];
savePanel.title = @Document Migration;
savePanel.directoryURL = url;
Use an NSOpenPanel instead?
On 6 Jun 2012, at 18:04, Gordon Apple wrote:
Is there a way to block NSSavePanel from alerting a file overwrite? I¹m
using it simply to establish a URL and later alert about overwrite when a
record command is issued. I would prefer to not have the user see this
I guess you should implement -[NSDocument close] to do your cleanup then.
On 30 May 2012, at 04:30, Graham Cox wrote:
Well well.
This leak only occurs if I have sandboxing enabled. What a surprise!
The save dialog is not releasing the document when it closes if sandboxing is
turned on.
On 30 May 2012, at 16:07, Jean-Daniel Dupas wrote:
Le 30 mai 2012 à 16:56, Michael Nickerson a écrit :
It does not solve the main issue. You assume the preferences are stored in
property list, which is something not documented.
Nothing prevent Apple to change it again to an other
The general idea is that you make some kind of copy of your model's state and
pass that as the document's content, leaving the background free to write it
at its leisure.
On 27 May 2012, at 21:35, Manfred Schwind wrote:
Hi,
when using UIDocument, reading and writing the document is done
I believe the transition to iCloud is also effectively a sync reset, so the IDs
change.
Arguably, your app needs to handle an ID going away anyway, in case the user
decides to delete that contact from their address book at some point.
On 6 May 2012, at 08:28, Steve Fogel wrote:
Hi, all...
On 16 Apr 2012, at 10:07, Gerriet M. Denkmann wrote:
I have this code:
NSMethodSignature *ms = [ self methodSignatureForSelector:
@selector(someMethod:) ];
NSInvocation *inv = [NSInvocation invocationWithMethodSignature: ms ];
[ inv retainArguments ];
[ inv setSelector:
Is there a good reason why you're not using automatic menu enabling?
https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/MenuList/Articles/EnablingMenuItems.html
On 16 Apr 2012, at 13:27, Jerry Krinock wrote:
When I have a menu item which needs to be disabled based on
WebKit uses multiple layers of caching. Not all of it on disk.
A combination of clearing out the shared NSURLCache and relaunching your app
should clear them all.
On 13 Apr 2012, at 15:49, Koen van der Drift wrote:
Unfortunately that link doesn't seem applicable to my situation. I'm
just
Whoah, back up. It sounds like you've dived in over your depth.
No, you don't have to use an array controller; you are free to modify the
context as you wish. Using one of Cocoa's built-in controllers might well prove
better for your task, it's hard to say.
Fetch requests are what they say on
On 10 Apr 2012, at 01:05, Jerry Krinock wrote:
On 2012 Apr 09, at 16:07, Mike Abdullah wrote:
The docs are incorrect about the escaping behaviour (and used to be for
CFURLCopyPath too); both functions do not do escaping
rdar://problem/10561176
Ah, I was reading Xcode 3 documentation
On 10 Apr 2012, at 00:52, Jerry Krinock wrote:
On 2012 Apr 09, at 16:01, Mike Abdullah wrote:
Can you tell us why you want the trailing slash maintained?
I use it in a method which normalizes internet URLs.
(I hate URL normalization, but my app must work with web browsers that do
On 9 Apr 2012, at 21:15, Charles Srstka wrote:
On Apr 9, 2012, at 3:10 PM, Jens Alfke wrote:
On Apr 9, 2012, at 10:23 AM, Jerry Krinock wrote:
Thank you Ken. Indeed, CFURLCopyPath() gives the complete path, as
specified in RFC 3986!
There are some other differences too. Like,
Can you tell us why you want the trailing slash maintained? Pretty much all
path-based APIs on OS X ignore such slashes, so I'm assuming you want it for
another reason. There may be a better API we can suggest.
On 9 Apr 2012, at 06:18, Jerry Krinock wrote:
In the documentation of -[NSURL
On 9 Apr 2012, at 21:15, Charles Srstka wrote:
On Apr 9, 2012, at 3:10 PM, Jens Alfke wrote:
On Apr 9, 2012, at 10:23 AM, Jerry Krinock wrote:
Thank you Ken. Indeed, CFURLCopyPath() gives the complete path, as
specified in RFC 3986!
There are some other differences too. Like,
What's the backtrace of the crash?
How's your +addOperationOnMainQueueWithBlock: method implemented?
On 5 Apr 2012, at 01:09, Rick Mann wrote:
This is odd. I have an app that downloads locations from a web service, and
creates NSManagedObejct (subclass: Location) for them. It's been working
I think it's fair to say this is only true for a 64 bit app. In a 32 bit app,
it's fairly easy to exhaust your address space if all deleted files are kept
in-memory.
On 26 Mar 2012, at 00:57, Steven wrote:
Thanks for the info Graham.
I'm using NSUndoManager. I thought that many large
Well error code 4 is NSFileNoSuchFileError. I think you're trying to delete a
file that doesn't exist!
On 27 Mar 2012, at 03:22, Rick Mann wrote:
I'm trying to delete some image files I cache. Here's what I'm getting:
2012-03-26 19:20:14.330 MyApp[5765:707] File exists:
, 2012, at 11:31 , Roland King wrote:
and the fact it works on the sim and not on the device makes me think you
have a case issue, device is case sensitive, sim is not.
On Mar 28, 2012, at 2:15 AM, Mike Abdullah wrote:
Well error code 4 is NSFileNoSuchFileError. I think you're trying
On 27 Mar 2012, at 22:23, Rick Mann wrote:
There are a couple other issues:
1) You shouldn't handle errors by testing (err != nil). This might work
(since you initialized err to nil) assuming that removeItemAtURL: isn't
fiddling with err anyway, but it's not guaranteed. The preferred
It sounds to me like your writeToURL… method isn't writing out the entire
document's contents. Can you show us some code? Note that for document
packages, using NSFileWrapper often makes your implementation a lot easier.
Sent from my iPad
On 20 Mar 2012, at 07:53 PM, Neil Clayton
Sent from my iPad
On 20 Mar 2012, at 05:16 AM, Rick Mann rm...@latencyzero.com wrote:
I'm connecting to my dev server which has a self-signed cert. When I do this,
NSURLConnection complains with:
NSLocalizedDescription = An SSL error has occurred and a secure connection
to the server
On 6 Mar 2012, at 20:42, Prime Coderama wrote:
I have an array and I am iterating through it using this technique:
for (id object in array) {
// do something with object
}
Is there way to obtain the object's current array index position or do I
have to add a counter?
Well you
On 7 Mar 2012, at 19:07, Howard Moon wrote:
Hi all,
I'm really not that familiar with Objective-C and Cocoa yet, but I'm
getting a warning for something that works fine, and I hate warnings. The
warning is:
'NSOpenPanel' may not respond to '-setDirectoryURL:'
On 8 Mar 2012, at 14:54, Howard Moon wrote:
On Mar 8, 2012, at 6:21 AM, Mike Abdullah wrote:
I'm really not that familiar with Objective-C and Cocoa yet, but I'm
getting a warning for something that works fine, and I hate warnings. The
warning is:
'NSOpenPanel' may
On 8 Mar 2012, at 14:22, CoGe - Tamas Nagy wrote:
Maybe this will helps you, here is my thread-safe subclass of NSMutableArray:
http://code.google.com/p/cogeopensource/source/browse/trunk/CoGeOpenSource/CoGeThreadSafeMutableArray.m
Works well for my project.
License?
Time for me to be cruel and pick apart your code.
On 8 Mar 2012, at 18:10, Howard Moon wrote:
Hmmm... I'm building a VST3/vstgui4 plug-in, and I think the base SDK and
deployment targets are set as required, like this:
SDKROOT = macosx10.5
SDKROOT[arch=x86_64] =
Clearly I suck at Google code :(
On 8 Mar 2012, at 18:12, CoGe - Tamas Nagy wrote:
LGPL, as the page mentions it;)
Sent from my iPhone
On Mar 8, 2012, at 6:18 PM, Mike Abdullah cocoa...@mikeabdullah.net wrote:
On 8 Mar 2012, at 14:22, CoGe - Tamas Nagy wrote:
Maybe this will helps
Got a stack trace?
Sent from my iPad
On 9 Mar 2012, at 06:57 AM, Donald Hall d...@appsandmore.com wrote:
Does anyone have any idea what might be wrong if I am getting this exception:
Uncaught Exception:
NSUnknownKeyException
[Action 0x3396b0 valueForUndefinedKey:]: this class is not key
Have you read
https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Multithreading/ThreadSafetySummary/ThreadSafetySummary.html
?
On 6 Mar 2012, at 19:51, Jan E. Schotsman wrote:
Hello,
I have an array of progress values (number objects) for subprojects, from
which I
On 5 Mar 2012, at 19:21, Alex Zavatone wrote:
I just found out why some JSON parsing was failing, the data returned from
the NSURLRequest was the HTML for our firewall authentication page.
You mean NSURLConnection right? URL requests themselves are purely data
objects, they don't do any
401 - 500 of 1056 matches
Mail list logo