Q: Selector method called in wrong class I'm trying to make my code "easier" to use. I got a class (called 'Functions') with a couple of static functions. One of these functions creates a UIRefreshControl and returns it.
+(UIRefreshControl*)createRefreshControlWithColor:(UIColor*) color andFunction:(SEL)selector{
    UIRefreshControl *refreshControl = [[UIRefreshControl alloc] init];
    refreshControl.tintColor = [UIColor darkGrayColor];
    [refreshControl addTarget:self action:selector forControlEvents:UIControlEventValueChanged];
    return refreshControl;
}    

Now the refresh controller needs a selector, which give as a parameter. 
From my tableViewController (NewsViewController) I now call 
UIRefreshControl* refreshControl = [UIFunctions createRefreshControlWithColor:[UIColor grayColor] andFunction:@selector(getNews)];     

Where getNews is a function in NewsViewController.
When I run this code, it tells me that there is no function "getNews" in "Functions.h". Apparantly (and maybe logically) it looks in 'function' instead of in 'NewsViewController'
Is it possible (and if so, how?) to do this via this way?
