Target for 2016

Happy New Year!  
                         01.01.2016

Let me look back 2015 before writing my target in 2016. I had two major targets in 2015.

No1 was “To enhance vocabulary and expression in English”. Unfortunately I can say “Completely Archived”, but compared with last year, in my feeling, it is getting better day by day. And this target is not end, I need to keep this effort to do. No2 was to see additional area excluding “Online Advertising”. Because totally 8 years I have been working in online advertising industry. In order to look for new opportunity to work with another area, I wanted to see new area. But I’m still in same industry. Although personally started to learn iOS APP Development. It has partially done.

No1. To release something App in iOS.

As one of the target to learn iOS APP development, I’d like to release one application into public via AppStore. This goal is very cleared target in my past targets.

No2. To more enhance private.
In my life, I have strongly focused on work after university graduation. As result, there is no hobby, don’t have knowledge and news about excluding working industry. In my plan, I will start to learn playing violin from Jan.

 

I wish you a happy new year!

SubThread for UIView Control

I’m continually developing original reminder’s app. I faced one issue when showing content on view. After got reminder’s data from EventStore, tried to put it as UITextView to confirm what kind reminders we can retrieve. But UITextView has error with following message.

This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes. This will cause an exception in a future release.

This was caused by multi thread processing. Some process to display reminder text into UITextFiled after get reminder data was contained in closure of function to retrieve reminder data from EventStore with identifier. Those process was called per identifier, it means in case of multi reminder list which the device has. Then each processes to modify UITextField were in subthread.  

As solution for this, I implemented “Dispatch_sync” method by referring to Grand Central Dispatch (GCD) Reference

dispatch_sync(dispatch_get_main_queue(),
            {
                self.textfiled.text = "Sample text to show text from subthread."
            })

It was success without any error. I could learn one new thing for iOS at this time.

EKSource

This is my note about iOS Application development which is originally managing event data ( Calendar or Reminder) to make sure be more easy UI for me.

To get Calendar or Reminder List from iOS device, EKEventStore class is basement to access to those database. And in that data base there are some datasource. EKSource class contains data source definition like “iCloud”, “Default”, 

EKSource.title(String) SourceType Memo
Default Local  
Other ??  
Subscribed Calendar Subscribed  
iCloud CalDAV  

These definition might work for permission to read & write the event. I will keep to investigate it.

 

 

Floppy Save Icon

Just considering iOS App UI as private by referring internet. I found one topic about save icon. On smartphone app, basically autosave function should be required to make sure good usability without save icon and consciousness for saving. But some case, explicit saving by themselves is the best way to save the date since user can store historical works.

20151225saveicon I noticed almost applications have “Floppy Disk” Save icon. But Floppy Disk had been abolished for 10 years. Younger generation doesn’t know the meaning of Floppy, don’t have any experience to save data into Floppy Disk. Althought almost user can easily understand and operate to save date by clicking the Floppy Disk Icon. Needless to write, older user well remembers the sound when Floppy drive is working.

These situation makes me understand that the floppy icon doesn’t mean Floppy itself at this time, it’s function to save. I’ m not sure it’s easy to recognize the meaning of icon for younger generation who have not used Floppy Disk, but they have got the meaning without realizing. That’s very curious.

New HTTP status code 451

Finally new HTTP status code 451 was approved by IETF. RFC will be shortly delivered.
https://datatracker.ietf.org/doc/draft-ietf-httpbis-legally-restricted-status/

I’m wondering who can response this code. Because when user accessed the page, the censored document will be correctly passed to user, it means censorship organization or person avoids to let user know fact that be censored. Internet Provider or some service provider can response the code without presser from anyone. It must be rare case to notice the fact.

According to some internet article about this, there were so many type of the opinion for agree or disagree.  Code space is limited, it’s good to collect the fact that there are some censorship on internet and so on.

In near future, statistic report about this will be revealed by lab and internet research company. I’m looking forward to see the result.