Victor Choi

  • Home
  • Business
    • Internet
    • Market
    • Stock
  • Parent Category
    • Child Category 1
      • Sub Child Category 1
      • Sub Child Category 2
      • Sub Child Category 3
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Featured
  • Health
    • Childcare
    • Doctors
  • Home
  • Business
    • Internet
    • Market
    • Stock
  • Downloads
    • Dvd
    • Games
    • Software
      • Office
  • Parent Category
    • Child Category 1
      • Sub Child Category 1
      • Sub Child Category 2
      • Sub Child Category 3
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Featured
  • Health
    • Childcare
    • Doctors
  • Uncategorized

3/23/2017

P.O.P - Power of Presentation

 7:46 AM     No comments   

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

12/26/2016

Bug - CLLocationManager deferredLocationUpdatesAvailable always returns false in iOS10

 3:53 PM     CLLocationManager, deferredLocationUpdatesAvailable, iOS10     No comments   

Recently I tried to use this method for my development in iOS10. By the way the function isn’t work in iOS10. It always returns false value.

I hope that Apple fixs it as soon as possible.

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

12/15/2016

iOS Keychain in Swift3

 4:03 PM     iOS, Keychain, Swift3     No comments   

In Swift3 you should cast all dictionary values to AnyObject if the objects are derived from NSObject.

Refer the link

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

12/13/2016

How to localize plist file?

 2:37 PM     internationalization, localization, plist, translation     No comments   

You must create InfoPlist.strings file and localize it. After that remember you need to key value to translate a text in infoplist file.
"NSLocationWhenInUseUsageDescription" = "BlahBlahBlah"
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

11/16/2016

Isn't LeftBarButtonItem showing on navigation bar?

 11:13 PM     LeftBarButtonItem, NavigationBar     No comments   

If you manually create a parent and child relationship between two view controllers, the child view controller might not have a navigation bar in this case. So you might be wondered why the navigation item of the child view controller doesn’t effect on the navigation bar. But you need to understand that the navigation bar on the child view controller is not the child view controller’s navigation bar. Because the child view controller is embedded into the parent view controller. So you need to create a LeftBarButtonItem on the parent’s navigation bar and customize the button with a target and an action pattern in the parent view controller.

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Wait unitil a loop with asynchronous tasks finishes executing

 2:27 PM     dispatch, dispatch_group, GCD, loop, Swift, thread     No comments   

A completion Handler in iOS takes a thread to asynchronously get it done. So it means that we can’t know an exact point which the tasks finish. For example, if we use a for loop to execute several tasks in the background, how could we know all the task are done?

In this case you can use dispatch_group.

  1. Create a dispatch group which graps all the tasks in a for loop with dispatch_group_create().
  2. You point out a position which your code enters the dispatch group with dispatch_group_enter(groupname).
  3. You point out a position which your code leave the dispatch group with dispatch_group_leave(groupname).
  4. Lastly you can get a notification when all the tasks you assigned to a dispatch group is done with dispatch_group_notify.

If you want to see a concrete example for it, please refer this.

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

9/10/2016

Activate Firebase without Cocoapods in Xcode 8

 2:12 PM     Cocoapods, Firebase, Xcode8     No comments   

I need to convert a project based on Xcode 7 to Xcode 8. In the project I use Firebase 2 (2.5.1) with CocoaPods. But the problem is that CocoaPods is not compatible to Xcode 8 and iOS10.
So I should do it manually without CocoaPods.

Deintegrate Cococapods from a project

First of all , I need to clearly deintegrate Cocoapods from my project.
I found this. And I can clearly remove Cocoapods from my project.

FireBase integration

The problem that I faced is a overwhelming Link errors below.


Firebase Link Errors

I need to add several libraries to use Firebase in Xcode 8 and iOS10.
  • SystemConfiguration.framework
  • libc++.tbd
  • libsqlite3.tbd
  • libicucore.dylib
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Newer Posts Older Posts Home

Search This Blog

Popular Posts

  • Git ignore vs Git exclude
  • Keynote Tutorial Character Style , How to use a character style in Keynote
  • If you can't get OAuth Token by SFSafariViewController...?
  • Bitbucket authentication error, Invalid username and password
  • OmniFocus Review Perspective action using Launch Center Pro

Blog Archive

  • ▼  2020 (2)
    • ▼  January (2)
      • Error- helm docker-registry does not have any acti...
      • How to clean up none docker images
  • ►  2019 (21)
    • ►  December (2)
    • ►  November (6)
    • ►  October (5)
    • ►  September (2)
    • ►  August (3)
    • ►  July (2)
    • ►  June (1)
  • ►  2017 (11)
    • ►  December (2)
    • ►  November (2)
    • ►  July (2)
    • ►  May (1)
    • ►  April (1)
    • ►  March (3)
  • ►  2016 (48)
    • ►  December (3)
    • ►  November (2)
    • ►  September (1)
    • ►  August (10)
    • ►  July (5)
    • ►  June (7)
    • ►  May (2)
    • ►  April (18)
Powered by Blogger.

Navigation Menu

  • Home
  • About
  • Documentation
  • Contact

Contact Us

Name

Email *

Message *

Copyright © Victor Choi | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates