Wednesday, 22 April 2015

April 21

#
# Working with protocols - Apple
#

Consider a custom view class that shows a pie chart. we have

@protocol XYZPieChartViewDataSource
-(NSUInteger)numberOfSegments;
-(CGFloat)sizeOfSegmentAtIndex:(NSUInteger)segmentIndex;

#
# bitmaker notes
#
@class Task;
@protocol TaskDelegate <NSObject>

@optional 
-(void) simpleTask: (NSString*) the optionalTask;

# tues: table views the hard way
-(BOOL)

#
some of the steps
  1. need a CGrect that defines the bounds

#
everything stored in NSUserDefaults 

#
#stanford lec 4
#
uifonttextstyleheadline
uifonttextstylecaption1
uifontt

what kind of attributes are in an attributed string
NSFontAttributeName
The value is a UIFont

NSForegroundColorAtrributeName 

#
Drag a nav controller object into the storyboard
the default nav controller is associated with a table view controller.

Select the relationship segue - view controllers option
Relationship segue - view controllers
Change the System Item from Custom to More

3 things need to be done
  1. add the “about.html” and “about.jpg” to the Xcode project
  2. assign a variable for UIWebView and associate it with the Web View object
  3. use the loadRequest  method in UIWebView to load web content

so I would expect something like
(UIWebView*)

drag supporting files to the Supporting Files folder.

#

everything with notifications is inside your app

No comments:

Post a Comment