ws, or something
> more complex.
Examples of Cocoa/Mac classes that are views in the MVC sense, but not in the
NSView/UIView sense:
NSWindow
NSMenu
NSMenuItem
NSCell
Pretty much any NSResponder, though Smalltalk purists might disagree.
Cheers,
-- Uli Kus
On Jul 3, 2013, at 19:23, Chris Paveglio wrote:
> I've got a project that I am working with, that I did not create. I am trying
> to understand it and I would like to remove the Carbon framework dependencies
> in it. I don't know anything about Carbon. Is there a good resource to read
> up on
On Jul 3, 2013, at 21:40, Jerry Krinock wrote:
> To answer your question, I think the procedure is…
>
> * In your main target and its target dependencies,
> * Set the SDK to "Latest Mac OS X".
> * Set the architecture to x86_64.
> * Clean your project, so that everything will be recompiled.
> *
On Jul 8, 2013, at 20:28, Andreas Mayer wrote:
> It seems like when I call -setNeedsDisplay:YES the system is spawning a timer
> to do something later on and when those calls come in too fast, that timer is
> leaked.
>
> Any idea what I could do about that?
> (I tried calling -setNeedsDisplay:Y
race in Xcode's debugger, or in a log file? If the former, have
you tried moving the slider at the bottom of the window? It sometimes gets
changed accidentally and then tries to be smart and remove irrelevant symbols
(which might just be relevant in your case).
Cheers,
-- Uli Kusterer
&q
here's textual, regex, symbol
definitions and symbol references that you can search for (you see the options
in the little magnifying glass menu under "Show Find Options"). If you pick
e.g. Symbol Definitions and type in remove, you probably get one function
somewhere instead of remove
in it, so it redeclares it from readonly to
readwrite in a class continuation. This is pretty much the only valid way to
declare the same property twice, changing anything else on the property will
give an error message, but readonly -> readwrite is OK.
Cheers,
-- Uli Kusterer
"Th
On Jul 15, 2013, at 8:42 PM, Alex Zavatone wrote:
>
> On Jul 15, 2013, at 2:38 PM, Uli Kusterer wrote:
>
>> On Jul 15, 2013, at 8:31 PM, Alex Zavatone wrote:
>>> DownloadOperation.h
>>> @interface DownloadOperation : NSOperation
>>> - (id)initWit
On Jul 17, 2013, at 23:26, koko wrote:
> NSString *filepath = [savePanel filename];
> const char * cFilePath = [[NSFileManager defaultManager]
> fileSystemRepresentationWithPath:filepath];
>
> Then in my low level I/O:
>
> FILE* f = NULL;
> f = fopen(path, mode);
>
> f is NULL i.e. path (the c
ries and the NSArray object itself and your
application’s code and ...
This way, NSNotFound works both for NSInteger and NSUInteger and is the same
value, and you don’t need an additional NSUNotFound.
Cheers,
-- Uli Kusterer
“The Witnesses of TeachText ar
type Option-`, I get the tick mark with a yellow background,
indicating I can now type an 'a' for instance to get 'à' ? Is that a good
example, or is that different again? (Just hoping I can provide an example for
US and other people and learn something on the way)
Cheers,
ALayer, which uses (something like a) display
link internally. You just call setNeedsDisplay: whenever you want a redraw and
it calls drawRect: whenever it's time to draw and the layer needs display.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
On Jul 25, 2013, at 20:26, Andreas Mayer wrote:
> Am 25.07.2013 um 19:36 schrieb Uli Kusterer :
>
>> Have you considered using a display link callback instead of a timer?
>
> Yes. Moving to the display link callback was when I noticed the issue in the
> first place.
approach, but certainly easier than understanding
> mach_time :D
> I'm using Core Animation for most of the UI changes, so the main thread won't
> be super busy.
>
> I may not even need the 1 second as the seconds won't add a whole lot of info
> when looking at tim
On Jul 26, 2013, at 5:11 PM, Kyle Sluder wrote:
> On Fri, Jul 26, 2013, at 03:41 AM, Uli Kusterer wrote:
>> On Jul 25, 2013, at 20:26, Andreas Mayer wrote:
>>> Am 25.07.2013 um 19:36 schrieb Uli Kusterer :
>>>
>>>> Have you considered using a d
temCell had been deprecated ages ago, but looking at the
headers I only see NSMenuView being removed for 64 bit. It *does* have the
note: "Note: NSMenuItemCell is no longer used to draw menus. Using it will not
affect the appearance of your menus." in Apple's docs.
Cheers,
-- Uli
to set the whole menu, and setSelectedItem: to select that particular
item.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not p
file?
I think that's essentially what -TIFFRepresentation maps to. An empty
dictionary. Should be fine, unless the docs disagree. But this is from memory,
someone else here might know better.
Cheers,
-- Uli Kusterer
"The Witnesses of
On Aug 2, 2013, at 21:44, Gordon Apple wrote:
> Next question. Does anyone know how to get a PieceInfo Dictionary (if it
> exists) out of a PDFDocument or PDFPage? Do I have to go outside of Cocoa
> to get this?
Not sure what a PieceInfo is, but have you looked at PDFKit?
Cheer
to muck with child windows fighting sheets, etc.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderat
de might not
even be able to check whether a URL exists, but only if there is a server at
that URL. For most uses that isn't a problem, but for some it is. The web is a
crazy place.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
Calendar and NSDateFormatter objects is to keep them in
static variables. That way you pay the overhead once, per function/module and
then it gets re-used.
Cheers,
-- Uli Kusterer
“The Witnesses of TeachText are everywhere...”
http://stacksmith.org
__
messages to
PowerBox to manipulate the actual window there, or to manage the little
transparent, borderless window that holds your accessory view. orderOut: may be
one of those.
Cheers,
-- Uli Kusterer
“The Witnesses of TeachText are everywhere..."
*) Strictly speaking, in Classic there
oa-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(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/
for bitmap images, NSImage these
days uses a CGImageRef under the hood. Also, CGImageRefs try to be smart about
keeping image data on the GPU if they can (so conceptually "use CIImage", if
not actually).
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http:
ar
about that in your phrasing above): CGImage and NSImage are not toll-free
bridged. CGImageRef is more of an equivalent to NSBitmapImageRep than NSImage.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_
so it enforces that. E.g. by writing a lazy-loading getter for whatever data
you currently load in applicationDidFinishLaunching:, and calling it in your
GURL Apple Event. That decouples it from the (completely unrelated)
notification.
Cheers,
-- Uli Kusterer
“The Witnesses of TeachText ar
On Aug 22, 2013, at 10:34 AM, Uli Kusterer wrote:
> The notion of one of these being ‘more correct’ than the other is ridiculous.
Maybe ridiculous is a bit too harsh a choice of word, sorry. Let's say I think
that one of them being 'more correct' makes no difference in pra
On Aug 22, 2013, at 18:29, Bradley O'Hearne wrote:
> On Aug 22, 2013, at 9:00 AM, Kyle Sluder wrote:
>> On Aug 22, 2013, at 8:00 AM, Jens Alfke wrote:
>>> On Aug 22, 2013, at 1:34 AM, Uli Kusterer
>>> wrote:
>>>
>>>> The notion o
Dang, now my mind switched back into Classic mode and I used kAEOpenApplication
instead of calling it ‘oapp’ as Jens called it. Sorry for the confusion, the
two things are equivalent. Mine’s the constant, Jens’ is the value. Carry on.
On Aug 23, 2013, at 7:35, Uli Kusterer wrote:
> On Aug
you want people to trust the quality of your code.
That said, it's good to see more people contributing to an ecosystem of
reusable components. Can you do me a favor and @-message @cocoaobjects on
Twitter so I can link to these components at http://cocoaobjects.com ?
Cheers,
-- Uli
m/Home/IOSRadioButtonCheckBox
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the l
or a compatible/incompatible version number scheme like above, maybe
again per object. Also, if you add a new class, the old application won't be
able to de-serialize it from a keyed archiver. However, keyed archivers work if
you only need to be able to open files created
Xcode didn't support the Unicode escape sequence as far as I remember.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
age into the handler block for the
request.
4) Change the method to -(void)userImage:(NSString*)name
withAccount:(id)account completionHandler: (void (^)(UIImage*
maskedImage))doneHandler and give it a block (remember, your code has to copy
the block so it's still there when the request
ular need, like sqlite), or you use keyed
archiving. It’s convenient, already debugged, and flexible.
Premature optimization is the root of all evil.
Cheers,
-- Uli Kusterer
“The Witnesses of TeachText are everywhere...”
http://zathras.de
___
Co
it that way already.
So, you see, they're not mutually exclusive. You can even load several
NIBs and assemble them at runtime (that's what System Preferences
does, for example).
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
__
they're more
into doing classes than one-on-one tutoring, though they obviously do
the one-on-one stuff as part of their classes).
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
ication object in your application, so that's the File's Owner
in that case. In other NIBs, the File's owner is generally the
NSWindowController or NSViewController or NSDocument that loaded the
corresponding NIB, or if you're using NSNibLoading directly, it's
wha
Am 15.05.2008 um 15:36 schrieb Torsten Curdt:
On May 15, 2008, at 07:55, Uli Kusterer wrote:
Am 15.05.2008 um 00:53 schrieb colo:
Well. Huh. After reading all of that. I wish there was sorta mentor
program. Ah but where would be the fun in that. Any way thats off
topic.
There is a
Objective-C.
Let me take this opportunity to once again shamelessly plug my C
tutorial:
http://masters-of-the-void.com
which covers most of this (it doesn't cover pointers to functions and
bitwise operations), especially memory management and pointers.
Cheers,
-- Uli Kusterer
t; of the File's Owner. In general, for a
main NIB that will be type NSApplication, while for an NSDocument's
NIB it will be MyDocument or whatever name you gave it when you
created it. If you create your own NIB without using any of the
existing templates, you may have to set
or user input...
Check out NSRunLoop. I think if you create one of those at startup
and run it, that will become your main loop and will take care of
performSelectorOnMainThread: and the likes.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are e
nsform to a
port that causes your drawing to end up off screen.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin re
and which won't be usable because they are
hidden."
The simple word 'visual' already clarifies the word 'elements' a lot,
and the mention of shown, hidden and usable hammers home the point
that this view consists of different parts that can be activated and
accidentally messing with views and windows from another thread
than the main thread. That was what created the inconsistency that
later caused this exception on a completely unrelated thread.
You wouldn't perhaps be messing with the GUI from the wrong thread
by accident?
Cheers,
-
g bindings to
show/hide non-applicable parts and having the window magically re-
layout in response to that. Though in that case I often just embed the
views in an NSView that have to be shown/hidden together, without
loading them from separate NIBs.
Cheers,
-- Uli Kusterer
"The Witness
so I'm not sure whether they can cope with ObjC 2.0
constructs etc.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not po
that before going to BNR. If you then
find it wasn't sufficient, you can still go to BNR. But of course
you'll then have the book twice ... so in the worst case trying the
book can get more costly than not trying it :-/
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are
of-the-void.com/book7.htm
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to
docs for the details, as the list ops don't like people
rephrasing the memory management rules (because usually people forget
one or another rule).
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
Am 24.05.2008 um 17:49 schrieb Mr. Gecko:
How would I quit iTunes. There is a way to launch it with
NSWorkspace but how about quit?
You could use the scripting bridge.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.
thing, if foo has a base class that implements it, no
matter what the class hierarchy looks like.
This is why ObjC supports "duck typing". Great tool in the tool belt.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
in the init method I allocate the C++ object;
One trick I've seen here is to have a #ifdef __cplusplus check
there, and then to typedef the C++ types to void* for pure-C or pure-
ObjC callers.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everyw
? Have you tried switching to a different
profile to see whether the differences ... errr... differ?
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mailing list
change the
colors at some point. You'll have to investigate yourself whether
you're providing the wrong color space at some point, or whether
switching to a different color profile in system preferences changes
anything, or whether it's something else.
Cheers,
-- Ul
this case it might be worth
considering that one could just implement one's own dragging code. DnD
is mainly an architecture for cross-application and cross-window
dragging. If you need neither, it's not too difficult to do your own
drawing during mouse tracking instead.
so there's no need to release objects
that are singletons used throughout the app's life. Though I usually
add a comment next to such lines: "// intentional 'leak': singleton."
Cheers,
-- Uli Kusterer
"Th
, as far as I remember. Or
was that when Finder started using it?
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post adm
to add compile-time checks whether the right frameworks are
linked to, or so.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please d
nnections in the IB inspector
that you can click to delete these "stale" connections.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mailing list (Cocoa-dev@list
STextField.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the mod
Am 07.06.2008 um 21:05 schrieb Uli Kusterer:
You sure it went bad? If you have IBOutlets and rename them, IB
sometimes keeps entries for these connections in the NIB file. It
does this since you may be copy-and-pasting in your source files,
and it wouldn't want to trash that connection
Am 07.06.2008 um 20:29 schrieb Andy Lee:
NSLog( @"Current input source '%s'", [ name UTF8String ] );
Urrk. bad. You can't expect %s to be UTF8. Instead, do:
NSLog(@"Current input source '%@'", name );
Cheers,
-- Uli Kusterer
"
round isn't really
possible. You can, however, read the MenuRef's item list and
("manually") create an NSMenu that looks the same.
What exactly do you need this for? I couldn't find the original post
your message seems to be referring to.
Cheers,
-- Uli Kusterer
&
used Xcode 3.1, so my guess
would be whatever window you're seeing is from that version.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple
start a ruckus on that.
I doubt Aaron forgot to get that cleared before the release. They've
given similar permissions to other people.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
__
n Alias to store the references to your files. Aliases both
follow files when they're just moved, as well as have the ability to
re-discover a file if it has been recreated.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everyw
f the splash is grey with rounded corners, how to do
that?
Use NSWindow's new -setContentBorderThickness:forEdge: method.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Coc
tc.
How would I do something like that programatically?
Check out NSTabView (especially the properties that let you make it
borderless and not show its tabs) and NSViewController.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere...&qu
t whether
the option to open folders in a new window is on, and at least do it
in that case.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple
o get anything other than black, it's
been a while.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin r
uff if you still need 10.4
support. I'm planning on doing a version that is modeled after
NSViewController, but can't give an ETA.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
will get scaled up, too.
Similarly, there are various kiosk modes, ways of hiding the menu
bar (this kinda overlaps, but obviously not quite), and other
conventions.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everyw
instead of removing
the grow box?
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator co
also.
If you mean an NSPathControl (AFAIK there's no controller for paths,
not that I'd know what that would do), then there's a class by me that
serves a similar puprose:
http://www.zathras.de/angelweb/sourcecode.htm#UKFilePathView
Cheers,
-- Uli Kusterer
"T
o you often think your code is OK,
but then it crashes reliably on every other Mac, just not on your
development Mac.
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mailing list (Co
te an own class.
I think the NSImageView sends its action to its target when its
image gets changed that way. Have you tried that?
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Co
lse
explicitly retain it).
So, it is NOT guaranteed to be autoreleased, it is just "not owned
by you". Please be careful about spreading inaccuracies not supported
by the documentation.
Cheers,
-- Uli Kusterer
"The Wit
n't change the 32-bit runtime on the Mac for
compatibility reasons. So the switch would be setting the architecture
to 64-bit and removing the 32-bit architecture. But of course then
your app won't run on Macs with 32-bit CPUs anymore.
Cheers,
-- Uli Kusterer
"The Witnesses of
#x27;ve seen so far, whenever a new layer is created, it is
inserted in the front. The only way I've found to fix it is to set the
zPosition of each view's layer manually. However, luckily that seems
to work :-)
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everyw
patibility, while
your code can effectively assume it always uses the 10.5 APIs.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Plea
p that
marches through straight C code.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comment
On 05.07.2008, at 19:52, Clark Cox wrote:
If C++ code behaves oddly in the presence of unknown exceptions, then
that C++ code is broken. :)
Isn't that how code always is? ;-)
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http:/
, and asks each responder in the
responder chain, beginning at the first responder. Have you inserted
your toolbar controller in the responder chain so it actually gets
asked whether these methods should be enabled?
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere...&qu
On 10.07.2008, at 21:29, Michael Ash wrote:
I can't find
any particular pattern to it, but it's clear that it's a bug, not a
deliberate omission. I recommend you file a bug with Apple.
Your warnings kinda remind me of type promotion. Ints get promoted
to floats, etc.
hings anyway, so you might as well go and recreate
the UI and let IB's snap-to-guidelines do the job of initial layout.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mail
as it takes no parameters, and is of class/type
kCoreEventClass/kAEQuitApplication.
Check the result, though, Finder may refuse to quit if it's busy,
like aforementioned copy process.
To launch Finder again after that, use NSWorkspace.
Cheers,
-- Uli Kusterer
"The Witnes
n sure whether NSBundle doesn't cache its
location, so you might get the old path back. But I guess since the
kqueue tells you where it got moved, you could deduce the path anyway.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText
On 17.07.2008, at 23:13, Jean-Daniel Dupas wrote:
Correct me if I'm wrong, but kqueue will not work if you move a
folder that contains the applications (and not the app directly).
You're right, completely forgot about that.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText
sible to move an app
while it is running. The more people file bugs on an issue, the more
likely it is that Apple will actually fix them. And this is a Mac.
Users shouldn'thave to think about geeky things like that, the
software should just do the right thing.
Cheers,
-- Uli Kus
n existing thread on a mailing list, or your
message will end up sorted into the original thread, and people who
use threaded view won't see it unless they read the original thread.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everyw
: @"NS
[EMAIL PROTECTED]",currentHTMLTagName]) to implement your web browser unless
you want to cope with people creating NSXMLElements for you to get
your browser to crash... :-)
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_
(See NSUIElement and
LSBGOnly) to present these windows.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin r
management. In threaded
newsreaders, this will just get hidden under that thread's headline,
and nobody will ever see your message who would know the answer.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http:/
t; in the context where an object is not added to a
pool, however, leads to stale pointers and memory bugs, and may even
lead to memory corruption and/or crashes. So I think I'll take an
analogy hobbling in on its last leg over a label that leads to wrong
code any day.
Cheers,
--
oblems like these, look up James
Dempsey's "Designated Initializer" song on YouTube.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mailing list (Cocoa-dev@li
On 28.07.2008, at 08:23, Vitaly Ovchinnikov wrote:
Thanks, exactly what I need.
Btw, is there any easy way to center this line vertically? Or I need
to measure it's height and offset it vertically myself?
NSParagraphStyle -setAlignment: ?
Cheers,
-- Uli Kusterer
"The Wi
On 28.07.2008, at 17:22, Vitaly Ovchinnikov wrote:
This one aligns string horizontally, I need vertical alignment.
Well, OK, will measure it's height and center it myself.
Oh, sorry. Wasn't quite awake when I wrote that, apparently. Yeah, I
think vertical is up to you.
Chee
rs will be NIL.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Conta
501 - 600 of 887 matches
Mail list logo