On Jul 27, 2013, at 11:54 , Robert Martin robmar...@frontiernet.net wrote:
But CGImageSourceCreateWithURL() includes the keyword 'create' - so the
object you get back has a retain count of 1. ARC will insist that you cast
with __bridge or __bridge_transfer.
ARC isn't involved with the
On Jul 25, 2013, at 07:20 , Matt Neuburg m...@tidbits.com wrote:
storage of the value passed as context:(void*), not just in addObserver:, but
in general
I think I'd take this in a different direction. In *all* of these scenarios the
context parameter is a mechanism for passing a pointer to
On Jul 25, 2013, at 12:08 , Matt Neuburg m...@tidbits.com wrote:
Well, and discussions of the issue often fail to take into account the
problem of distinguishing the context on an instance-by-instance basis.
Passing self as a context does that, obviously; but the static void*
trick does
On Jul 24, 2013, at 14:53 , Gordon Apple g...@ed4u.com wrote:
I need the mouseUp (selection ended)
Why not use the delegate method for detecting a selection change
(textViewDidChangeSelection) and, using state you save when a pen swipe starts,
change the attributes on the new selection if the
There's no mistake. There are several things going on here.
One is that C is a bit funny about compile-time resolution of constants outside
the signed (int or long) range, which makes it desirable to avoid having a
constant outside the range. Otherwise, unsigned constants may turn into signed
Er, I mean 2**67 bytes. My brain was stuck on 32 bit pointers.
On Jul 20, 2013, at 15:30 , Quincey Morris
quinceymor...@rivergatesoftware.com wrote:
or about 2**35 bytes
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
On Jul 18, 2013, at 11:58 , Keary Suska cocoa-...@esoteritech.com wrote:
Posting in hopes that someone has run into this case and figured it out.
There used to be a bug in text field undo in a somewhat similar case (though I
don't remember whether it involved using separate undo managers for
On Jul 17, 2013, at 21:14 , Peter Teeson ptee...@icloud.com wrote:
However from the Googling I did and the experiments I performed it seems I
have to use terminal to
(1)
On Jul 10, 2013, at 23:18 , dangerwillrobinsondan...@gmail.com wrote:
Is there an appropriate way to subclass NSViewController to return a custom
view class or is casting the return of view or loadView the only way?
You can just re-declare the 'view' property in a subclass to have the desired
On Jul 10, 2013, at 23:26 , Kyle Sluder k...@ksluder.com wrote:
It's generally bad form to override a method for the sole purpose of changing
its return type. Just cast the returned value got the appropriate type.
The trouble is that a cast is (generally) a bug waiting to happen, because it
On Jul 11, 2013, at 11:23 , Matthew LeRoy mle...@minitab.com wrote:
I had previously considered the same approach you suggested regarding adding
to the checkbox's action method. The problem is that our desired behavior is
to allow the checkbox to be unchecked at any time, and any uncommitted
On Jul 11, 2013, at 13:01 , Matthew LeRoy mle...@minitab.com wrote:
I don't feel that I am relying on the delegate methods to capture any state
change[…]
I wasn't suggesting that you are doing anything wrong, rather that there's a
more positive point of control.
I assumed that the field
On Jul 10, 2013, at 08:43 , Scott Ribe scott_r...@elevated-dev.com wrote:
The convention that we're talking about is that the apps' directories in
Application Support should be named by bundle identifier, not by application
name. The list that I provided was the result of ls Application\
On Jul 6, 2013, at 23:06 , Vincent Habchi vi...@macports.org wrote:
instead of [myMutableArray add:[[NSString stringFromCString:… encoding:…]
componentsSeparatedBy:@, ]], I just wrote: sscanf (myLine, %f, %f, %f, t
[0], t [1], t [2])
How come I get such a large discrepancy in memory usage
On Jul 2, 2013, at 09:10 , Steve Mills smi...@makemusic.com wrote:
That seems like a total hack when there should be an obvious button or
something in First Responder's action list that allows the user to easily add
a new action.
There is a button, but it's obvious only after you know where
On Jun 24, 2013, at 14:41 , Robert Fiedler robert.fied...@kryptowelt.de wrote:
Does anybody have an idea what could be the reason for that behavior or in
what direction I should dig?
I believe I've seen similar behavior caused by malfunctioning auto-layout
constraints on the text and image
On Jun 22, 2013, at 17:52 , Nick Zitzmann n...@chronosnet.com wrote:
I did search the documentation and the archives, and didn't see anyone
talking about this. It appears that, in view-based NSTableViews or
NSOutlineViews, if a row is designated as a group row/item, then the view
spans the
On Jun 20, 2013, at 22:05 , Markus Spoettl ms_li...@shiftoption.com wrote:
It seems that the default implementation of UIDocument uses an NSFileWrapper
initialized with the NSFileWrapperReadingImmediate reading option.
When I create a NSFileWrapper not using that option it works, meaning it
On Jun 21, 2013, at 03:40 , Markus Spoettl ms_li...@shiftoption.com wrote:
can it be that a wrapper which I hold on to from the time I first created it
switches it's backing from in-memory to memory mapped disk once it has been
saved?
There are actually three possible states for a regular
On Jun 20, 2013, at 12:06 , Karl Moskowski kmoskow...@me.com wrote:
I’m creating a document-based OS X app. The document itself will be a
package, with most of the its properties archived in a plist (via
NSFileWrapper). However, the document package will also contain a potentially
—
On Jun 20, 2013, at 13:07 , Karl Moskowski kmoskow...@me.com wrote:
In fact, I think that will almost always be the case, so the
link-to-an-external asset approach may not be practical. Anyway, would that
approach work with Sandbox restrictions? What about potential iCloud sync in
the
On Jun 20, 2013, at 14:22 , Karl Moskowski kmoskow...@me.com wrote:
So, when importing the asset upon new document creation, actually import it
to a temp directory, then upon save of the document, hard-link to the temp
asset (via NSFileManager methods)? How would you delete the original hard
On Jun 20, 2013, at 14:37 , Markus Spoettl ms_li...@shiftoption.com wrote:
OK, but isn't NSFileWrapper supposed to facilitate exactly that by providing
sub-wrappers instead of actual data of contained files/folders, which can be
read on demand when needed?
No, NSFileWrapper provides *lazy*
On Jun 20, 2013, at 15:12 , Mike Abdullah mabdul...@karelia.com wrote:
There should be no need to do this. If you need a location on disk for the
document, just trigger an autosave so that the system effectively creates a
temp location for you to use (-[NSDocument autosavedContentsFileURL])
On Jun 16, 2013, at 15:30 , Daniel Wambold wambo...@gmail.com wrote:
I have a UIDatePicker in an .xib file with its File's Owner set to a custom
class, MyTimeDatePickerVC. The MyTimeDatePickerVC inherits from
UIViewController, and has an IBOutlet attached to the UIDatePicker.
What does the
On Jun 16, 2013, at 17:29 , Kyle Sluder k...@ksluder.com wrote:
For this reason, that document recommends you use a weak declared
property for outlets to non-top-level objects. You should probably
follow that recommendation.
Under the circumstances, since this is a manual RR app, just
On Jun 16, 2013, at 18:16 , Kyle Sluder k...@ksluder.com wrote:
Meh. As a Mac programmer, your approach would indeed be my instinct, but I'm
trying to train myself to be more modern.
Better still, it occurred to me after posting, would be to use Refactor… to
convert the app to ARC. That
On Jun 15, 2013, at 18:48 , Rick Mann rm...@latencyzero.com wrote:
I can leave the view 23 pixels high, and adjust the outline view's row
height, but I'd rather it size automatically in case I add views of a
different heigh later.
It doesn't work like that. A table cell view [prototype] has
On Jun 15, 2013, at 19:31 , Rick Mann rm...@latencyzero.com wrote:
There's a setting for Automatic…where does it get it from then?
AFAIK, it means the row height is set automatically based on the control size
(small/medium/large).
Also, is there no way, using bindings, and no delegate, to
On Jun 14, 2013, at 13:06 , Gordon Apple g...@ed4u.com wrote:
³currentPath² property in doc gets set once. Observation gets dinged about
200 times. Removing the ³reloadData² didn¹t affect this. Same observer in
another file gets dinged once, like it should. Stack trace always leads
back
On Jun 12, 2013, at 00:11 , Oleg Krupnov oleg.krup...@gmail.com wrote:
I've just been shocked to find out that NSNotFound is defined by the
framework as NSIntegerMax, that is maximal value of *SIGNED* integer,
which in 64 bit architecture is 0x7fff.
I used to think that it
On Jun 12, 2013, at 00:42 , Quincey Morris
quinceymor...@rivergatesoftware.com wrote:
If you archive a 64-bit NSNotFound, it's no longer NSNotFound when unarchived
on a 32-bit architecture, and vice versa.
Oops, just to clarify:
I don't mean there's anything wrong with the archiving
On Jun 12, 2013, at 01:14 , Oleg Krupnov oleg.krup...@gmail.com wrote:
What if I have sparse array etc.
One higher bit is actually twice as many elements. Why having
NSUInteger at all if you can't use more than NSIntegerMax? This
doesn't seem right.
-- If you're talking about NSArray,
On Jun 10, 2013, at 08:23 , Jonathan Taylor jonathan.tay...@glasgow.ac.uk
wrote:
However, if I understand you correctly, you are convinced that the (large)
backing buffer for the bitmap data should be being reported by Allocations.
As you can hopefully see from these screenshots, while the
On Jun 1, 2013, at 14:04 , Kyle Sluder k...@ksluder.com wrote:
Spotlight importers run within a worker process; thus, they inherit the
sandbox of the worker process, not the sandbox of your app (which might
not even be running).
The part of this line of thinking that I don't understand is why
On Jun 3, 2013, at 09:58 , Sean McBride s...@rogue-research.com wrote:
NSTemporaryDirectory() is an old path-based API. Perhaps the newer URL-based
APIs (URLForDirectory:inDomain:appropriateForURL:create:error:) might return
a more appropriate temp directory...
In this document:
On May 28, 2013, at 23:37 , Diederik Meijer | Ten Horses
diede...@tenhorses.com wrote:
1. With ARC, do we still have to worry about string1 leaking in the following
scenario?
@property (nonatomic, copy) NSString *string1;
…..
self.string1 = @Hello;
string1 = @Hello hello;
string1 =
On May 28, 2013, at 10:01 , YT y...@redwoodcontent.com wrote:
I did run a test and created a NEW Project and checked the box Create a
Document-based App
AND no Controller files (.h,.m) were automatically generated.
Actually, two controllers *were* generated:
1. The app delegate. This
On May 28, 2013, at 13:16 , Paul Johnson p...@askerko.net wrote:
I have a slider, a stepper, and a textField that are synchronized using
bindings. I didn't write any code to do this, just used Xcode with its
Interface Builder. When the program starts I don't see the slider set to
the Current
On May 27, 2013, at 20:34 , YT y...@redwoodcontent.com wrote:
Here is an extracted section
I found the section of documentation you're referring to (it wasn't easy, you
didn't give us much to go on).
The short answer to your concern is that this piece of documentation is just
plain wrong. If
On May 17, 2013, at 06:38 , Koen van der Drift koenvanderdr...@gmail.com
wrote:
CGSize frameSize =
CTFramesetterSuggestFrameSizeWithConstraints(framesetter, CFRangeMake(0,
stringLength), NULL, CGSizeMake(self.bounds.size.width, CGFLOAT_MAX),
fitRange);
self.frame = CGRectMake(0, 0,
On May 17, 2013, at 11:20 , Robert Vojta rob...@tapmates.com wrote:
Height was wrong even if returned width = constrained width.
Once I took proper account of the returned width, I got no more wrong heights.
However, IIRC, there was a separate issue that fractional line heights didn't
work
On May 14, 2013, at 21:16 , Scott Ribe scott_r...@elevated-dev.com wrote:
On 10.6.8, if I enter a plain filename without extension, the save panel
returns the path with the extension appended. On 10.7.5, where sandboxing
kicks in and this actually matters because the code cannot normalize
On May 15, 2013, at 08:31 , Scott Ribe scott_r...@elevated-dev.com wrote:
I guess about the only thing I can do here in order to get the file named in
a usable manner […] is to use a delegate, implement panel:validateURL:error:,
and force the user to type .pdf.
I don't believe this. If
On May 14, 2013, at 00:07 , Vincent CARLIER vince.carl...@gmail.com wrote:
Is there a way to put the menu on other windows too, is there any available
API to do that ?
All document windows should have the menu. My guess is that you forgot to
invoke '-[NSDocument addWindowController:]' on the
On May 14, 2013, at 04:30 , Vincent CARLIER vince.carl...@gmail.com wrote:
As you will see, the menu item opens a second (and any number) of windows for
the document, but only the first has got the menu.
Yes, now you've pointed this out, I can see the same (mis)behavior in my own
apps.
On May 13, 2013, at 19:41 , Graham Cox graham@bigpond.com wrote:
When you call -removeFromSuperview, the view is deleted, as there are no more
references to it. The other methods are not called because the object ceases
to exist.
I believe your warning is apposite, but is not actually
On May 13, 2013, at 21:30 , Andy Lee ag...@mac.com wrote:
I believe ARC keeps it alive by virtue of self being a strong reference.
It isn't, not exactly. According to section 7.3 of the Clang ARC spec:
The self parameter variable of an Objective-C method is never actually
retained by the
On May 13, 2013, at 21:58 , Rick Mann rm...@latencyzero.com wrote:
In any case, it would be helpful to me to know.
So try it with a random sampling of 20 window sizes and positions, and log the
window and screen frames before and after the screen change. If you post the
results here on this
On May 10, 2013, at 07:12 , Jerry Krinock je...@ieee.org wrote:
I think that it would help to have a higher-level understanding of the
problem. How about this…
You have a sandboxed app in which the user has somehow opened a document
outside your sandbox (because the user navigated to it
On May 7, 2013, at 11:12 , gweston gwes...@mac.com wrote:
You're relying on a learned behavior that's difficult or impossible to invoke
for an increasing chunk of your potential market. Is that really something
you want to vehemently defend instead of thinking maybe it's *less*
problematic
On May 5, 2013, at 21:43 , YT y...@redwoodcontent.com wrote:
In some thread an object is created with a set of methods.
Lets call this object objA.
Later in time another objected is created perhaps in another thread (not sure
if this note is relevant).
Lets call this object objB.
Now
On May 5, 2013, at 22:24 , YT y...@redwoodcontent.com wrote:
What I have is a view within the main window that is a Quartz 2D graphical
thing and I want to have a set of UI elements that a user interacts with to
change the graphical presentation.
Well the UI elements are in the Delegate
On May 2, 2013, at 00:31 , Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
When I click on the header nothing happens (except the current selection is
set to none and the small triangle on the right side alternate between up and
down).
At a wild guess, I'd suspect you neglected to bind the
On May 2, 2013, at 14:52 , Corbin Dunn corb...@apple.com wrote:
On Apr 17, 2013, at 2:09 PM, Quincey Morris
quinceymor...@rivergatesoftware.com wrote:
On Apr 17, 2013, at 10:50 , Gordon Apple g...@ed4u.com wrote:
We are converting tables and outlines to view-based. So far, so good
On May 2, 2013, at 21:16 , Nick Rogers roger...@mac.com wrote:
I want my app to delay forced sleep even after requesting the initial delay
of 30 seconds.
This have to be specifically set by the user in the Preferences of the app
and only when the user clicks a button to run some operation,
On May 1, 2013, at 08:34 , Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
- (id)tableView:(NSTableView *)aTableView
objectValueForTableColumn:(NSTableColumn *)aTableColumn
row:(NSInteger)rowIndex
{
NSDictionary *aLine = self.dataArray[rowIndex];
NSTableCellView *cellView = [
On May 1, 2013, at 11:52 , Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
The Array Controller has it's content bound to some array of dictionaries,
which have the keys Name and Image.
The table view's content is bound to Array Controller arrangedObjects. The
only TableColumn is not bound
On May 1, 2013, at 12:52 , Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
Can't find the method: 'tableView:viewWithIdentifier…'. But
makeViewWithIdentifier:... is never called. It was used in
...viewForTableColumn:... which was never called and has just been removed.
I guess this is the
On Apr 30, 2013, at 00:39 , Gideon King gid...@novamind.com wrote:
My scenario is a whole lot of sibling, potentially translucent, overlapping,
layer backed views.
I've never seen any evidence that sibling *NSView*s draw in the wrong order
since 10.5. I believe that 'drawRect:' is correctly
On Apr 30, 2013, at 08:55 , Mike Abdullah cocoa...@mikeabdullah.net wrote:
On 30 Apr 2013, at 16:53, Gideon King gid...@novamind.com wrote:
So it sounds as if as long as I have all my views in the entire hierarchy
layer backed, my sibling views should always draw in order.
Yup. Bear in
On Apr 30, 2013, at 18:37 , Gideon King gid...@novamind.com wrote:
How did you test it? Did you sort the views at all, or just leave them in the
order they were instantiated?
My hierarchy is very simple. The content view contains a single view (which
layer-backed in order to use a background
On Apr 29, 2013, at 11:08 , Steve Mills smi...@makemusic.com wrote:
We just noticed something that is wrong. When our
saveToURL:ofType:forSaveOperation:completionHandler override gets called for
NSAutosaveElsewhereOperation on two different untitled docs, the url is
exactly the same, so
On Apr 25, 2013, at 09:10 , Steve Mills smi...@makemusic.com wrote:
Saving in place is not something most users expect, because it hasn't been
done that way on all the common platforms.
Uh, you can't make statements like that without citing evidence. Have you
surveyed most users on this
On Apr 25, 2013, at 10:21 , Kevin Perry kpe...@apple.com wrote:
Actually no—autosaving-in-place means exactly that changes are always saved
to the main document file, hence in place. There is only ever a single file
per document, even when quitting.
Oops, I obviously got too focused on the
On Apr 19, 2013, at 22:46 , Graham Cox graham@bigpond.com wrote:
Exactly, which is why I figured it must either mean something else here, or
the user in question is confused...
It's a network of iMacs we're talking about.
On Apr 19, 2013, at 13:04 , Steve Mills smi...@makemusic.com wrote:
This leads me to believe that the autosave dirty state is getting out of
whack if the save doesn't happen as planned. Any ideas?
a. When you get an autosave during playback, can you save the dirty state of
the document,
On Apr 19, 2013, at 14:39 , Steve Mills smi...@makemusic.com wrote:
so autosave will happen again during playback
You may have covered this ground already and I missed it, but what happens if
you return NO from the autosave, along with a cancel error (that is,
domain=NSCocoaErrorDomain
On Apr 19, 2013, at 22:18 , Graham Cox graham@bigpond.com wrote:
what sort of network accounts are implied by 'AD' ?
I assume AD == ActiveDirectory, which is a Microsoft thing.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
On Apr 17, 2013, at 10:50 , Gordon Apple g...@ed4u.com wrote:
We are converting tables and outlines to view-based. So far, so good, on
tables. But NSOutlineView has been a pain. First of all, there is no
documentation on this, zero, zip, nada, zilch, in the NSOutlineView
Reference. You
I'm not sure if this is the right list for this, but then I'm not sure what is
the right list.
I'm seeing a consistent problem disposing of GCD semaphores. For example, if I
create a semaphore like this:
semaphore = dispatch_semaphore_create (10);
and then use if for a while, then try
On Apr 17, 2013, at 18:08 , Gordon Apple g...@ed4u.com wrote:
Our outlineView is not stable and it sometimes edits the wrong row.
FWIW, the several times I saw instability and other odd behavior, it turned out
I was doing something to the outline view on a non-main thread. The odd
behavior
On Apr 17, 2013, at 17:06 , Greg Parker gpar...@apple.com wrote:
dispatch assumes you are using the semaphore in a lock-like pattern, where
all waiters are expected to signal when they are done with their work. In
that pattern, destroying a semaphore whose value is less than its original
On Apr 16, 2013, at 10:26 , Chris Paveglio chris_paveg...@yahoo.com wrote:
I've added an NSArrayController to the xib. Set it's contentArray binding to
my array. Then I selected a text box in my table cell where one of the
dictionary values would go. I set it's binding to
On Apr 16, 2013, at 11:41 , Quincey Morris
quinceymor...@rivergatesoftware.com wrote:
for every cell-based table view I've created
every *view*-based table view, I meant.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
On Apr 15, 2013, at 13:49 , Steve Mills smi...@makemusic.com wrote:
I have the following overrides in my NSDocument subclass:
[…]
You didn't mention autosavesInPlace. This is the one to override if you don't
want any (new-style) autosaving.
The data was never saved anywhere, so opening a
On Apr 12, 2013, at 13:10 , Steve Mills smi...@makemusic.com wrote:
If I have an unsaved doc open in my app (I mean one that has never been saved
to disk), and I kill the app, upon relaunch, the OS attempts to restore that
document, but it does so incorrectly. First of all, the data was
On Apr 11, 2013, at 11:57 , Sean McBride s...@rogue-research.com wrote:
I have an executable which runs fine on 10.7.5, but when run in 10.8.3
crashes as below. This repros 100% on several machines. The cursor is
created plainly: [NSCursor pointingHandCursor], it happens with [NSCursor
On Apr 3, 2013, at 00:16 , Markus Spoettl ms_li...@shiftoption.com wrote:
bounds and center are correct at all times. However, I need the view's frame
in screen coordinates because I'm positioning an independent overlay window,
not a subview. Since the transformation messes with
On Apr 2, 2013, at 13:25 , Markus Spoettl ms_li...@shiftoption.com wrote:
I'm displaying an overlay window which is attached to the view in question.
When the rotation takes place, it needs to realign itself so that it's new
location agrees with what the view displays (in my context).
Isn't
On Apr 2, 2013, at 14:21 , Markus Spoettl ms_li...@shiftoption.com wrote:
Not sure if I understand what you're saying, but if that was the case, the
view's frame I'm attaching the overlay to would turn out wrong if the device
is rotated.
No, once the rotation is complete (at least), there'd
On Apr 1, 2013, at 13:16 , Koen van der Drift koenvanderdr...@gmail.com wrote:
I am getting the following error when loading a viewController:
*** Terminating app due to uncaught exception 'NSUnknownKeyException',
reason: '[IDSelectionViewController 0x75bff50 setValue:forUndefinedKey:]:
On Mar 26, 2013, at 10:30 , Chris Tracewell ch...@thinkcl.com wrote:
How can I get [self delegate] to recognize my custom methods?
There are two ways, one simpleminded, the other a bit sophisticated:
1. Use a local variable:
idTKOutlineViewDelegate delegate = [self delegate];
On Mar 26, 2013, at 13:11 , Conrad Shultz conrad_shu...@apple.com wrote:
If code expecting an NSOutlineView receives a TKOutlineView instance it may
break or behave unexpectedly since it may well try to set a delegate
conforming to NSOutlineViewDelegate but you have made your class require a
On Mar 26, 2013, at 14:14 , Conrad Shultz conrad_shu...@apple.com wrote:
Step #1 in my hypothetical was that in the future a *required* delegate
method be added, in which case there would be no -respondsToSelector: check.
1. Your earlier suggestion of having *two* delegate objects would
On Mar 24, 2013, at 13:47 , Pascal Harris 45rpmli...@googlemail.com wrote:
Question 1. Is this possible, and am I even using the correct tool to do the
job?
It's certainly possible to use popup buttons in a table column.
It's questionable whether this is the right tool for this job. Popup
On Mar 24, 2013, at 14:50 , Pax 45rpmli...@googlemail.com wrote:
You may be more successful if you use a view-based table rather than a
cell-based table. One of the reasons we have view-based tables is to be able to
avoid dealing with cells directly, in situations like this.
However, if you've
On Mar 24, 2013, at 15:16 , Pax 45rpmli...@googlemail.com wrote:
Ah. I shall have to look that up. Do you know of any good examples for view
based tables?
Not really. You can work through the Apple documentation:
On Mar 24, 2013, at 15:25 , John Bartleson jfbartle...@me.com wrote:
How do you list denizens typically check to see if a problem has already been
solved before querying the list?
You can search via a mainstream search engine such as Google or DuckDuckGo by
including 'site:lists.apple.com'
On Mar 22, 2013, at 11:34 , Chris Tracewell ch...@thinkcl.com wrote:
After ARC conversion it looks like
@interface TKObject : NSObject
{
NSString *__strong theString;
}
(sorry, this turned into a tome)
The way properties are compiled has changed over time. Assuming you're using
the current (Xcode 4.6+) version of clang to compile your files, there is an
explicit 'atomic' attribute for properties. This has been around for some time.
(Keep in mind that
On Mar 7, 2013, at 14:28 , Ben ben_cocoa_dev_l...@yahoo.co.uk wrote:
I have an iCloud-enabled document-based app which can export the document
contents into various other formats. It cannot open these formats.
Is it possible to disable iCloud as a destination in an NSSavePanel for these
On Mar 2, 2013, at 13:17 , Mills, Steve smi...@makemusic.com wrote:
But I'm not calling runModalPrintOperation, nor do I want to, because we need
to do something completely different at this point. This is the reason I'm
overriding printDocumentWithSettings in the first place. I just need to
On Mar 2, 2013, at 17:11 , Graham Cox graham@bigpond.com wrote:
Unless you send -retainArguments to it, in which case it, well, does what it
says on the tin.
OK, but it's still a bit more complicated than that. Using the override code
suggested in the AppKit release notes I linked to,
On Mar 1, 2013, at 13:59 , Steve Mills smi...@makemusic.com wrote:
I have tons of experience with AppleEvents under Carbon, but none under
Cocoa. Where does that event come in?
I think the diversion into Apple Events is something of a red herring, at least
at this stage of your debugging.
On Mar 1, 2013, at 14:59 , Steve Mills smi...@makemusic.com wrote:
Sorry, I still consider myself a newbie in Cocoaland. I can add those open
and print overrides to my NSApplicationDelegate, but I only want to be able
to set breakpoints on them but still let the default behavior happen.
On Feb 27, 2013, at 13:12 , Brad O'Hearne br...@bighillsoftware.com wrote:
- (id)init:(NSError **)error;
{
self = [super init];
if (self)
{
if ([self operationThatMightFail:error])
{
*error = nil;
}
else
{
return nil;
On Feb 24, 2013, at 09:10 , Kyle Sluder k...@ksluder.com wrote:
If that doesn't clear the problem, try launching your app with the Shift key
held down (or turn on Don't restore windows in your Debug scheme's editor,
or set the ApplePersistenceIgnoreState default to YES).
Good idea.
I'd
On Feb 23, 2013, at 07:57 , John Joyce dangerwillrobinsondan...@gmail.com
wrote:
The docs do not seem clear on this. (not to me anyway).
Yes, they're not clear on this.
If the directory you are creating is also considered an intermediate parent
directory, that is just confusing.
On Feb 23, 2013, at 18:12 , Andy Lee ag...@mac.com wrote:
Also, to repeat part of Graham's question: is the window you're attaching the
sheet to a floating window or a regular window? Maybe the sandboxing is
irrelevant.
How do you run it as a panel standalone - as opposed to as a sheet ?
1301 - 1400 of 3195 matches
Mail list logo