On Fri, 03 Sep 2010 08:44:05 -0700, Matt Neuburg said:
>On Tue,
Sorry about that. Every once in a while my email program sends out an
incomplete message like that, and I don't know why (or even whether the
problem is the email program or something further down the line, like the
server
e
animation is about to start.
* You can't specify a fixed number of repetitions. I have code that relies
on this feature (e.g. a view that shakes its head by vibrating back and
forth three times).
What are folks doing to compensate? Thx - m.
--
matt neuburg, phd = m...@tidbits.com, ht
OptionLayoutSubviews makes any difference.
If anyone has actual examples to show, I'd appreciate it. 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
App
d key."
(Gibberish, and even more so standing alone as a bulleted item in the middle
of the list.)
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.apeth
9 PM, Jon Buffington wrote:
>>
>>> Steven,
>>>
>>> Did you ever find a solution to the kCAOnOrderOut animation problem? I was
>>> frustrated by this problem in the past but gave up as the animation was
>>> optional.
--
matt neuburg, phd = m...@tidbits.
the time when the event occurred. mach_absolute_time(), or
CACurrentMediaTime(), is the time now.
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.apeth
grows down but the y-axis grows up.
As to interoperability of Mac code with iOS code, my experience is that
there isn't any (Mac has NSRect, iOS has CGRect, etc.) so the problem
doesn't arise - you're going to have two separate code bases in any case. m.
--
matt neuburg, phd =
lf purely to core
graphics. 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.tidbits.com/matt/default.html#appl
#x27;t have a Microsoft list.)
m.
PS My experience, for what it's worth, is that the solution to Word's
slowness during a script is to bring Word to the front and wave the mouse
around over the document window while the script runs. I am completely
serious about this; try it.
--
t;these pauses in many scripts
It sounds like you may have encountered the Snow Leopard Apple Event Bug:
http://db.tidbits.com/article/10643
If so, there are two workarounds: (1) Use appscript, which has a built-in
workaround, or (2) update to 10.6.3 or later. m.
--
matt neuburg,
s, so I know the
system is aware of them). What might the problem be? 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
AppleScript: the Definitive Guide, 2nd edition
On or about 9/19/10 3:26 PM, thus spake "Matt Neuburg" :
> I downloaded and built the DemoMonkey example and created a document...
>
> https://developer.apple.com/library/mac/#samplecode/DemoMonkey/Introduction/In
> tro.html
>
> ... but the application's
ntax
as the way to have an object do something.
No, I think that's bollocks. Dot syntax is *exactly* syntactic sugar for
calling the accessor, and using it correctly depends upon keeping that fact
firmly in mind. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/&g
And one can animate
aspects of layer drawing, so the answer would seem to be yes; for example,
if the mask were shaped like an ellipse, you could animate a change in the
size of the ellipse. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an auto
On Mon, 20 Sep 2010 06:38:32 +0200, " Jonathan Chac?n "
said:
>What can I manage the double tap gesture on a UIButton?
Make a view that *looks* like a button and use gesture recognizers. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a to
nse, and then when the second tap arrives, if it's within a
short time of the first tap, cancel the delayed performance and do the
double-tap response instead. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScri
by declaring them @dynamic) they
cannot be animated and you will see the symptoms you see. In your
-drawInContext: method you can then query the property to get the current value.
>> --
>> David Duncan
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com
fact, let alone one
having the same name. 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.apeth.net/matt/default.html#applescriptthings
the corresponding instance if it
exists - even though there is no ivar with that name.
If you don't believe me I'll send you a project that demonstrates.
Indeed, I remember when this was the *only* way to define an outlet name;
there was no such thing as the IBOutlet hint in
Is there a cool dynamic Cocoa way to call super with the same parameters
that came to me? I guess what I'm looking for is a pre-configured invocation
of the current command where I can just change the target to super. No big
deal, but I just wondered, since Cocoa is cool and dynamic. m.
--
o do this, and especially
to find your way back.
>Is
>it okay to use two UITableViews to pull off all the data digging here?
>(animate back and forth and reloading data for them)?
Why not? Table views have nothing to do with their data. They are view, not
model. m.
--
matt neuburg, phd =
nched / frontmost I use Carbon Events. As
you say, NSWorkspace may now supply this functionality, but it didn't at the
time. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Gu
have the button be there, and
just show or hide it when I provide the cell, according to some state
variable. Call reload data to ask Cocoa to ask you to provide cells again.
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool
r that only the visible cells (-visibleCells)
need animating. 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.
lem, but since you show no
code, one has to guess... 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.apeth.net/matt/default.html#applescr
On Sun, 26 Sep 2010 00:50:57 -0400, Andy Lee said:
><http://homepage.mac.com/aglee/downloads/appkido.html>
>
>This should fix the problems at least some folks have been having with the iOS
4.1 SDK.
Works for me! Thanks - m.
--
matt neuburg, phd = m...@tidbits.com, <http://ww
27;ve said before, I believe that neither
UIViewAnimationOptionAllowAnimatedContent nor
UIViewAnimationOptionLayoutSubviews has any effect. Again, I'd like to
report these as bugs (because they do not in fact do anything), but perhaps
someone has a counter-example.
--
matt neuburg, phd = m
On Sep 29, 2010, at 12:02 PM, cocoa-dev-requ...@lists.apple.com wrote:
> Message: 6
> Date: Wed, 29 Sep 2010 17:48:43 +0100
> From: Amy Heavey
> Subject: portable app
> To: cocoa-dev@lists.apple.com
> Message-ID:
> <5bd34c42-c5df-42a4-a054-9f6f9376d...@willowtreecrafts.co.uk>
> Content-Typ
ke it
might be more like what you're talking about, except that then you'd be
saying CGAffineTransform, not NSAffineTransform.
--
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
x27;s hitTest requires a point in *superlayer*
coordinates. So I'm wondering if you're getting that wrong (as people often
do, because it's so surprising), and maybe there's something about how
you're obtaining mouseloc (your original point) that masks the issue when
you
black rectangle with a slightly smaller green rectangle in
the lower left corner. Go Ye And Do Likewise.
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive
I have to wonder why you're going to all this trouble when
UIGraphicsBeginImageContext exists. What exactly are you planning on
doing, ultimately, with this context? And why do you need to clear the
entire thing after you've drawn into it? m.
On Mon, 4 Oct 2010 11:34:23 -0700, Rainer Standke said
y = y+100;
>}
>
>}
>
>NSBitmapImageRep *bmpImageRep = [[NSBitmapImageRep
>alloc]initWithData:
>[targetImage TIFFRepresentation]];
That's another memory leak.
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.ti
On 10/5/10 10:18 AM, thus spake "Amy Heavey" :
>I'm googling Fast Enumeration, but I'm compiling for 10.5,
>
>
Fast enumeration is present in 10.5. m.
--
matt neuburg, phd = m...@tidbits.com, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phus
On Wed, 6 Oct 2010 15:53:13 +0400, eveningnick eveningnick
said:
>Hello
>I have an application that transforms a very big file, and during that
>operation i want to give a chance to user to press Esc and cancel this
>transformation.
You're going to use a secondary thread and that's that. I would
d does not proceed to the next copy until the Finder has
finished with it; yet the interface is never frozen and the spinning
beachball never appears, because the AppleScript stuff is all happening in
the background. This is no different than what the O.P. is talking about.
NSOperation ma
form is now in fact:
- (id) init {
self = [super init];
if (self) {
// do other initialization
{
return self;
}
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Se
all synchronize; as long as your app exits in good order, your
defaults will be written to disk (and this is just as true in a
multi-tasking world). If you don't crash, you won't lose any data. If you
do crash, there's another problem and you should concentrate on fixing it.
m.
--
ma
iew and back in view again, it
>looks the right way. Can anyone tell me what I'm doing wrong?
The problem could be that the default UITableViewCell implementation of
setSelected:animated: messes with opacity. You might need to provide a
custom cell subclass, override setSelected:animated:,
+initialize.
>>NSString *key=[NSString stringWithFormat:@"%...@.%@",page,property];
>>NSLog(@"%@",key);
>>NSLog(@"%@",[[dict valueForKey:key] description]);
>>NSLog(@"%@",[[[dict valueForKey:page] valueForKey:property]
>>description
nitialize when you declare, because otherwise your value could
be nonsense and can't be logged. So, minimally, you'd say this:
NSString *theScannedString = nil;
Now you can log that value successfully, even if nothing gets written into
it. Then you can track down *why* nothing is getting writte
(or, as you say, an app deletion,
which can have the same effect). m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.apeth.net/matt/default.html#applescriptthing
) m.
>
>No initializing theScannedString doesn't excuse you from checking
>the return value of -scanCharactersFromSet:. See Bill's response.
Point taken! (And not the first time he's made this clear, either.) m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth
we do it in 10.6.
There is a very good discussion of issues that slow scrolling in the 2nd
WWDC Core Animation talk. Of course some solutions may be used there that
you can't use on 10.5, so it's not entirely germane, but the debugging
technique using Instruments may be helpful to you. m
u'll be stopped where it
happened and you'll be able to examine the call stack to *see* what's
causing the problem. If that doesn't work, add breakpoints of your own and
use stepping to figure out where the problem is. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.ap
ib.
Read up on view controllers in the docs, which are excellent on this point. You
may have to unwind the whole way your interface is constructed in order to do
this, so start with just the button and add stuff back after you get that
working. m.
--
matt neuburg, phd = m...@tidbits.com, <h
also override the inherited
designated initializer to call your new designated initializer. The docs are
also mind-numbingly tedious in their explanation of this point, which can cause
one to ignore it. Don't! Graham's experience shows why. m.
--
matt neuburg, phd = m...@tidbits.com
#x27;s layers. There is nothing you can do about this, and if you think you
can, what you're missing is a fundamental understanding of what a layer is. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: t
that info from the user defaults so this won't happen
again later as the app continues to run and the data gets reloaded again. t.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an au
that's when all the
pieces are in your hands. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://w
you
can put a navigation bar in an interface anywhere you want and use it however
you like. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Defi
n supply your
own animatable properties is one of the coolest and least known features of
layers. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
htt
til the CoreData back end has
finished loading up the data. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.apeth.net/matt/default.html#applescriptthings__
k property, so you *have* to use CATransaction to get one. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://w
iately when the CATransaction class method +commit+ is called,
without waiting for the redraw moment. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Gu
t think
there's any way to find that out because in a Cocoa app by the time your code
runs that's already happened.
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
examine for
MPMovieFinishReasonPlaybackError. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.apeth.net/matt/default.html#applescriptthings
ause this instance is
the app's delegate, so it receives applicationDidLaunch) to make the window
appear.
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edit
ist]), and then setting the
>> target/action of the barButtonItem itself to nil?
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Seco
u don't understand how to select the button itself using the design
window, then use List View in the nib's main document window and drill down
until you find it. m.
--
matt neuburg, phd = m...@tidbits.com, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Amo
On Nov 17, 2010, at 10:25 AM, Jonathon Kuo wrote:
> On Nov 17, 2010, at 8:47 AM, Matt Neuburg wrote:
>>
>> On Nov 16, 2010, at 9:26 AM, Jonathon Kuo wrote:
>>
>>> I agree: that's how I expected it to work, too, but that's not how it does
>>>
erform your experiments there, in a much
smaller, simpler environment. 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 ed
ant a border drawn around it? Then draw a border around
it. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.apeth.net/matt/default.html#applescriptthings___
that.. can somebody kindly point some way..
I have not tried this myself, but keeping in mind that views are not redrawn
until after your code finished running, I'd suggest trying delayed performance
to give the view a chance to empty itself before doing the load request. m.
--
matt neubur
> Date: Fri, 19 Nov 2010 11:58:35 -0800
> From: Laurent Daudelin
> Subject: NSNotificationCenter not always working?
>
> Is there a way to debug why the same "postNotificationName:object:userInfo:"
> would not work the second time it's called?
In a word - no. This is one of the worst aspects o
this is correct
> how can I make the event go to the UIView bellow the tap when there is/was a
> UIView on top of it.
I suggest you start by reading the docs. The rules for touch handling, and what
settings and tricks you can use to customize it, are pretty thoroughly
expla
he purpose of this method is to let you simulate touchability for a
sublayer. But, as I said before, you won't do this unless performance forces
you to do it; if you need all those pictures to be touchable, it's going to be
a lot easier if they are all views.
m.
--
matt neuburg, phd
r, try AppKiDo, which combines
a class browser and documentation display.
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.
l view's
idea of how zoomed the content is, so you have to give it new maximum-minimum
zoom values to compensate and track the "real" zoom value yourself. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = c
ot;in the middle";
also, observe that +repeatCount+ is a float (it does not have to indicate an
integral number of repetitions). m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript:
mationDidEnd: finished:). In this way I can
> fully control the fromValue and toValues of each loop of the
> animation.
It sounds as if looking at Apple's Metronome example at the start would have
helped you here. :) m.
--
matt neuburg, phd = m...@tidbits.com, http://www.tidbits.com/mat
troller that responds to rotation of the device as appropriate. That way,
the coordinate system of the whole interface rotates to compensate, and you get
your location in terms of that rotated coordinate system (or something further
down the hierarchy). This is true of *any* app. Always use a ro
a protocol is optional, then (1)
why should the compiler care whether we formally adopt the protocol or not, and
(2) what sort of "error checking" could the compiler do? In other words I'm
suggesting that there should be no warning unless the protocol has required
methods. m.
-
le:
(2) table view controller's initWithStyle:
(3) the style pop-up menu in the nib
??? m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.apeth.net/matt/
hat you're stumbling over your feet in part because you insist on
doing everything in nibs. In my view, nib instantiation and configuration of
view controllers just makes it harder to understand what's going on. m.
--
matt neuburg, phd = m...@tidbits.com, http://www.tidbits.com/matt/
p
to
>>> uncaught exception 'NSInvalidArgumentException', reason: '-[UIView
>>> setController:]: unrecognized selector sent to instance 0x9814950'
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorel
WDC videos we see CATiledLayer being drawn to via drawRect:
with UIKit.
So what's true? And how can I find out precisely what is and isn't thread-safe?
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScri
pied by a table (as in my TidBITS News app, where there's a UILabel and a
table), you *can't* use UITableViewController. 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://tin
from
splitViewController:willShowViewController:invalidatingBarButtonItem:):
[((UINavigationController*)aViewController).navigationBar
performSelector:@selector(setTintColor:)
withObject:[UIColor greenColor] afterDelay:0.1];
And so on. But please, pick a nicer color. :) m.
--
matt neuburg,
t figured
out exactly how it's done; I find I can customize the look of the nav bar when
the view is in the split view or when the view is in the popover but not both,
and I don't know why. But obviously this is something the framework would
rather you didn't do. :) m.
--
matt ne
On Fri, 3 Dec 2010 15:16:58 -0500, Phillip Mills said:
>On 2010-12-03, at 3:10 PM, Matt Neuburg wrote:
>
>> But obviously this is something the framework would rather you didn't do. :)
>
>...and if the framework and IB had agreed that it was a bad idea, I probably
>wou
v. So I just wonder if I should
>leave it alone or I should import those
>files into the project?
>Thanks
I would delete them, since they are just confusing you. They are not in the
project, so they are just files lying around in the folder and serve no purpose
on earth (except perhaps t
ew
and nothing else, that's what you'll see when it's pushed onto the stack. If
you want it to have a search bar, give it a search bar. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
hen by
default creates its own table view. So the table view you end up seeing is not
the table view in the nib. This has fooled many people (including me).
m.
--
matt neuburg, phd = m...@tidbits.com, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 Ma
ass? It's up to you to tell it where its nib is.
UITableViewController does *not* inherit the automagic ability of a
UIViewController to find its nib without being told its name. (To be sure, I
regard this as a bug in the framework, but that's a different story.) m.
--
matt neuburg
rom a
navigation controller. If so, then why not have a navigation controller? The
navigation bar doesn't have to show, so no one will ever know. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Defin
n attributed string is one
line of code!
However, that doesn't solve your problem. The solution is probably to assign
yourself a different problem; there's no styled editable text on iOS and that's
that. It doesn't pay to fight against the framework. m.
--
matt neuburg, phd = m.
On Sun, 12 Dec 2010 14:05:38 +1100, BareFeetWare
said:
>1. Apple Mail. If you reply to a messages containing multi-colored text, you
>can edit that text.
>
>So my question is, how do they do it?
Perhaps they have access to API that we don't... m.
--
matt neuburg, phd = m...@t
I feel like I'm missing something. I can't seem to typecast as CFRange to an
NSRange. I know I can pull a CFRange apart and reassemble it as an NSRange, but
shouldn't there be a simpler way? m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
the
problem. So it appears that the problem is that I'm synthesizing accessors for
the *name* "firstResponder". It is as if this name was being used under the
hood in some way I'm unaware of, and synthesizing an accessor breaks its use.
But how can *that* be?
--
matt neuburg
On Sun, 12 Dec 2010 08:04:55 -0800, "John C. Randolph" said:
>
>On Dec 12, 2010, at 7:34 AM, Matt Neuburg wrote:
>
>> I feel like I'm missing something. I can't seem to typecast as
>> CFRange to an NSRange. I know I can pull a CFRange apart and
>
On Mon, 13 Dec 2010 11:31:38 -0800, Wim Lewis said:
>
>On 13 Dec 2010, at 11:01 AM, Matt Neuburg wrote:
>> How can this seemingly minor change make such a big difference? I'm not even
>> *using* the synthesized accessor! Yet its mere presence breaks the project.
>>
On Dec 14, 2010, at 10:01 AM, Keary Suska wrote:
> On Dec 13, 2010, at 12:01 PM, Matt Neuburg wrote:
>
>> self->firstResponder = tf;
>
> Well, the proper syntax is self.firstResponder . Using the deference is
> probably a back-door way to access the class struct
akes me wonder whether the protocol is somehow insufficient
to work as advertised. Otherwise, why would Apple withdraw the only example
illustrating it? And why wouldn't they talk about it at WWDC? Still, this is
clearly the direction to go. m.
--
matt neuburg, phd = m...@tidbits.com, <
On Tue, 14 Dec 2010 19:42:32 -0800, Jonathon Kuo
said:
>Thanks, Dave! That works, though I don't understand why...
We've been down this road.
<http://www.cocoabuilder.com/archive/cocoa/289708-arrays-as-block-variables.html>
m.
--
matt neuburg, phd = m...@tidbits.com, &l
sibling views are not permitted to overlap (the only
way to show one view "in front" of another is to make it a subview of that
view). Everything that an NSView does is based on those assumptions. As Kyle
said, the problem is the integration of Core Animation into that worl
ze to allow for its
own nav bar, and passes this on up to the popover controller, which sizes the
popover correctly. (If you're not seeing that, it may be because you're testing
under 3.2; I have no idea.) m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/&g
ss-platform code compatibility (Mac OS X <-> iOS) is pretty well forlorn,
and I'd recommend just using higher-level mechanisms on both and dealing with
the doubled code base. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease
oatValue];
>
>CGRect drawingRect = CGContextConvertRectToUserSpace(gcontext, deviceRect);
>
>CGContextSetRGBStrokeColor(gcontext, 0.0f, 0.0f, 0.0f, 1.0f);
>CGContextSetRGBFillColor(gcontext, 1.0f, 1.0f, 1.0f, 1.0f);
>
>CGContextAddRect(gcontext, drawingRect);
>CGContextDrawPath(gcontex
enough to constitute instructions so that someone else can perform
the same experiment. Otherwise no one even knows that the problem really is.
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = coo
501 - 600 of 856 matches
Mail list logo