jjmm / cuslayout Goto Github PK
View Code? Open in Web Editor NEWiOS Layout Manager.Open source auto layout Manager,which is similar to Android,SWT,SWING API. ios layout
License: Other
iOS Layout Manager.Open source auto layout Manager,which is similar to Android,SWT,SWING API. ios layout
License: Other
Thanks for the great work.
I'm trying to run the example but failed. The error is:
clang: error: no such file or directory: '..../CUSLayout/CUSLayout/CUSLayout-Prefix.pch'
clang: error: no input files
I have to copy the file to the CUSLayout/CUSLayout/ directory to fix the issue.
By the way, could you please let me know how I can keep a view stick on the bottom of it's parent view? If it's not implemented yet, how I can modify the code to support it?
Thanks.
if the rowlayout in cell's subview , i need to compute the height for row before the view is showed. how to do that?
CUSLayout will support OSX,any suggestion?
If I set top 40, I want it is top 40 to the screen's top, instead of to the UINavigateController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
UITapGestureRecognizer *singleFingerTap =
[[UITapGestureRecognizer alloc] initWithTarget:self
action:@selector(handleSingleTap:)];
[self.view addGestureRecognizer:singleFingerTap];
}
- (void)viewWillAppear:(BOOL)animated{
[super viewWillAppear:animated];
self.navigationController.navigationBarHidden = YES;
}
//The event handling method
- (void)handleSingleTap:(UITapGestureRecognizer *)recognizer {
// CGPoint location = [recognizer locationInView:[recognizer.view superview]];
self.navigationController.navigationBarHidden=!self.navigationController.navigationBarHidden;
}
Hello, I have a try with your CUSLayout,but it always breakdown whit no reason ,there is no error information in XCode console panel. how should I do to deal whit it?
The easiest way to do add CUSLayout to your existing project is to add it as a git SubModule, and then import the project as part of yours:
In Xcode:
1、open YOUR existing project (or create a new one) drag and drop the CUSLayout.xcodeproj file downloaded from github previously from Finder to your project (either root or under Frameworks)
2、In YOUR project configuration: in the Build Phases, Add CUSLayout (the lib, not the example app) as a Target Dependency in the Link Binary With Libraries section, add the libCUSLayout.a library
3、In YOUR Prefix.pch file, add #import <CUSLayout/CUSLayout.h>
4、 In YOUR project configuration, on the “Build Settings” tab, locate the “User Header Search Paths” setting, and set the Release value to "${PROJECT_DIR}/CUSLayout" (including quotes!) and check the “Recursive” check box. The Debug value should already be set, but if it’s not, change that as well.
5、Also locate the “Always Search User Paths” value and set it to YES. Finally, find the “Other Linker Flags” option, and add the value -ObjC (no quotes).
That should be all there is. Change the build target to “iOS Device” , and run Product->Archive. Good luck!
Is this project still alive? No commits for a while, there must be bugs to fix? :)
if it has, please kindly provide it. thx!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.