The NSDocument system makes sure the windows it creates are retained until
closing. You can see this in default new-project code. If you run the default
code for non-document apps, you see that there's no way to bring back the
initial window if closed, and therefore has no chance to show proper
that the list item tracks. (Hopefully NSProgress is
sufficiently thread-safe.) Is that workable? Is there a better idea?
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev mailing list (Cocoa-dev
The text controls on macOS use a NSTextStorage object to retain their text.
That object is a extension of an attributed string. Let's say you use a
NSString (or similar) in your document model. How should I get changes on one
string to get mirrored on the other?
I think there are
> On Dec 6, 2016, at 10:18 PM, Chris Hanson <c...@me.com> wrote:
>
> On Dec 5, 2016, at 4:18 PM, Daryle Walker <dary...@mac.com
> <mailto:dary...@mac.com>> wrote:
>
>> I've heard that Core Data is a object graph and persistence library. What if
>
> On Dec 5, 2016, at 8:17 PM, Jens Alfke <j...@mooseyard.com> wrote:
>
>
>> On Dec 5, 2016, at 4:18 PM, Daryle Walker <dary...@mac.com> wrote:
>>
>> I've heard that Core Data is a object graph and persistence library. What if
>> you want just the
nless I
specify). Just ticked off that I skipped a lot of the WWDC 2016 videos from my
binge since they were iPhone & friends oriented. And the first third of the
last Mac announcement was a future AppleTV app. And get off my lawn.)
—
Daryle Walker
Mac, Internet, and Video Game Junkie
Just binged on WWDC 2016, and saw a new NSPersistentContainer that merges the
main types. It's initialized with a model, sets up its own coordinator, and
vends contexts as needed.
How are the actual stores used by the coordinator set up? I want to use an
in-memory store instead of some
I've heard that Core Data is a object graph and persistence library. What if
you want just the first part? The graph seems like a neat way to save on
modeling code, the external format is not database-ish at all (so the
capability for custom export formats won't help). Can I just not use the
[Binge-watching WWDC 2016 videos.]
For the Swift 3 "Data" type, if I want to represent a multi-gigabyte file, it
won't try to do it all in memory, would it? Or would I have to manage a
memory-mapped NSData and somehow connect it to a Data object?
Sent from my iPhone
> On Jun 10, 2016, at 9:45 AM, Jerry Krinock <je...@ieee.org> wrote:
>
>> On 2016 Jun 10, at 06:16, Daryle Walker <dary...@mac.com> wrote:
>>
>> I replaced windowNibName with makeWindowControllers since I'm moving window
>> management to a separate con
I put in a table-view for the top half of a OS X storyboard, and a tab-view for
the bottom. I couldn't figure out how to modify the tabs with more controls.
Eventually I followed web tutorial and replaced the tab-view with a custom view
that's attached to a tab-view controller, which itself has
I don't need this (yet), but it popped up in my head. Usually, readFromData:
ofType: processes the data in place. But what if the process take a while, or
you otherwise want to provide a progress window (maybe with a cancel button)? I
guess you could handle the parsing in an NSOperation, but
I replaced windowNibName with makeWindowControllers since I'm moving window
management to a separate controller. I kept windowControllerDidLoadNib around.
Now I wondered if it still gets called. I put in a "print( #function + "got
called." )" and never saw the output. Is this method called only
extension to mark it as a package) and the files within.
Also look at NSFileHandle, NSFilePresenter and NSFileCoordinator.
You don’t have to go database overkill if you don’t want to.
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
> Peter
>
> Original Message
> On Jun 4, 2016, at 12:44 PM, Quincey Morris
> <quinceymor...@rivergatesoftware.com> wrote:
>
> On Jun 4, 2016, at 07:10 , Daryle Walker <dary...@mac.com
> <mailto:dary...@mac.com>> wrote:
>>
>> Since the KVC protocol is informal, getting the names
, this is on OS
X and I’m using storyboards.)
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
tation?)
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
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-
Jun 2, 2016, at 12:26 , Daryle Walker <dary...@mac.com> wrote:
>>
>> The NSDocument file handler methods are passed a UTI string of the file's
>> (supposed) type. What error are you supposed to throw when you get an
>> unrecognized UTI? Or can you punt up to super
But with your way, the method can't be reasonably unit-tested since a NIL may
come up randomly. That seems pointless since you can synthesize the string from
the other parameters anyway.
Sent from my iPhone
> On May 30, 2016, at 5:42 AM, Quincey Morris
>
I worked around this by making the encodings list a method argument, defaulted
to the values mentioned. Then I could test by running the method with an
encoding that I know will fail.
Sent from my iPhone
> On May 29, 2016, at 3:23 AM, Daryle Walker <dary...@mac.com> wrote:
>
The NSDocument file handler methods are passed a UTI string of the file's
(supposed) type. What error are you supposed to throw when you get an
unrecognized UTI? Or can you punt up to super for that default handling?
Sent from my iPhone
___
a
NSDocument subclass). But a reference type, even a non-NSObject one, still
seems easier. And I may want to use KVO or Core Data, which require NSObject
subclasses.
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa
Since I am using the substring and not including “.SubstringNotRequired”, I can
just remove the “guard” block, tack on a “!” to substring’s identifier, and be
done with it, right?
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
> On May 29, 2016, at 12:08 AM,
I'm about to test code that uses this method. My encodings are: ASCII, UTF-8,
ISO Latin-1, then MacRoman. I think this covers all potential octet values. My
"guard" blocks (I'm using Swift.) are for a 0 return and if the optional
returned NSString can't be converted to a String.
Can I cause
The last argument to the method is a closure with four parameters. The first
argument is an optional String. I can't think of a circumstance where it'll be
NIL. (I need to know for testing.) Especially since it can be recreated in
terms of the callback's second argument, which isn't optional.
I'm planning a messaging app. I have in mind a message model class. In Phase 2
I plan to be able to send messages. (Phase 1 is just loading and saving from/to
disk.) I plan on using Core Data to handle the combo draft folder / outbox /
sent folder, with a CD Managed object class for the
If the given method is used to read in a pure ASCII file, will the encoding be
set to ASCII? Or could the method return a superset encoding (like Latin-1,
MacRoman, or UTF-8)?
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
yet?
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
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
to having a
“+” button lying around somewhere in the window. But would implementing it
require too many heroic measures over using a button?
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev mailing list (Cocoa-dev
I found out that SASL, through the CMU Cyrus library, is on OS X. Is there a
high-level API, like the Keychain, that wraps it? Or do I have to use the
UNIX-level functions to use SASL in my Cocoa apps?
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
Setting up the parse table for multiple search string
may take a lot of work, which is thrown away for single method calls, unless
NSData starts secretly cacheing search string sets and their parse tries.
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT m
I'm thinking of creating a Document-based app for my pet project. And I'm
thinking about how to read the data in. I could load all the data, change it to
a string, then process it; but I want to process the data in layers and do some
work before string conversion. Specifically, I want to
On Mar 7, 2016, at 3:40 PM, Quincey Morris
<quinceymor...@rivergatesoftware.com> wrote:
>
> On Mar 5, 2016, at 01:36 , Daryle Walker <dary...@mac.com
> <mailto:dary...@mac.com>> wrote:
>>
>> The “applicationOpenUntitledFile:” and “newDocument:” methods ca
On Mar 3, 2016, at 10:56 PM, Seth Willits <sli...@araelium.com> wrote:
>
>> On Mar 3, 2016, at 2:46 PM, Daryle Walker <dary...@mac.com> wrote:
>>
>> This new Xcode project (with storyboards) makes new windows at the same
>> coordinates, on top of each
On Mar 5, 2016, at 12:11 PM, Quincey Morris
<quinceymor...@rivergatesoftware.com> wrote:
>
> On Mar 5, 2016, at 01:36 , Daryle Walker <dary...@mac.com
> <mailto:dary...@mac.com>> wrote:
>>
>> Default project Xcode 7 with OS X Cocoa app, with Storyboards
t I don’t see where anything could have gone wrong there.
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the l
factoring into smaller classes with
> heavy use of NSViewController, container views and other new stuff.
>
> Broadening my horizons is *always* one of my purposes.
What sites did you find via web-search? The ones I found weren’t that great.
—
Daryle Walker
Ma
> On Mar 2, 2016, at 1:25 PM, Quincey Morris
> <quinceymor...@rivergatesoftware.com> wrote:
>
> On Mar 2, 2016, at 10:00 , Daryle Walker <dary...@mac.com
> <mailto:dary...@mac.com>> wrote:
>>
>> If this is a policy change …
>
> Yes and n
This new Xcode project (with storyboards) makes new windows at the same
coordinates, on top of each other. Just the ever increasing shadow gives that
behavior away. Is there a way to (automatically) get that old Mac behavior of
staggered windows? I think it was 20 pixels down and right.
Sent
.
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
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
n delegate? Does this mean I now don’t have to
keep references for windows either?
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or
the “use NSIncrementalStore for Internet-based stores” claims
too. The main database’s URL serves as the store’s ID, and the inner objects
and attributes can be represented by sub-URLs and/or index paths.)
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
On Apr 13, 2015, at 12:33 PM, Jens Alfke j...@mooseyard.com wrote:
On Apr 11, 2015, at 12:49 PM, Daryle Walker dary...@mac.com
mailto:dary...@mac.com wrote:
We have to make sure that the automatic parent/nesting aspect doesn’t make
sibling cousin progress objects, whose actions
will be interlaced,
interfere with each other.
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
is read-only. So
how are we supposed to un-pause?
I’m not talking about the developer’s own action code, but how to tweak the
NSProgress object to let it know the action is back on.
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
On Apr 6, 2015, at 10:18 PM, Graham Cox graham@bigpond.com wrote:
On 7 Apr 2015, at 12:01 pm, Daryle Walker dary...@mac.com wrote:
I have an object like:
@interface MyClass : NSObject
@property (readonly) NSArray * myDatumList;
@property NSArray * myDataList;
@end
the array accessor methods). Is that accurate?
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
On Mar 30, 2015, at 8:37 PM, Kevin Perry kpe...@apple.com wrote:
On Mar 30, 2015, at 5:17 PM, Daryle Walker dary...@mac.com wrote:
On Mar 30, 2015, at 7:59 PM, Kevin Perry kpe...@apple.com wrote:
-replaceItemAtURL:… relies on the atomicity of the POSIX rename() function
in order
On Mar 24, 2015, at 8:44 PM, Daryle Walker dary...@mac.com wrote:
A segment from my command-line tool:
NSURL * const finalLocation = [NSURL
fileURLWithPath:response.suggestedFilename isDirectory:NO];
[[NSFileManager defaultManager] moveItemAtURL:location
On Mar 30, 2015, at 3:00 AM, dangerwillrobinsondan...@gmail.com wrote:
On 2015/03/25, at 9:44, Daryle Walker dary...@mac.com wrote:
A segment from my command-line tool:
NSURL * const finalLocation = [NSURL
fileURLWithPath:response.suggestedFilename isDirectory:NO
since
those docs do mention temporary directories, that we have to do
different-volume detection (possibly harder than in the pre-X days) and copying
manually. I don’t want to do that, since Apple already includes that logic in
the former method.
—
Daryle Walker
Mac, Internet, and Video Game
to
ensure -replaceItemAtURL:… won’t fail due to rename's EXDEV.
On Mar 30, 2015, at 4:44 PM, Daryle Walker dary...@mac.com
mailto:dary...@mac.com wrote:
NSFileManager’s “- moveItemAtURL: toURL: error:” method does a copy if the
source and destination file-URLs are on different volumes
On Mar 24, 2015, at 8:56 PM, Quincey Morris
quinceymor...@rivergatesoftware.com wrote:
On Mar 24, 2015, at 17:44 , Daryle Walker dary...@mac.com
mailto:dary...@mac.com wrote:
[[NSFileManager defaultManager] moveItemAtURL:location
toURL:finalLocation error:error
someday).
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
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
current Trash items are emptied)?
If renaming is the answer, is there any sample code to do this safely, taking
care of all cases? (For example, replacement name already taken, or adding an
extension if the file doesn’t start with one, etc.)
—
Daryle Walker
Mac, Internet, and Video Game Junkie
something here, or should I try to figure out how to send
in bug reports to Apple?
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
** parameter to give the developer the
file’s actual final location.) Moving files to the Trash is an example of
Apple’s code renaming when needed during a move.
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev
just fire and
forget.
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
On Mar 13, 2015, at 9:16 PM, Ken Thomases k...@codeweavers.com wrote:
On Mar 13, 2015, at 4:29 PM, Daryle Walker dary...@mac.com wrote:
My main browser window supports full-screen and optimized zoom. In Yosemite,
those two functions share the green titlebar button. When I activate
full
(newFrame)) {
frame = NSOffsetRect(frame, 0.0, NSMinY(newFrame) - NSMinY(frame));
}
return frame;
}
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev mailing list (Cocoa-dev
the encoding
string would make a difference. It didn’t.
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
. Looking at the WebKit APIs, there seem to be ways
to specify web-scripting objects directly; would that be a better choice?
And, how would I do this, both in the Objective-C and HTML code?
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
or not).
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
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
On Oct 10, 2014, at 1:58 AM, Ken Thomases k...@codeweavers.com wrote:
On Oct 10, 2014, at 12:02 AM, Daryle Walker dary...@mac.com wrote:
On Oct 7, 2014, at 8:03 PM, Ken Thomases k...@codeweavers.com wrote:
On Oct 7, 2014, at 5:29 PM, Daryle Walker dary...@mac.com wrote:
1. Although
On Oct 11, 2014, at 10:23 AM, Keary Suska cocoa-...@esoteritech.com wrote:
On Oct 11, 2014, at 3:53 AM, Daryle Walker dary...@mac.com wrote:
On Oct 10, 2014, at 1:58 AM, Ken Thomases k...@codeweavers.com wrote:
On Oct 10, 2014, at 12:02 AM, Daryle Walker dary...@mac.com wrote:
On Oct 7
On Oct 7, 2014, at 8:03 PM, Ken Thomases k...@codeweavers.com wrote:
On Oct 7, 2014, at 5:29 PM, Daryle Walker dary...@mac.com wrote:
1. Although the text in the window expands vertically as needed, it never
does horizontally. Wrapping always happens when lines are too long
wrapping.
2. I wonder if I should scrap this way of viewing source and use an attached
sheet. This obviously gives up source-viewing as independent. I also have to
add a property to the web-browser window to indicate if source-viewing is
active (so I can Restore that).
—
Daryle Walker
Mac
On Oct 7, 2014, at 6:29 PM, Daryle Walker dary...@mac.com wrote:
I implemented a new window XIB and controller class for my web-browsing
project. It’s for “View Source.” It’s active if the current page’s
WebDataSource object indicates it supports a text representation. The window
just
.) This would also need the WebView
to always generate a scroll-view, even when the main content completely fits in
the window.
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev mailing list (Cocoa-dev
On Sep 21, 2014, at 7:48 PM, Daryle Walker dary...@mac.com wrote:
Do WebView instances participate in the Resume feature (with
+restoreWindowWithIdentifier: state: completionHandler:, etc.), or do I have
to manually handle their state (the web-view’s back-forward list and which
item
explicitly
calling -invalidateRestorableState also be unnecessary (assuming full
coverage)? Can anyone confirm?
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
Do WebView instances participate in the Resume feature (with
+restoreWindowWithIdentifier: state: completionHandler:, etc.), or do I have to
manually handle their state (the web-view’s back-forward list and which item is
current) myself?
—
Daryle Walker
Mac, Internet, and Video Game Junkie
On Sep 18, 2014, at 7:13 PM, Keary Suska cocoa-...@esoteritech.com wrote:
On Sep 18, 2014, at 3:22 PM, Daryle Walker dary...@mac.com wrote:
I removed the old style type (“NSStringPboardType”) and it still worked.
When I changed the “public.plain-text” to “public.url” and tested
On Sep 19, 2014, at 3:49 AM, Daryle Walker dary...@mac.com wrote:
On Sep 18, 2014, at 7:13 PM, Keary Suska cocoa-...@esoteritech.com wrote:
On Sep 18, 2014, at 3:22 PM, Daryle Walker dary...@mac.com wrote:
I removed the old style type (“NSStringPboardType”) and it still worked.
When I
is ignored nowadays, can I put a vanity value
there, or do I have to keep it “”? I noticed (due to work in another
thread) that Safari has a creator code (“sfri”), and I think TextEdit reuses
TeachText/SimpleText’s creator code (“ttxt”).
—
Daryle Walker
Mac, Internet, and Video Game Junkie
On Sep 16, 2014, at 10:17 AM, Keary Suska cocoa-...@esoteritech.com wrote:
On Sep 16, 2014, at 6:22 AM, Daryle Walker dary...@mac.com wrote:
Still can’t get my Service to trigger.
daryle$ /Applications/TextEdit.app/Contents/MacOS/TextEdit -NSDebugServices
io.github.me.MyApp
2014-09-16
and the
referenced post was
http://lists.apple.com/archives/Cocoa-dev/2009/Sep/msg00201.html.
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
keyNSSendFileTypes/key
array
stringpublic.url/string
/array
/dict
/array
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev
of loading a web page did print the log. But waiting after a minute
(with another log message) still had the log for a normal quit. I think that
although my code resumed Sudden Termination, NSUserDefaults probably didn’t due
to caching.
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew
, ^{
sharedInstance = [[SomeSingleton alloc] init];
});
return sharedInstance;
}
What happens if that initialization fails? Shouldn’t there be a test for NIL
and a reset of the “onceToken” somewhere?… (Or is the chance of failure too
unlikely?)
—
Daryle Walker
Mac, Internet, and Video Game
suspensions too?
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
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
override for the open-contents event? (And Apple’s writers
need to add that case.)
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
On Sep 13, 2014, at 12:09 AM, Ken Thomases k...@codeweavers.com wrote:
On Sep 12, 2014, at 12:37 PM, Daryle Walker dary...@mac.com wrote:
I’m looking at
https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ScriptableCocoaApplications/SApps_handle_AEs/SAppsHandleAEs.html
On Sep 8, 2014, at 1:12 AM, Daryle Walker dary...@mac.com wrote:
Yesterday, I had a thread (b6bbfa38-4761-4d25-bdfa-d6e5d71c1...@mac.com
“Bindings to enable a menu item based on an array's element count”) on this
list on how to add a Binding to a menu item’s Hidden flag based on the length
On Sep 8, 2014, at 3:10 AM, Daryle Walker dary...@mac.com wrote:
On Sep 8, 2014, at 1:12 AM, Daryle Walker dary...@mac.com wrote:
[SNIP]
@interface MyOverflowMenuController : NSObject
//! Starts as nil; when set, this instance stores copies of the menu’s
//! items and tracks the menu
On Sep 8, 2014, at 4:21 AM, Daryle Walker dary...@mac.com wrote:
The test value and the target menu were always the same. Four runs of double
NULL then four more with Today’s sub-menu (Sep. 8). So the transformer always
returns YES and every per-day history menu item (and sub-menu) is hidden
the applicable items are already in place, reactively done when the WebHistory
store changed.
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
then, I still need to stick in the “ 0” part
somewhere (unless Bindings does the zero vs. non-zero to Boolean conversion C
does). What about that? Or do I have to go indirect and use something like an
NSArrayController?
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT
On Sep 7, 2014, at 7:02 AM, Ken Thomases k...@codeweavers.com wrote:
On Sep 7, 2014, at 5:15 AM, Daryle Walker dary...@mac.com wrote:
Right now, the menu item that holds the submenu where the overflow menu
items go is always visible. I was thinking of controlling its visibility
with Cocoa
On Sep 7, 2014, at 3:53 PM, Ken Thomases k...@codeweavers.com wrote:
On Sep 7, 2014, at 2:09 PM, Daryle Walker dary...@mac.com wrote:
Putting “my2ndCoordinator.overflowArray” gives me a red exclamation
stop-sign in the text field […]. Appending a “.@count” gives a grey
exclamation stop
arrays).
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
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
a substitute
notification.
Has someone filed this as a bug? (I’m too tired right now.)
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
, then rip
it out, the “Open Recent” menu stays, unchanging but functional. (I never tried
the “Clear Menu” option during that period.)
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev mailing list (Cocoa-dev
On Aug 27, 2014, at 6:36 AM, Manoah F. Adams mhfad...@federaladamsfamily.com
wrote:
On Aug 27, 2014, at 02:03:000, Daryle Walker wrote:
AFAIK, NSDocumentController has the only API for the “Open Recent” menu[1],
so I added it (back) to my project. I moved my app delegate’s actions
On Aug 27, 2014, at 5:03 AM, Daryle Walker dary...@mac.com wrote:
But I saw something weird one time running my app through the Xcode debugger
after a previous crash. I saw an NSLog message complaining about app restore
data. I think NSDocumentController does app-restore actions even without
On Aug 25, 2014, at 3:06 PM, Daryle Walker dary...@mac.com wrote:
When I print from the menu command, going through the action method, a text
document I have loaded in my WebView prints all its pages. When I did it
through the print-files Apple event, I only got 2 pages
point in
the process is dropping pages.)
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
. But I’m still wondering how to use the command line
“-NSPrint” option. Either it’s broken or (more likely) I was using it wrong.
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev mailing list (Cocoa-dev
On Aug 22, 2014, at 1:24 AM, Daryle Walker dary...@mac.com wrote:
I changed my app from implementing -application:openFile: to
-application:openFiles: in my application delegate. Then, I noticed that my
Open File menu command directly calls my window creation function, and I
decided
parameters?
(If some Apple expert says calling [NSApp replyToOpenOrPrint:X] arbitrarily is
OK, I still want to switch to Apple Events.)
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
___
Cocoa-dev mailing list (Cocoa-dev
101 - 200 of 227 matches
Mail list logo