China moving full speed ahead in construction of aircraft carriers

The Liaoning, the PLA Navy’s first carrier, commissioned in 2012.

6 more images in gallery

Satellite photos analyzed by IHS Janes show China has dramatically ramped up efforts to construct a second aircraft carrier—the first to be built indigenously there. While the new ship will likely not be a match for US aircraft carriers, it is important for a number of reasons, and representative of China’s ambitions to be a naval superpower. The ship is in “advanced state of construction” in a Dailan shipyard, according to analysis of commercial satellite images by IHS Jane’s. And China’s goal is reportedly to launch the new carrier by this December (in time for Mao Zedong’s 122nd birthday), and outfit it by the end of next year.

read more

China moving full speed ahead in construction of aircraft carriers

The Liaoning, the PLA Navy’s first carrier, commissioned in 2012.

6 more images in gallery

Satellite photos analyzed by IHS Janes show China has dramatically ramped up efforts to construct a second aircraft carrier—the first to be built indigenously there. While the new ship will likely not be a match for US aircraft carriers, it is important for a number of reasons, and representative of China’s ambitions to be a naval superpower. The ship is in “advanced state of construction” in a Dailan shipyard, according to analysis of commercial satellite images by IHS Jane’s. And China’s goal is reportedly to launch the new carrier by this December (in time for Mao Zedong’s 122nd birthday), and outfit it by the end of next year.

read more

Using Your Photography to Create Social Change

There are images that immediately come to mind if someone mentions them. For instance, the image of the man being shot in the head during the Vietnam War, or the girl running naked down the road (also in Vietnam) after being burned by a napalm bomb. I don’t want to use the word iconic, but they are well-known, and very emotive images. The Vietnam War was like no other, and these images helped to show the devastation.

An image of an event, or a place, can create a lot more connection than written words or stories; humans are visual and we relate to visual cues. But images don’t have to be about war to generate a response from people.

read more

Using Your Photography to Create Social Change

There are images that immediately come to mind if someone mentions them. For instance, the image of the man being shot in the head during the Vietnam War, or the girl running naked down the road (also in Vietnam) after being burned by a napalm bomb. I don’t want to use the word iconic, but they are well-known, and very emotive images. The Vietnam War was like no other, and these images helped to show the devastation.

An image of an event, or a place, can create a lot more connection than written words or stories; humans are visual and we relate to visual cues. But images don’t have to be about war to generate a response from people.

read more

Not able to show Delete button

I am trying to implement an alarm clock app just like apple’s Clock app.On the click of Edit button on the left hand side I want to make table enter into Editing mode with red circles on left side of every cell(custom UITableViewCell) And on the click of that red circle want to show “Delete” button/action on the right side.

I have been trying a lot and went through many sites but still could not figure out. Can someone please see what mistake I am making?

I have referred below and many others links:
[http://stackoverflow.com/questions/8983094/how-to-enable-swipe-to-delete-cell-in-a-tableview?lq=1][1]
[http://stackoverflow.com/questions/3309484/uitableviewcell-show-delete-button-on-swipe?lq=1&newreg=24ed6f267baf4094b425d5b74f456866][2]

class SavedAlarmListViewController: UIViewController,UITableViewDataSource,UITableViewDelegate{

@IBOutlet weak var tableView: UITableView!

var alarms = [AlarmDataObject]()

override func viewDidLoad() {
super.viewDidLoad() 
self.tableView.delegate = self
self.tableView.dataSource = self
self.navigationItem.leftBarButtonItem = self.editButtonItem()

}

override func viewWillAppear(animated: Bool) {
super.viewWillAppear(true)
refreshList()
}

func refreshList() {

alarms = AlarmsList.sharedInstance.allSavedAlarms()
tableView.reloadData()

}

func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return alarms.count
}

func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {

let cellIdentifier = "cell"
let cell = tableView.dequeueReusableCellWithIdentifier(cellIdentifier, forIndexPath: indexPath) as! AlarmTableViewCell

// custom code to set data ....

return cell
}


func tableView(tableView: UITableView, canEditRowAtIndexPath indexPath: NSIndexPath) -> Bool {
return true // all cells are editable
}

func tableView(tableView: UITableView, commitEditingStyle editingStyle: UITableViewCellEditingStyle, forRowAtIndexPath indexPath: NSIndexPath) {
if editingStyle == .Delete {
let alarm = alarms.removeAtIndex(indexPath.row)
tableView.deleteRowsAtIndexPaths([indexPath], withRowAnimation: .Fade)
AlarmsList.sharedInstance.removeAnAlarm(alarm) 
}
}

}

class AlarmTableViewCell:UITableViewCell {
// IBOutlets

override func awakeFromNib() {
super.awakeFromNib()

}

override func setSelected(selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)

}

}


  [1]: http://stackoverflow.com/questions/8983094/how-to-enable-swipe-to-delete-cell-in-a-tableview?lq=1
  [2]: http://stackoverflow.com/questions/3309484/uitableviewcell-show-delete-button-on-swipe?lq=1&newreg=24ed6f267baf4094b425d5b74f456866

read more