c tag

1304 questions


10 answers
34 views
0
About the return value of C's self-made function

Sorry for the new question.If you created your own function in C, I can't decide what to return with the return value.If the return type is int type, Should I return -1 or 0 in case of an error?Also, ...

c
2 years ago

1 answers
129 views
0
UICollectionView cells misaligned when returned from a screen transition by show Segue

When drawing for the first time, it appears as shown in the image below, but When I return from the show screen transition, the display will be misaligned as shown below.I tried to play with the top b...


1 answers
88 views
0
Change the color of the diagram you want CABasicAnimation to animate

I have created a pie chart by referring to the link below.https://gist.github.com/glayash/38aa605f99a9666a925dI want to change the color of the graph depending on the conditions, but it doesn't change...


1 answers
99 views
0
I want to transition from AppDelegate to ViewController using UINavigationController

I am currently trying to receive the URL I threw in the push notification in AppDelegate and display it in WebView.Also, this WebView is not only used for that purpose, but also for other situations.M...

2 years ago

1 answers
68 views
0
Understanding the Photo Display by Section of the Collectionview

I am using collection view for view.Allows you to add sections to the collection view later.Then, I would like to tap the button attached to the added section so that I can select and view each photo ...

2 years ago

4 answers
41 views
0
Error handling when opening multiple files in C language

If you want to open multiple files in C language and write How should I write down the error handling?I thought about the following, but in the second file open The processing of an error is disgustin...

c
2 years ago

2 answers
108 views
0
About the animation that moves the image view little by little while pressing the button.

[UIView animationWithDuration:0] delay:0 options:UIViewAnimationOptionCurveEaseIn animations:^{   self.view.transform=CGAffineTransformMakeTranslation(0,0);}completion:^ {}];I understand tha...


4 answers
37 views
0
Error handling when opening multiple files in C language

If you want to open multiple files in C language and write How should I write down the error handling?I thought about the following, but in the second file open The processing of an error is disgustin...

c
2 years ago

3 answers
80 views
0
What is the programming for rewriting text files to csv format?

How to rewrite toshi.txt as the corresponding table toshi.csv.|TOKYO|155|1|TOKYO,155,1,|NAGOYA | 108 | 3 | → NAGOYA, 108, 3,Please tell me the programming for rewriting like this.I understand that you...

c csv
2 years ago

1 answers
99 views
0
Memory Leak in Continuous Downloads with NSURLSession (iOS8)

I would like to download 60 files (about 2M each) continuously using NSURLSession.I created the following sample code and successfully downloaded it. Press the button to download 60 files.When the dow...

« - 20 - »

© 2024 OneMinuteCode. All rights reserved.