> On Aug 29, 2015, at 11:36 AM, Boyd Collier <bcoll...@mail.sdsu.edu> wrote: > > Thanks very much for the suggestions. Re the possible error in my Obj-C > code: Apple's documentation for NSTextTab shows 2 ways to create an > NSTextTab; the first is initWithType:location: (which is what I used in my > Obj-C code) and the second is initWithTextAlignment:location:options:
Nope, NSTextTab only has a single initializer — the -initWithTextAlignment one. (I just looked at both the Mac and iOS headers to make sure.) It’s *NSParagraphStyle* that has -initWithType:location:. I think you’ve gotten the two classes mixed up. They’re both declared in the same header, which makes it easy to look at a method declaration and miss which @interface it’s within. —Jens _______________________________________________ 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(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com