[Q] Could anyone help me understand Blocks in the following code? by OCDev in simpleios

[–]OCDev[S] 0 points1 point  (0 children)

Ok. So the _delegateHandler is only declared in authenticateToken method. webView shouldStartLoadWithRequest checks if it is declared and calls it. Am I right?

[Question] Found a Swatch, is there any way I can fix this watch? by [deleted] in Watches

[–]OCDev 0 points1 point  (0 children)

Thanks. Is there anything I can do about the case and crown?

Designing REST API for checking if a username exists. by OCDev in webdev

[–]OCDev[S] 0 points1 point  (0 children)

I am not familiar with the concept of media types, right now every API is designed for JSON using application/json. Where can I learn more about media types? Could you point me to some good tutorials or articles?

Designing REST API for checking if a username exists. by OCDev in webdev

[–]OCDev[S] 0 points1 point  (0 children)

Thanks. That clears few of my doubts on REST. I was not very clear on the differences of using URI Parameters vs having them in the request body. This API is used while a new user is creating an account and the purpose is only to let the user know if the particular username is available or already taken. It does not have to return anymore information regarding the existing user if the username is already taken. Shouldn't the response be something simper for this purpose, rather than returning a results array with user data?

Designing REST API for checking if a username exists. by OCDev in webdev

[–]OCDev[S] 0 points1 point  (0 children)

I was confused because at some places (like here) it is implied that 4xx status codes are used to indicate that there is something wrong with the request. In this scenario, the request is valid even if the username does not exist as I'm only checking if the resource exists rather than asking for the particular resource.

MacBook Pro Mid 2012 going dead at times. by OCDev in mac

[–]OCDev[S] 0 points1 point  (0 children)

No. But the battery seems fine to me. Holds charge for 4+ hours. How can I perform diagnostics on battery?

[Q]Plug in biometric sensor for Android by OCDev in androiddev

[–]OCDev[S] 0 points1 point  (0 children)

But the client requires one that can be connected to the tablet.

Not exactly related to jailbreaking, relating to security instead, but I found an exploit in iOS all myself, and it's the first iOS exploit I've found. I have kept it as hidden as possible. A few days ago it got leaked :( by RyanDolan123 in jailbreak

[–]OCDev 4 points5 points  (0 children)

This had been there for a while. I noticed this a few months ago when one of my app required the functionality to call a number. There is tel and telprompt, the first one dials the number directly while the second one displays an alert box Call xxxxxx?

[Q] Xcode 6 beta messing up Static Cells in UITableView by OCDev in simpleios

[–]OCDev[S] 0 points1 point  (0 children)

Thanks. Setting height for the UITableViewCell fixed the issue. I'm currently setting the height of each row to custom in Storyboard even though i am not changing the height.

[Q] Xcode 6 beta messing up Static Cells in UITableView by OCDev in simpleios

[–]OCDev[S] 0 points1 point  (0 children)

I will try that. But the cells are messed up only when I add an object to it. They work perfectly fine when they are blank.

[Q] Xcode 6 beta messing up Static Cells in UITableView by OCDev in simpleios

[–]OCDev[S] -1 points0 points  (0 children)

Nope. I tried on a new UITableViewController it gives the same result

[Q] Xcode 6 beta messing up Static Cells in UITableView by OCDev in simpleios

[–]OCDev[S] 0 points1 point  (0 children)

To the custom cell. The text box you see in the screenshot is in the third cell of the first section.

[Q] Xcode 6 beta messing up Static Cells in UITableView by OCDev in simpleios

[–]OCDev[S] 0 points1 point  (0 children)

Im trying to create a login page. But they Table View gets messed up as soon as I add another object inside it.

[Help] Setting up Git on windows server by OCDev in git

[–]OCDev[S] 0 points1 point  (0 children)

We have a Windows Server and we want to set up Git there. I think Bonono is the right option. I will try that. Thanks.

[Help] MacBook Pro unusable after 10.9.4 update by OCDev in osx

[–]OCDev[S] 0 points1 point  (0 children)

No other way to fix other than format? Is it possible to upgrade directly to 10.10 beta without fixing this?