vendredi 15 juillet 2016

How to set the custom border color of UIView programmatically?


I am trying to set the custom border color of UIView programmatically in Swift.


Unexpected HTTP status code: 403 (-1) XCode 7


I have this error when I push my code to github repository by XCODE 7


Can/Should i inherit from STL iterator?


Can/Should i inherit from STL iterator to implement my own iterator class? If no, why not?


Firebase and Auth0 integration with Instagram for mobile


Is it possible to retrieve user information from instagram using Auth0 authentication and to be accessed with firebase console?

jeudi 14 juillet 2016

What's a good website to learn programming languages [on hold]


What's a good place to learn all programming languages such as objective C++. This includes YouTube videos and websites. Thanks in advance.


How to Integrate facebook Login in app


I have 1 button.

I want make this button connect to Facebook and show profile, picture, name.

How to do that with objective c.


How to stop running the app when you double tap the home button or go to the home page?


How can I stop my game when I am on home or in the double click place, because my game continue and when I open it again I already lose.

1000 simultaneously user login in iPhone application


I've a iPhone application. this is user manage application. I want to test the login page as automated. How can i use automation to test the 100/1000 user login simultaneously. Please advice.

Covert %E2%80%A2 to string in ios?


NSString *encodedString = @"For Rent %E2%80%A2 Ware House %E2%80%A2 200 Sq.Ft %E2%80%A2 200 Sq.Ft";

%E2%80%A2 is actually a bullet sign. How to convert it?


Auto Layout(Constraints) Vs Auto resizing mask(Springs & Struts)


These help you for resizing regardless screen size and Orientation. Question is , if you have Auto resizing mask(Springs & Struts) like easy solution, why should i use Auto Layout(Constraints) ?


Can Voro++ be compiled in Visual Studio


I need to make Voronoi 3D diagram and I have chosen Voro++ to make this with Qt.

Can I compile voro++ in VS or should I use another library?


how to use websokets in phonegap application for notify user?


I need to write phonegap(ios and android) app that in background listen websockets connection and notify user. Is any plugin for that, exist? Or any other way to do it ?


how to set the distance between left view and right view in the carousel


Is there any way to change the distance between the left and the right view in carousel .

I've tried with setting the perspective but it makes my view small.


what does Error “Thread 1:EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)” mean?


I got a error here when I try to build in the simulator

dyld_sim`dyld_fatal_error:
    0x101799000 <+0>: int3   
->  0x101799001 <+1>: nop    

Arc4Random in Swift?


I am looking to use the arc4random function in swift code, what would be the equivalent to this line of Objective-C code?

if (arc4random() % 2 == 0) {

// Swing 1

    }else{

// Swing 2

}

How can I calculate count in set


How can I designate count of numbers in set? I mean, i have something like this:

1 5 19 25 38 87

and I want to designate count from 25 to 87

in this case it's 3


Is it possible to see how JavaScript's core is written?


Has Chrome, Firefox or any browser released their source code?

Basically, I was wondering how the JSON package was written.

Golang for instance has made their code open-source.


What does it mean to inherit from lambda?


Found this code which looks to be interesting:

auto a = [](){};

class B : decltype(a)
{
};

I want to know what it does. Can this be useful in any way?


Advantage of winelib?


Are there any advantages to compiling my Windows application with winelib for Linux users? Why not just give them the .exe and let them run it with Wine? Seems just like extra work for no gain.

iOS Drawing PDFs with UIGraphics: how to set document title?


I'm drawing a PDF using UIGraphicsBeginPDFContextToData and it's working fine except that the document is always Untitled. Is there a way to set the title metadata when using UIGraphics, or do I need to rewrite using CGPDFDocument?