This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// TableViewController.m | |
// tabbar_sample | |
// | |
// Created by Serhat Sezer on 24/10/14. | |
// Copyright (c) 2014 SecretCV. All rights reserved. | |
// | |
#import "TableViewController.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.secretcv; | |
import se.emilsjolander.stickylistheaders.StickyListHeadersAdapter; | |
import android.content.Context; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.BaseAdapter; | |
import android.widget.TextView; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.secretcv; | |
import se.emilsjolander.stickylistheaders.StickyListHeadersListView; | |
import android.os.Bundle; | |
import android.view.Menu; | |
import android.view.MenuItem; | |
public class JobDetailActivity extends BaseActivity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[TRUNetworkManager sharedInstance].webService getTransaction:self.transactionId completion:^(NSArray *result, BOOL handleError, NSError *error) { | |
if(!result) | |
self.collectionData = result[0]; | |
dispatch_async(dispatch_get_main_queue(), ^{ | |
[self.tableView reloadSections:[NSIndexSet indexSetWithIndexesInRange:NSMakeRange(0, 4)] withRowAnimation:UITableViewRowAnimationAutomatic]; | |
}); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Navigation Stack -> (pushed) | |
// Steps 1. AViewController -> 2. BViewController -> 3. CViewController | |
// in the CViewController user tapped button -> -backToFirstViewController | |
// backToFirstViewController | |
- (void)backToFirstViewController { | |
// get navigation stack as an array. | |
NSArray *viewControllers = self.navigationController.viewControllers; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@interface UserDetailViewController() | |
@property(strong, nonatomic) MyCustomCell *customCell; | |
@end | |
@implementation UserDetailViewController | |
- (void)viewDidLoad { | |
[super viewDidLoad]; | |
// Load Xib file... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// iCarouselExampleViewController.m | |
// iCarouselExample | |
// | |
// Created by Nick Lockwood on 03/04/2011. | |
// Copyright 2011 Charcoal Design. All rights reserved. | |
// | |
#import "iCarouselExampleViewController.h" | |
#import "TableViewController.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (UIView *)carousel:(iCarousel *)carousel viewForItemAtIndex:(NSInteger)index reusingView:(UIView *)view | |
{ | |
self.customTableViewController = [[STableViewController alloc] init]; | |
[self addChildViewController:self.customTableViewController]; | |
[self.customTableViewController didMoveToParentViewController:self]; | |
self.customTableViewController.tableView.frame = CGRectMake(0, 0, 200, 200); | |
return self.customTableViewController.tableView; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)configureContainers | |
{ | |
_containerRect = CGRectMake(0.0f, 0.0f, CGRectGetWidth(self.view.bounds), self.tabBarHeight); | |
// Tabbar container view | |
_tabButtonsContainerView = [[UIView alloc] initWithFrame:_containerRect]; | |
_tabButtonsContainerView.autoresizingMask = UIViewAutoresizingFlexibleWidth; | |
_tabButtonsContainerView.backgroundColor = [UIColor colorWithWhite:1.0f alpha:0.8f]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
ShowInternAds = 0; | |
appliedJobIds = "1405940,1233893"; | |
cityIds = 68; | |
countryIds = "<null>"; | |
education = D; | |
experienceMax = 10; | |
experienceMin = "<null>"; | |
firmName = "<null>"; | |
gender = B; |
OlderNewer