End of Flash Player

One of biggest news in this year for me was farewell to Flash Player. Because Flash contents was trigger to get my interest to internet and it’s kind of dream around early 2000. Some special site was made by Flash to be interactive with user’s mouse operation. Top web creator generated impressive site to get user attention, it let me be motivated to join internet industry. Also I made some flash site with action script 3.0 by referring those fantastic contents.

Goodbye Flash, goodbye FarmVille

Needless to say, turning point for Flash contents was Apple’s direction for supporting Flash. Jobs decided to not support Flash contents on iOS/Safari when iPhone was getting first device of mobile early 2010s. After that, main technology for rich web contents has been shifting to HTML5/Javascript.

Final update for Flash Player had be made by Adobe to kill Flash Player at 8th Dec 2020.

I deeply appreciated all contributor for Flash to make wonderful experience in my life, but it may be just a page of long internet history. Hope we can make more attractive content on internet with advanced technologies.

 

Rambling with GR3

I used GRD4, GR2 and GR3. It’s naturally getting advanced as functionality. With that, the agility to take snapshots has been most improved point.

 
 
 
 
 
View this post on Instagram
 
 
 
 
 
 
 
 
 

Evening after raining. #gr3 #grsnaps #ricohgr3 #tokyo

A post shared by Shunichi Takeishi (@tkisnet) on

Started to write note.mu

Note.mu is a kind of the blog service in japan. By looking into functionality on the service, it’s just blog service. But concept and basic physophy is totally different from typical blog service. Most blog services are generating revenue from ads. But this service is not considering to just increasing traffic or PV. They are empowermenting creators by supporting to charge contents. There are many type of usage as creator. The simplest case is just selling article by monthly charge or one time. Another case is collecting monthly fee for fun club by proving article news or contents.

I’m not thinking to sell my articles so far. But if I will be able to make more valuable content or article, it’s easy to start to sell rather than publishing e-books or promoting my content to publisher. I’m looking forward to seek my possibility by continually using this platform.

Upgrading swift version

Today I tried to upgrade developing iOS APP for personal use. Actually I have not been updating it for 1 year. Last file update was 6th Jan 2016. since i was free during end year holiday, looks tried to make App by swift 2.0. just coming same season. So latest version for swift is 3.0.

I’m aware of some updated function and different function, those issue was fixed. But crashing on simulated was happened even if there is no complier error on Xcode. after checking line by line, I detected error was occured when App tried to get permission to access Calendar data by Using EKEventStore. One addtionall setting for info.plist is needed due to privacy policy changing by apple.

Info.plist – Requesting Permission Privacy Settings in iOS 10.

App Crash was solved, but I spent 3 hours to detect it…. more effort to understand is needed…

Custom UITableViewCell without Storyboard

I was looking for the way to make List function based on UITableView be directly editable text field. UITableView also offer editable by swipe function. But I wanted to make function to directly edit lists on UITableView. To make sure that, Custom UITableViewCell is needed, if without StoryBoard. Btw I prefer to generate content without using StoryBoard, it means my application completely depends on source code. 

Step 1: To make new class “CustomTableViewCell” by inheriting “UITableViewCell”.

class CustomTableViewCell: UITableViewCell{
    
    let TitleArea: UITextField = UITextField(frame: CGRect(x: 30, y: 5, width: 350, height: 25))
    
    override init(style: UITableViewCellStyle, reuseIdentifier: String!)
    {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
    }
    
    override func awakeFromNib() {
        super.awakeFromNib()
        TitleArea.delegate = self
        contentView.addSubview(TitleArea)
    }
    
    override func setSelected(selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)
    }
    
    required init(coder aDecoder: NSCoder)
    {
        super.init(coder: aDecoder)!
    }    
}

and to implement this custom class without StoryBoard, most important thing is to define it on “TableView.registerClass” and “return value of UITableViewCell. Please refer below highlited line in sample source code.

class CustomViewController: UIViewController, UITableViewDataSource, UITableViewDelegate {
    
    var CusotmTableView: UITableView = UITableView()
	
    override func viewDidLoad() {
        super.viewDidLoad()
            
        // Get width and height of view.
        let displayWidth: CGFloat = self.view.frame.width
        let displayHeight: CGFloat = self.view.frame.height
        
        // Generate TableView
        CusotmTableView.frame = CGRect(x: 0, y: barHeight+30, width: displayWidth, height: displayHeight  )
        
        // [Important] To designate Custom UITableViewcells as UITableViewCell
        CusotmTableView.registerClass(CustomTableViewCell.self, forCellReuseIdentifier: "MyCell")
        
	CusotmTableView.dataSource = self
        CusotmTableView.delegate = self
        
        self.view.addSubview(CusotmTableView)
        

    }
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()

    }
	
    func numberOfSectionsInTableView(tableView: UITableView) -> Int {
        return ******
    }
    
    func tableView(tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
        return "title"
    }
    
    func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
        return section
    }
    
    func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
        
        //CustomCell
        let cell:  CustomTableViewCell = tableView.dequeueReusableCellWithIdentifier("MyCell", forIndexPath: indexPath) as! CustomTableCell
        cell.delegate = self
        
        return cell
    }
   
}

If you want to generate Custom UITableViewCell by source code without StoryBorder, Please make sure these two points.