Component won't recognize it's being exported

I've encountered a very strange error. I feel that I've exported the Home component in a normal and conventional manner. Below, I've posted the .js files that I think are relevant in order to rectify this error. Despite this, In my iOS simulator, ...
more »

2017-08-16 16:08 (1) Answers

Completely change the identity of the project

I was going to use some ready third-party written project whose architecture i did like. By the time i am going to change the most of its code. Could someone provide what exactly should i change to completely renew the identity of this project? I gu...
more »

2017-08-16 09:08 (1) Answers

After Delete Row How To Reset Sqlite id value?

i have created sqlite database as follow NSString * sqlStmt =@"CREATE TABLE IF NOT EXISTS SONGS (ID INTEGER PRIMARY KEY AUTOINCREMENT, MOVIENAME TEXT, SONGNAME TEXT)"; after deleting row 7 in database the id values are 1,2,3,4,5,6,8,9... ...
more »

2017-08-16 09:08 (2) Answers

How to secure an authentication in swift

I'm quite new to programming apps for iOS. I've had a deeper look into creating a login for an app. The procedure is quite clear to me but I have couple of concerns regarding the security aspect. A) The app is sending the credentials that were provi...
more »

2017-08-15 12:08 (2) Answers

Branch.io links in Facebook iOS App

Branch.io can't find my app, when I try to open link in Facebook App. It always redirects to the App Store, even when our app is already installed on the device. I've read https://blog.branch.io/deep-linking-from-facebook-in-2017/ and implemented Dee...
more »

2017-08-15 11:08 (1) Answers

Swipe UITableViewCell without touch

As my title saying I want to swipe first row of UITableView left to right when user will come on that ViewController. In my ViewController I have one UITableView, each row have two button "More" and "Delete" action. Look at below code func tableVie...
more »

2017-08-15 11:08 (1) Answers

iOS CoreBluetooth security

I'm working on an iOS app that uses Core Bluetooth to communicate with a BLE device. The ble device, which I'm working with might be secured, because it looks, that I have to send some code, before communication (now it's sending no data, even after ...
more »

2017-08-15 10:08 (0) Answers

FSCalendar: how to get dates in two dates?

I am using Swift 3, and i would like to print the every day between two dates. For example: 08-10-2017 -> Start Date 08-15-2017 -> End Date Should print: 08-10-2017 08-11-2017 08-12-2017 08-13-2017 08-14-2017 08-15-20...
more »

2017-08-15 10:08 (1) Answers

Working with Realm and result JSON

I am new to realm and I am trying to use Realm in my project. Here I am trying to parse JSON and save it using realm. When I am trying to loop through the result array error occurs 'Attempting to modify object outside of a write transaction - cal...
more »

2017-08-15 08:08 (2) Answers

Swift execute asynchronous tasks in order

I have a few asynchronous, network tasks that I need to perform on my app. Let's say I have 3 resources that I need to fetch from a server, call them A, B, and C. Let's say I have to finish fetching resource A first before fetching either B or C. Som...
more »

2017-08-14 22:08 (1) Answers

Link Not working ... Why?

Link is not working properly: let MoovitURL: String = "moovit://nearby?lat=40.758896&lon=-73.985130&title=\(barNameTemplate)&partner_id=<nightout>" let escapedString = MoovitURL.addingPercentEncoding(withAllowedCharacters:...
more »

2017-08-14 21:08 (1) Answers

Content to share in Facebook is empty

I'm trying to share content in facebook, but when the dialog of Facebook appears, the content to share it's empty I mean nothing is showing up, did I forgot to write something in the code? or something else? Hope you can help me. (IBAction)ShareFa...
more »

2017-08-14 17:08 (0) Answers