c tag

1304 questions


2 answers
111 views
0
How to Test the Private Method of the Model

modelclass test  def initialize(val1,val2)    validate(val1,val2)  end  private   def validate(val1,val2)    raise xxxx errorless val1.presnet?    raise yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy  ...

1 years ago

1 answers
91 views
0
Control view hierarchy when viewController is different

The UITabBarController maintains a subView of the viewController.I would like it to be displayed before the subView of the UITabBarController view.Layer.zPosition, blingSubviewToFront:, etc. are not r...

1 years ago

1 answers
171 views
0
Understanding JavaFX MVC Class Methods

I'm making a simple app with JavaFX to practice MVC, but I can't make it well.Especially, I am not good at communicating View input to the controller.Below is the source I am making now, but I use the...

1 years ago

1 answers
98 views
0
App crashes when tapping view in Notification Content Extension

I'm trying to create RichNotification using iOS10's Notification Content Extension, but it's not working.Only when you tap the view part of RichNotification while the app is not up, it crashes the mom...


1 answers
113 views
0
After all, what should I use when I want to measure the time accurately in C language?

We are currently programming using CUDA.Therefore, I would like to measure the processing time on the CPU side accurately (milliseconds or microseconds).There are functions for measuring time, but whi...

1 years ago

1 answers
96 views
0
Dynamic UITableView Updates

I'm trying to dynamically add rows to UITableView.- added (displayed):adding items during viewDidLoad- Not added (displayed): Add items after AFNetworking call is completeThis is the state of when ins...

1 years ago

1 answers
81 views
0
When Python is embedded from C language, an error occurs in which Py_Initialize() does not exist.

Nice to meet you.I recently started Python.We are currently developing in C language and would like to do some of the processing in Python.I used this article to embed Python.http://d.hatena.ne.jp/msc...

1 years ago

4 answers
45 views
0
Does it conform to the standard that the compiler that supports Shift_JIS regards circular symbols as backslashes?

Shift_JIS does not have a backslash symbol (so-called half-width) and A circular symbol exists at the assigned code position of the backslash in ASCII.The C/C++ compiler corresponding to the Shift_JIS...

c++ c
1 years ago

1 answers
122 views
0
Graphical UIView Animation

I want to create a circular view so that the color of the border line is repeated endlessly from red to blue and from blue to red.The following method changes from red to blue, but it stops and does n...

1 years ago

1 answers
133 views
0
I would like to test one-to-many associations with Rspec.

I'm tripping on the Rspec test.How do I write to test the association...There are two things I don't understand.1. I'm not sure how to associate with factorygirl in a one-to-many association (this tim...

1 years ago
« - 14 - »

© 2024 OneMinuteCode. All rights reserved.