Tricertops / KeepLayout

Making Auto Layout easier to code.
MIT License
837 stars 75 forks source link

OSX support #35

Closed aspcartman closed 10 years ago

aspcartman commented 10 years ago

I've made changes to support MacOSX (just some #ifdef magic), it works.

NSTextField *label = [NSTextField new];
label.stringValue = @"LOl";
[self.window.contentView addSubview:label];
[label keepSize:CGSizeMake(200, 200)];
[label keepCentered];

But for pullreq I need guidance what to do with build targets and cocoa pods. Or I can just make a pullreq.

Tricertops commented 10 years ago

Open PR with the changes you have and I will create OS X lib target.

I don't know how to setup CocoaPods neither :)

Tricertops commented 10 years ago

Will be merged in next version #45