Thank you for your replies. I wish to avoid the framework, so all the code is
statically linked and I don’t bother with framework installation. It not very
efficient, but the compiled library does not take a lot of disk space, so it is
easier this way.
About the app behaving the same, I wrote to
On Mon, Feb 23, 2015, at 12:18 AM, Maxthon Chan wrote:
> In Objective-C, methods are called my sending messages, and message
> selectors are not bounded to a class.
>
> You can walk all loaded classes and try to work out the classes that
> responds to the message selector in question, but beware c
In Objective-C, methods are called my sending messages, and message selectors
are not bounded to a class.
You can walk all loaded classes and try to work out the classes that responds
to the message selector in question, but beware classes that descended from the
old Object class (not NSObject
> On 11 Feb 2015, at 1:34 am, Markus Spoettl wrote:
>
> The labels are all inside an NSVisualEffectsView which is in "behind window"
> mode with dark appearance. So all labels are white-ish. Almost. The app name
> label is black instead of white (despite being set up identically to the
> othe
On Feb 22, 2015, at 3:01 PM, Jack Brindle wrote:
> Doesn’t [self class] do this? The method is within whatever self is, so it
> seems appropriate that [self class]
> would provide what you want.
Although the subject wasn't clear, the body makes it clear he's looking for the
return type of a me
That's the class of the current instance.
I think the poster wants this: "I have this method. What's its class?"
On Feb 22, 2015, at 4:01 PM, Jack Brindle wrote:
> Doesn’t [self class] do this? The method is within whatever self is, so it
> seems appropriate that [self class]
> would provide
Doesn’t [self class] do this? The method is within whatever self is, so it
seems appropriate that [self class]
would provide what you want.
- Jack
> On Feb 22, 2015, at 4:41 AM, BareFeetWare
> wrote:
>
> Hi all,
>
> How can I get the class of a method, at runtime?
>
> I can get the name of
On Sun, Feb 22, 2015, at 12:11 PM, Jens Alfke wrote:
>
> > On Feb 22, 2015, at 9:30 AM, Kyle Sluder wrote:
> >
> > The compiler does keep type info for properties, but that’s not actually
> > documented.
>
> It’s documented in the “Declared Properties” section of the “Objective-C
> Runtime Pro
> On Feb 22, 2015, at 9:30 AM, Kyle Sluder wrote:
>
> The compiler does keep type info for properties, but that’s not actually
> documented.
It’s documented in the “Declared Properties” section of the “Objective-C
Runtime Programming Guide”:
You can use the property_getAttributes fun
On Feb 22, 2015, at 3:48 AM, Markus Spoettl wrote:
>
>> On 10/02/15 15:34, Markus Spoettl wrote:
>>
>> I spent the last couple of hours trying to make sense of it. Then I renamed
>> the
>> outlet to "nameLabel", bingo! For some inexplicable reason NSWindowController
>> (or whatever) sets the la
> On Feb 22, 2015, at 4:41 AM, BareFeetWare
> wrote:
>
> However, the returnType is just a char that is set to "@" for all classes. I
> want to know which class is returned.
The compiler does not preserve this information. It also does not preserve the
static types of method arguments.
The c
Solved by changing the base view to a generic NSView and adding the NSImageView
and NSSlider to that view (the slider over the image view), rather than
previously the NSImageView being the base view with the slider control added to
it (worked fine up to 10.10).
On 22 Feb 2015, at 03:06, Tim He
Hi all,
How can I get the class of a method, at runtime?
I can get the name of the class methods via:
Method *methods =
class_copyMethodList(objc_getMetaClass([NSStringFromClass([self class])
UTF8String]), &methodCount);
for (int i = 0; i < methodCount; i++) {
Method method = m
> On 22 Feb 2015, at 19:17, Erwin Namal wrote:
>
> Thank you for your reply.
> I already use both Other linker flags “-ObjC” and “-all_load” in the library,
> in its bundle target (though it is useless I think) and in the application
> including the library and the bundle with the nib.
> Then,
Wow, great job! It partially solved the problem :-P
I'm not sure how others will do it, but I will resize the UITableView
in Xcode, fit all rows and use that trick.
On Sun, Feb 22, 2015 at 6:55 PM, Mike Abdullah wrote:
>
>> On 22 Feb 2015, at 07:51, Aaron Lewis wrote:
>>
>> Hi,
>>
>> I have a f
On 10/02/15 15:34, Markus Spoettl wrote:
I have an about window with a label for the app name on it. That label was
connected to an outlet named "appNamelabel" on its window controller. There are
a couple of other labels on the same window, connected to other outlets.
The labels are all insid
Why not use a framework ?
This is exactly why they exist. To hold resources that can't be in a lib.
Xcode 6 makes frameworks easy.
Thanks!
John Joyce
Sent from my iPhone
> On 2015/02/22, at 20:17, Erwin Namal wrote:
>
> Thank you for your reply.
> I already use both Other linker flags “-ObjC
Thank you for your reply.
I already use both Other linker flags “-ObjC” and “-all_load” in the library,
in its bundle target (though it is useless I think) and in the application
including the library and the bundle with the nib.
Then, I load the nib in the bundle by using :
> initWithNibName:ni
> On 22 Feb 2015, at 07:51, Aaron Lewis wrote:
>
> Hi,
>
> I have a fixed number of rows in a UITableView, now I need to set a
> minimal height.
> Otherwise I would see the extra "row" background.
>
> Is that possible?
http://mikeabdullah.net/thl-diary-9-table-footers.html
__
19 matches
Mail list logo