Monday, October 20, 2014

iOS Development: Moving a TabBar to the Bottom of a Screen Regardless of Size

-(void)viewDidLayoutSubviews
{
    
    UIScreen* screen = [[UIScreen screens] objectAtIndex:0];
    
    CGRect screenBounds = screen.bounds;
    
    self.tabBar.frame = CGRectMake(0,  screenBounds.size.height - self.tabBar.frame.size.height, self.tabBar.frame.size.width, self.tabBar.frame.size.height);
    
    [self.view addSubview:tabBar];
    

}

Tuesday, October 7, 2014

iPhone: Building a View Dynamically Using Screen Size as the Parameter

  if ((int)[[UIScreen mainScreen] bounds].size.height == 568)
    {
        // This is iPhone 5 screen
        NSLog(@"iPhone 5: viewDidAppear: picker");
        
        labelRect = CGRectMake(20.0, 79.0, 167.0, 21.0);
        address1Label = [[UILabel alloc] initWithFrame:labelRect];
        address1Label.text = @"Address 1";
        
        [self.view addSubview:address1Label];

     }
else 
{
        
        // This is iPhone 4/4s screen
        NSLog(@"iPhone 4: viewDidAppear: picker");
        
        labelRect = CGRectMake(20.0, 79.0, 280.0, 30.0);
        address1TextField = [[UITextField alloc] initWithFrame:labelRect];
        address1TextField.returnKeyType=UIReturnKeyDone;
        [address1TextField addTarget:self action:@selector(hideKeyBoard:)
                    forControlEvents:UIControlEventEditingDidEndOnExit];
        address1TextField.placeholder = @" Address 1";

}

Sunday, September 21, 2014

Work and Photo Album

select tbh.brokerageName, tbh.corpCRDNumber, count(tb.crdNumber) as brokerCount
from tblBrokerageHouses tbh inner join tblBrokers tb on tbh.corpCRDNumber = tb.corpCRDNumber group by tbh.corpCRDNumber order by brokerCount desc;

Stopped at: NYLIFE SECURITIES LLC

http://bb-women.net/sexiest-selfies-of-2014-photo-album

Friday, August 29, 2014

THe Plan

Now that my iPhone app is in the app store here's the plan:

1.  Finish building Pick-a-chart.com ...
a.  Finish ETF piece
b.  Build fundamentals snapshot
c.  Build DJIA, S&P and Nasdaq 400 pages
d.  Build DJIA into first screen
e.  Build roll out button
f.  Build slide out navigator onto every screen
g.  Build marketing engine for PAC

2.  Build Door2Door Corner Store (Finish by 9/30/2014)

2B.  Car Math (Finish by 10/30/2014)

2C.  Car Math Android (Finish by 12/15/2014)

3.  Build Intuigames (Finish by 1/15/2015)

3B. Build Intuigames (Finish by 2/15/2015)

4.  Build Watchpoint. (Finish by 3/30/2015)

Wednesday, August 27, 2014

Story Scraps

-- A ebullient receptionist with a nagging kid.  She reads really fast.

-- A guy who dreams of fried chicken and old teachers

Saturday, August 16, 2014

Things to Do Tomorrow

Door2Door Drycleaning SKU Number: pLabs-0000000001.1


Tomorrow:  Go to iTunes Connect and Upload the App.