Giter VIP home page Giter VIP logo

cuslayout's People

Contributors

jjmm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cuslayout's Issues

No such file or directory CUSLayout-Prefix.pch

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.

How to ignore the UINavigateController

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;
}

The program breakdown when i use CUSLayout

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?

How to add CUSLayout to your project

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 still alive?

Is this project still alive? No commits for a while, there must be bugs to fix? :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.