Git Product home page Git Product logo

ios-boilerplate's Introduction

What is IOS Boilerplate

Is a base template for iOS projects.

Please, go to http://iosboilerplate.com/ for more documentation and further information.

Some screenshots:

Demo menu

Async cell images demo

Directions demo

ios-boilerplate's People

Contributors

ahmet avatar gimenete avatar mattt avatar nbuggia 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  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

ios-boilerplate's Issues

Flickering Issue while loading Images in TableView

I have more than 1000 friend list in a UITableView. So if I scroll down its flickering with previous image almost 20+ times.
How we can avoid this flickering issue ? It's very annoying.

Few guys have already noticed the same issue but still no reply.
#21

Images

If you change the delegate on the ImageManager to tabbar (if it's a tabbar app), images don't appear in the tableView till that cell has either passed the top or botom of the screen. Images on a normal detail view don't show at all.

ARC

Great project, what do you think about supporting ARC version of it, maybe in a branch?

Swipeable cell gives errors when trying to run the project on device

The demo runs perfectly on the simulator but gives weird errors when trying to run on device.

/Users/sarperdag/dev/iphone/iOS-boilerplate/IOSBoilerplate/SwipeableCell.m:28: error: 'backView' undeclared (first use in this function)

/Users/sarperdag/dev/iphone/iOS-boilerplate/IOSBoilerplate/SwipeableCell.m:92: error: 'contentView' undeclared (first use in this function)

Bug in ImageManager

File: ImageManager.m
Line: 101,102,113,120

issue code:request.url because the URL property can change when a request is redirected, should use request.originalURL instead.

swipeable cell breaks on tap

If you first tap the cell and then try to swipe it, the lay out breaks. I got this just from testing the SwipeableTableViewExample. Great project btw!

No licence

I couldn't identify which license applies to the iOS-boilerplate project, neither here in the repo nor in the project's homepage. Could you please add a LICENSE file and possibly a mention of the license to the README?

Project doesn't compile in XCode 3.2.5

/Users/cullepm3/Desktop/iphone/iOS-boilerplate/IOSBoilerplate/SwipeableCell.m:28:0 /Users/cullepm3/Desktop/iphone/iOS-boilerplate/IOSBoilerplate/SwipeableCell.m:28: error: 'backView' undeclared (first use in this function)

/Users/cullepm3/Desktop/iphone/iOS-boilerplate/IOSBoilerplate/SwipeableCell.m:92:0 /Users/cullepm3/Desktop/iphone/iOS-boilerplate/IOSBoilerplate/SwipeableCell.m:92: error: 'contentView' undeclared (first use in this function)

Mixing Model and Controller responsabilities?

First off I should say (again :-) ) that I really love this project, and although I knew most of the libraries you're including, it's really helpful that you're creating some handy methods and classes to achieve tasks that we have to do everywhere :)

I only wanted to comment my concern with some decisions and discuss what you (and other developers) think about it.
I looked through all the clases, and I mostly like how code is organized, except for one thing!

BaseViewController has some methods to do async HTTP requests. This is useful, as you can use this as a base class for a View Controller which has a table and gets the data to fill the table off the network; but this is completely against the MVC paradigm! This puts some Model responsabilites within the Controller (therefore this would be hard to test among other things).
What I suggest, is to take exactly the same code you have to do those requests, and put it in another class (say HTTPRequestHelper or something like that), and inject that class into the BaseViewController during initialization. You could have a default init method which instantiates an object of that class by default, and another init method to pass a different object (probably a subclass of the first, so you make sure it responds to the same methods). Perhaps omething like this:

- (id)init {
   return [self initWithHTTPRequestHelper:[[[HTTPRequestHelper alloc] init] autorelease]];
}

- (id)initWithHTTPRequestHelper:(HTTPRequestHelper *)rh {
     if ((self = [super init])) {
        self.requestHelper = rh;  
    }

    return self;
}

(please, take this as constructive criticism and not like I'm trying to say you did a bad job!)

Async Cell Images not displaying correctly

I have increased the size of the results coming from the Twitter search example in AsyncCellImagesExample.m by changing the code as below

NSArray *keys = [NSArray arrayWithObjects:@"q", @"rpp", nil];
NSArray *objects = [NSArray arrayWithObjects:@"iOS", @"100", nil];
NSDictionary *params = [NSDictionary dictionaryWithObjects:objects forKeys:keys];

And when I run the code on my iPhone, if you scroll directly to the bottom of the table view, very fast, the images start showing some previously fetched and rendered versions, and then they quickly go back to normal. It is like there is some flickering, showing incorrect images.

Fast Cell Selection

Hi There,

On select of a fast cell within a table view, the selection colour is blocked by the opaque white background colour. Is there away to configure a fast cell to still have the traditional selection behaviour?

You don’t have permission.

When I run it
The file “IOSBoilerplate.app” couldn’t be opened because you don’t have permission to view it.

Why?
Thanks!

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.