ondsToSelector:` obviously doesn't cut it: it would return YES if this
class merely _inherits_ the ability to respond to this selector. How would you
find out the answer to the question, "does this UIViewController subclass
respond to this selector _differently_ from UIViewController?&
> superclass - i.e., it has overridden it
> }
>
Yes, I think that's about right. (It isn't the superclass; it looks right at
UIViewController, which must also implement the method somehow. But that's
minor.) Thanks! Tricky-wicky... m.
--
matt neuburg, phd = http:/
d.
But in Snow Leopard, it doesn't. Yet the documentation has not been changed;
indeed, there are no Snow Leopard release notes for Launch Services. So
what's going on exactly?
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an a
On Thu, 03 Sep 2009 18:57:07 -0400, Gregory Weston said:
>Matt Neuburg wrote:
>
>> I wonder whether someone (preferably from Apple) could provide
>> details on
>> how Snow Leopard has changed its algorithm for how a document is
>> bound to an
>> application,
On Fri, 4 Sep 2009 11:54:17 +0700, "Gerriet M. Denkmann"
said:
>I would like to modifiy apps (e.g.
>TextEdit) to put miniaturized windows NOT into the dock, but on the
>bottom of the screen (the way it was done in NeXTstep).
I would like you not to. m.
--
matt neuburg, phd
ut using the new .help style books? for the record my tag
is like this:
>
>
>the help displays fine it's just the icon. thanks for the help,
What if you change the URL to "../mypic.png"?
m.
PS This is really the wrong list for this stuff, you know.
--
matt neuburg, phd
this is probably such a common thing to want to do that someone
has already been down this road. Thx - m.
--
matt neuburg, phd = m...@tidbits.com, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
AppleS
On Mon, 14 Sep 2009 13:57:32 +1000, Graham Cox
said:
>
>On 14/09/2009, at 1:31 PM, Matt Neuburg wrote:
>
>> My question is simply this: what's the best strategy for
>> implementing this?
>> Unlike the Reducer tab view example, I don't have a view in advance
&g
;editor and that don't seem to be used in other applications'
>info.plist files. Am I missing something obvious?
This is almost always caused a failure to follow directions. You must do
everything *exactly* as described by the documentation. I've made a tutorial
screencast that emphasis
ame level:
>
>Presets
>
>This works in Safari but not through Help Viewer.
I'm surprised it *ever* works since that is not HTML. You need to say (notice the quotes). Always run your HTML thru a
validator and if at all feasible use XHTML because it is even stricter and
clearer
On Mon, 14 Sep 2009 09:32:11 -0700, Matt Neuburg said:
>For example, I can imagine something like this. Take a "screen shot" of the
>window. Cover the whole window with a secondary window. Behind the secondary
>window, move the primary window on to the next entity. Take a secon
say it was. But it does work. :) All my help books are XHTML. m.
--
matt neuburg, phd = m...@tidbits.com, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
AppleScript: the Definitive Guide, 2nd edition
http://www.tid
On or about 9/14/09 5:53 PM, thus spake "Graham Cox"
:
> I'm not sure your interface will really make much sense to an end-user
> (since it's uncommon and therefore unexpected behaviour)
Well, it wasn't uncommon back on System 6 and 7 using HyperCard. :
des. It's short and sweet and comes with example
source code which exemplifies exactly what you're describing. In fact, what
you're describing is just about all it does.
(And it's still working, unchanged, after all these years, even in Snow
Leopard...; the interface behavior has
On Mon, 14 Sep 2009 18:16:57 -0700, Kyle Sluder
said:
>On Sep 14, 2009, at 6:14 PM, Matt Neuburg wrote:
>
>> I didn't say it was. But it does work. :) All my help books are
>> XHTML. m.
>
>Well if you're going to write XHTML, that makes sense. But using an
>
ere a better approach? I guess I'm looking for a command
that means "wait for the event loop to come round again". m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Gu
ionCommit + 229
...
I'm wondering whether I need to throw some additional switch to make my app
call CoreAnimation differently here...? Thanks. m.
--
matt neuburg, phd = m...@tidbits.com, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25
on on 10.5, I'd like to know what your
settings are that make this possible. m.
On Wed, 16 Sep 2009 14:14:41 -0400, Ross Carter said:
>
>On Sep 16, 2009, at 1:03 PM, Matt Neuburg wrote:
>
>> What are the correct build settings to develop on 10.6 in such a way
>> that my
&g
On or about 9/17/09 9:55 AM, thus spake "David Duncan"
:
> On Sep 16, 2009, at 7:13 PM, Matt Neuburg wrote:
>
>> I guess I wasn't clear. Deployment target is 10.5. Base SDK is 10.5.
>> Runs
>> fine on 10.6 but crashes in Core Animation on 10.5. The questio
On Wed, 16 Sep 2009 19:50:39 -0500, Kevin Cathey said:
>For more, see previous posts on the mailing list.
Not so easy; searching Apple's archives doesn't retrieve anything after
2005, which sort of makes the search feature unusable. (And Cocoabuilder has
issues of its own.) m.
--
ion and turning *that* into a CGImage. So from that
point of view the problem is solved! But is there a better way? Is there
some simpler (or "correct") way to make my CGImage real - to say "Draw here,
draw now?" (I tried things like retaining or copying the CGImage and that
didn
On or about 9/20/09 1:16 PM, thus spake "Ken Ferry" :
> There was an ownership problem. The NSBitmapImageRep owned a raw buffer of
> data and the CGImage. The CGImage didn't retain the NSBitmapImageRep since
> that would cause a retain cycle.
So all I had to do was retain the NSBitmapImageRep
e you can create outlets and
actions, as it did in earlier versions; instead, you create outlets and
actions in Xcode (in your header, in code) and IB automatically sees them.
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease
he value path for the image view is bound to actionImagePath.
>
>What I cannot do is change the image. When I click on the second radio
>button, I use
>
>[actionImagePath setString:@"/Users/.../two.jpg"];
That change is happening "behind the back" of KVO (key-value
k the app's
behavior as needed.
Of course you *could* just say "This app is Snow Leopard / Intel / 64-bit
only," and save yourself a lot of work. :)
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = c
e in +initialize, as awakeFromNib is not early enough. And Apple's own
code examples advise and demonstrate this. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
comes the current frame, via the -[CALayer drawLayer:inContext:]
>delegate method. How do I do this? The delegate method seems to get
>called only once. Thanks!
You might find some architectural inspiration in Matt Gallagher's
"Asteroids" Core Animation example:
http://cocoa
e right of the left
>boarder and still have the nicely defined frame of the field in it's
>original place...
What I do is have the textfield replace its cell by a custom cell that
implements drawInteriorWithFrame, such as to inset its frame rect as it
calls super. m.
--
matt
, I think what I said before may
cover this sufficiently:
> On Sep 28, 2009, at 9:30 PM, Matt Neuburg wrote:
>> What I do is have the textfield replace its cell by a custom cell that
>> implements drawInteriorWithFrame, such as to inset its frame rect as it
>> calls super. m.
As
he user a choice of transitions, and one of them is a push transition.) I
discussed my thinking in an earlier thread here as I was developing the
animation.
At the time, Uli Kusterer suggested it might have been better to swap views
and animate *that*. And I might still rewrite it that way. m.
--
matt n
within IB, under
>> the Identity inspector. It might be helpful to switch to the
>> hierarchical view so you can get easy access to the text field's cell.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease p
t the docs:
http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/Object
iveC/Articles/ocProperties.html
Search on "copy". It's all about the setter, not the getter.
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + a
izing your local variables at the point of declaration.
And IIRC the Build and Analyze mechanism (clang?) will warn of this. Try it,
you'll like it! m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a to
alled, so I tend to suspect your
observation mechanism (Heisenberg uncertainty principle and all that...!) m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www
, not during heavily scripted use, etc).
>
>http://db.tidbits.com/article/10643
It isn't speculation. :)
If you think your app is hitting this bug, you don't need to *count* Apple
events; you need to know the return IDs of the Apple events that you are
sending. That's easy to fi
ion
*not* transient. In my Diary app, for example, the text that the user sees
and types in the NSTextView can have styles, but the text that the user
searches is a plain-text string. So when it's time to search, we don't need
to *create* the plain-text string - it's already there.
On or about 10/18/09 11:10 AM, thus spake "Rick Mann"
:
> I repeat. I'm not interested in any specific app. I'm just seeing my
> machine lock up periodically.
Then what's this doing on the Cocoa-Dev list? m.
--
matt neuburg, phd = m...@tidbits.com, http://www.tid
erfectly right out of the box. What was I so scared of? Apple
actually hands you all the code on a silver platter: you just copy it out of
the docs and into your code, tweak slightly, and presto, you are downloading
asynchronously. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbi
t what? Do I need to do some kind of tricky
conditional compilation and cast somehow? Do I need to tweak my build
settings? (I tried building 32-bit only but it made things worse.) Thx.
m.
--
matt neuburg, phd = m...@tidbits.com, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai
esn't work on Leopard, but I don't really care; I have
another way to get a reference to the NSMatrix, and that's all I need, so
now my code works fine on both Leopard and Snow Leopard.
Sorry for the misstatement of the problem. m.
On Fri, 30 Oct 2009 22:06:09 -0700, Matt Neubur
On Sat, October 31, 2009 12:49 pm, Jim Correia wrote:
> On Oct 31, 2009, at 2:34 PM, Matt Neuburg wrote:
>
>> Solved my own problem, which had nothng to do with what I thought it
>> had to
>> do with. The source of the difficulty is actually this: On Snow
>> Leopar
I'm really asking, not arguing; I don't know anything about GCD) is
this better than the traditional:
+ (Foo*) sharedFoo {
static Foo* sharedFoo = nil;
if (nil == sharedFoo) sharedFoo = [[Foo alloc] init];
return sharedFoo;
}
m.
--
matt neuburg, phd = m...@tidbits.com, <http
ycle quite easily, thanks to
the wonderful Instruments app. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#a
eport the
cells that are part of the actual matrix (i.e. rows * columns), not the
whole bag of extra cells that the matrix is keeping on hand just in case. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript:
, neither
the thing that was requested nor the beep).
Is there a way to "prime the pump" to eliminate this NSBeep() delay?
m.
--
matt neuburg, phd = m...@tidbits.com, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.
On Mon, 02 Nov 2009 19:28:28 -0800, Matt Neuburg said:
>If I say:
>
>[myMatrix renewRows:5 columns:5];
>
>and then later:
>
>[myMatrix renewRows:3 columns:3];
>int i = [[myMatrix cells] count]; // i is 25
>
>Is this a bug?
Well, I have submitted it as one to Apple.
eed it, users need it. The system must *know*
this, since it responds to the global hot keys; so why won't it reveal this
info? m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive
s strings (selector
names, key-value coding, etc.); there are so many places to go wrong, and
when you do, it can be hard to debug. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Defin
v];
}
Now use that NSMenu subclass where needed. The bound object uses
addItemWithTitle to construct the menu, so our overridden method will be
called and a separator item will appear wherever MYMENUSEPARATORSTRING
occurs as the title in the bound content. m.
--
matt neuburg, phd
crosoft Word document".
>
>How can I do that?
Aren't you just asking for its kMDItemKind? So presumably you could get that
with MDItemCopyAttribute (assuming I'm not misunderstanding the question).
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/&
s nicer). Second, I hadn't
>added the Carbon Framework. Now that I have done both, it works fine.
Although it might not do to get too confident, since in Snow Leopard there
is an acknowledged bug where use of AHGotoPage can cause Help Viewer to
crash. Apple recommends use of AHLookupAnchor a
;Altogether quite annoying.
>
>And this won't help fix the same problem with NSBeep.
Correct. I'm already doing various dances to try to "prime the pump" for my
own NSSounds, but I have not found a way to "prime the pump" for an ordinary
NSBeep. m.
--
matt ne
"before" and "after" appearance of the window - so now I've got two
images - and temporarily interpose a second window in which I perform the
push transition from one image to the other. You might have to resort to
something like that. m.
--
matt neuburg, phd = m...@tidbi
The next time the view is referred to, an
attempt will be made to load it again, but as you've discovered, we're now
pointing at garbage. Also, note that if you're loading your view from a nib
(via initWithNibName:), you're not supposed to override loadView at all. m.
--
mat
? It
really is not at all difficult. The text system will lay out text for you in
a container of a given size (if you don't want to use a view that already
does this for you). See "Text System Overview," "Text Layout Programming
Guide," etc.
m.
--
matt neuburg, phd = m...@
n if you're
not using garbage collection). Like chicken soup, it can't hurt; and
declared properties (with a "retain" policy) make it easy to do correctly.
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease poo
iven the following
string:
>
>
>"The topic of Jim's discussion was on the yeti crab"
But that isn't XML. Can you give an example using XML? That would make it
possible for others to reproduce and consider the actual problem. m.
--
matt neuburg, phd = m...@tidbits.com,
sting
examples - in other words, no coding at all. You have not said anything in
this thread about what your *actual* needs are (i.e. what you're trying to
print), but the text system already knows how to print lengthy styled text
without worrying about lines being "cut off" by the pa
From would raise a flag and
actionForLayer could check that flag (in addition to checking the key).
That's why I like this approach: it's so flexible. However, there are other
ways to do it.
By the way, there is an example almost *exactly* like this in the Actions
section of the Core Anim
y
Mgmt/Articles/mmAutoreleasePools.html
"If you write a loop that creates many temporary objects, you may create an
autorelease pool inside the loop to dispose of those objects before the next
iteration. This can help reduce the maximum memory footprint of the
application."
m.
--
matt neu
ion Programming Guide. The
animation is performed right now (and in the case of a BasicAnimation,
*what* it animates is a property, designated by its keypath). The "key" is
just an arbitrary name to help you refer to this animation later, if needed
(as in removeAnimation:forKey:).
m.
&
On Mon, 16 Nov 2009 10:25:07 -0800, Kyle Sluder
said:
>On Mon, Nov 16, 2009 at 9:23 AM, Matt Neuburg wrote:
>> On Sun, 15 Nov 2009 22:38:04 -0600, Gordon Apple said:
>>> What I don't understand, is that, according to the core animation guide,
>>>kCATransiti
appscript is far more savvy and flexible about how it
structures the Apple events that it translates your code into. Consult my
online appscript "book" for further discussion of the vagaries of the "make"
command, and how appscript deals with them (geared to
;s an
encapsulation of the drawing done for that view.
So if you want to cover a view with a *smaller* layer, it needs to be a
sublayer of the view's layer. (Or, it could be the layer of a smaller
subview of the view.)
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/ma
x27;s contentView). If you mean make the window
dance around the screen somehow, please don't. ) m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
htt
clearly called out by use of NSZombies? Use of the "look
around in your code" technique would then be unnecessary. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edit
the whole
> view?
drawRect hands you a parameter - the rect. So you write your code in such a
way that you only draw material that is within (or, usually easier, material
that intersects) that rect. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a too
ts way in that case. That info is kept in your user defaults so
you might be able to examine it. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Defini
g
before the exception is handled so you're seeing the sausage being made.
That's just a guess, but it explains why nothing gets logged - the exception
never trickles up to the top level, for logging, because it's handled
immediately after the point at which you are breaking.
m.
dle (in response to the user cancelling, for
example).
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescr
hat you did, because the template
looked like a simple solution, but then I realized I had merely bolluxed
myself and limited my options, so I scrapped that and started over.)
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease po
NSOperation should
invoke a -performSelectorInMainThread method, rather than access the UI
directly.
I'm just curious: Why is it better to have a fetching NSOperation and a
cleanup NSOperation dependent on it, rather than a single NSOperation that
fetches and then tells the main thread to show the image? m.
--
mat
d that a lot of
what it says transfers very easily to Objective-C and Photoshop. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://ww
r NSXMLNode.
(2) You might be failing to check the archives.
Doing either of these would have led you to the setName: method, which I
suspect is what you're after here.
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autore
ifferent class? Perhaps harmless,
but again, not worth the risk.
* Test rigorously. For example, in your previous note, you got the "right"
answer in NSLog but the "wrong" answer when outputting to a file. That might
mean something about what you did after the NSLog call - coul
>> [myFactTextString release];
And one other thought - you say you're gathering this data in a "secondary
thread", so be sure to jump out to the main thread before calling something
like insertRowsAtIndexPaths:withRowAnimation or reloadData. m.
--
matt neuburg, phd =
l thing is to make it a property using retain (and you
must then of course synthesize its accessors, and explicitly release it in
your dealloc). When the nib is loaded, the ivar will be set (because of the
outlet) using retain (because of the property). m.
--
matt neuburg, phd = m...@tidbits.com
the go-ahead before discussion
>of anything new is allowed on this list. This applies to desktop OS
>releases as well as iPhone OS releases.
Anyone can read the iPad docs at Apple's site, without logging in. This is
public information, so it's open to discussion anywhere.
(though it was
not always). What documentation would tell the user about this? Thx - m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/defau
On Apr 19, 2010, at 6:02 PM, Kyle Sluder wrote:
> On Mon, Apr 19, 2010 at 5:44 PM, Matt Neuburg wrote:
>> Supposing you were a complete C / Objective-C beginner. How would you find
>> out what escape sequences are permitted in an NSString literal (that is,
>> with @&qu
On Tue, 20 Apr 2010 15:45:13 -0400, John Engelhart
said:
>There are an awful lot of "Top 10" applications that use RegexKitLite
>that don't acknowledge their use
"An awful lot"? Ex hypothesi and by definition, there must be 10 such
applications or fewer...
)
I must be missing something unbelievably fundamental. What is it? Thx -
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Editio
On or about 4/26/10 1:22 PM, thus spake "Greg Parker" :
> On Apr 26, 2010, at 1:01 PM, Matt Neuburg wrote:
>> Here's my test:
>> MyClass:
>> - (void) tryme: (NSString*) s;
>> MyClass2:
>> - (void) tryme: (NSArray*) s;
>>MyClass* thing
e compiler is silent: it's because it weren't,
it would be too chatty. I turned on -Wselector and got 114 warnings... :)
m.
--
matt neuburg, phd = m...@tidbits.com, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyu
k, so one suggestion is likely to be Don't Do That. Also
the fact that you're getting the wrong help book (a frequent problem)
suggests you need to hide the earlier version from the Finder and do a flush
of the help caches. These are all common topics at apple-help-authoring...
m.
--
matt n
ct an object
that's a UIViewController (or a subclass thereof). But the UIViewController
class documentation never mentions this fact; and neither does the header,
if it comes to that. Doesn't this strike you as kind of odd? m.
--
matt neuburg, phd = m...@tidbits.com, http://www.tidbits.c
of
those, only view and searchDisplayController are outlets (in Interface
Builder). Nothing in the UIViewController class documentation distinguishes
these two; they are all just described as @property (not as @property
IBOutlet, the way you'd do it in code). That's my point. m.
--
mat
do GUI scripting, but
then it is not your app that is scriptable; it's System Events that is
scriptable, and the Accessibility API is being used to click your app's
buttons etc. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an
hink this is not so UI-friendly
What is not UI-friendly is your use of a modal window. Modal means the user
can work *only* in *this* window. If that isn't you want, don't use a modal
window. Or, when the user clicks the button, you should make the modal
window close.
m.
--
there seems to be no penalty: the nib
doesn't complain, and the app runs fine.
So... Are nibs just ignorant of protocols?
Thx - m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Gu
t array
controllers and bindings, setting the data for a table view feels a lot more
like it did with REALbasic. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
ht
dn't find
the correct info for how to make a Leopard-or-before Help book *anywhere* in
Apple's non-legacy docs. Things are better now, but they're still not great.
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorel
On or about 6/1/10 12:01 PM, thus spake "Kyle Sluder"
:
> On Tue, Jun 1, 2010 at 11:00 AM, Matt Neuburg wrote:
>> So... Are nibs just ignorant of protocols?
>
> I don't believe the nib loading machinery checks protocol conformance
> when it hooks up outlets.
;t bother adopting it
anywhere, but send messages defined in that protocol to an id.) My question
is, is this technique:
(a) pointless and lazy
(b) sneaky and clever
(c) just a mistake all round
(d) well known; you only just noticed this??
(e) all of the above
(f) none of the above
:) m.
--
m
On or about 6/2/10 11:11 AM, thus spake "Greg Parker" :
> On Jun 2, 2010, at 8:57 AM, Matt Neuburg wrote:
>> So this appears to be a technique for implementing a highly informal
>> protocol. (The technique is: define a protocol, don't bother adopting it
>> an
On or about 6/2/10 11:11 AM, thus spake "Greg Parker" :
> On Jun 2, 2010, at 8:57 AM, Matt Neuburg wrote:
>> So this appears to be a technique for implementing a highly informal
>> protocol. (The technique is: define a protocol, don't bother adopting it
>> an
NSNotification.) m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings
__
On Fri, 4 Jun 2010 21:16:50 -0500, Alejandro Marcos Arag?n
said:
>I've been trying to detect touch and hold vs touch on a subclass of UIButton.
I think you want to imitate Listing 3-3 of Event Handling in the iPhone
Application Programming Guide, handling the touches yourself. m.
o
start with two instances that can see each other and have one load nib 1 and
the other load nib 2. Another possible architecture is that nib 1 is loaded
and one of the resulting instances then loads and is owner for another nib -
so now that instance, which was instantiated by loading of nib 1,
On Sat, 05 Jun 2010 21:34:48 -0700, Matt Neuburg said:
>On Fri, 4 Jun 2010 21:16:50 -0500, Alejandro Marcos Arag?n
> said:
>>I've been trying to detect touch and hold vs touch on a subclass of UIButton.
>
>I think you want to imitate Listing 3-3 of Event Handling in
1 - 100 of 856 matches
Mail list logo