Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull request #21

Merged
merged 12 commits into from
Jan 28, 2016
Merged

Conversation

AshrafAbuBakr
Copy link
Contributor

I recommend you'd test it also to make sure things are fine.

@FabrizioBrancati
Copy link
Owner

Thanks! But can you sync it with master?

Conflicts:
	Source/Additions/Foundation/NSString+BFKit.h
	Source/Additions/Foundation/NSString+BFKit.m
@FabrizioBrancati
Copy link
Owner

When I'll test it, I'll merge!

@AshrafAbuBakr
Copy link
Contributor Author

Ok
If you find any problems just tell me.

On 12 January 2016 at 11:02, Fabrizio Brancati notifications@github.com
wrote:

Once I've tested it, I'll merge!


Reply to this email directly or view it on GitHub
#21 (comment)
.

@FabrizioBrancati
Copy link
Owner

The LimitedTextFieldDelegate doesn't work, if I want to use the other delegate methods I can't.
We have to create a BFTextField subclass of UITextField, define a BFTextFieldDelegate that extends the UITextFieldDelegate with the maxCharacter property and related methods.

@AshrafAbuBakr
Copy link
Contributor Author

Yeah you’re right.
I’ll make it a subclass.
Did you face any other problems?

On Jan 16, 2016, at 8:32 PM, Fabrizio Brancati notifications@github.com wrote:

The LimitedTextFieldDelegate doesn't work, if I want to use the other delegate methods I can't.
We have to create a BFTextField subclass of UITextField, define a BFTextFieldDelegate that extends the UITextFieldDelegate with the maxCharacter property and related methods.


Reply to this email directly or view it on GitHub #21 (comment).

@FabrizioBrancati
Copy link
Owner

Sincerly I didn't try the other things, but I've seen that a NSString+BFKit.m.orig and .h.orig has been created, maybe there was conflict.

@AshrafAbuBakr
Copy link
Contributor Author

I've added BFTextfield as we discussed.
Please check and pull it.
Thank You.

@FabrizioBrancati
Copy link
Owner

I've test it and something doesn't work, but I'll merge and I'll fix it, don't worry 👍
Thanks!

FabrizioBrancati added a commit that referenced this pull request Jan 28, 2016
Added BFTextField and other useful methods
@FabrizioBrancati FabrizioBrancati merged commit 8503a36 into FabrizioBrancati:master Jan 28, 2016
@AshrafAbuBakr
Copy link
Contributor Author

May I know what was the problem?

@FabrizioBrancati
Copy link
Owner

Yes, sorry if I didn't say it to you before.
The main problem was that you has defined the BFTextFieldDelegate with @interface, but delegates aka protocols has to be defined with @protocols.
The other little problems was that you left somethings in other files, like unused variables, that I've removed.
Maybe I've found another method to limit the characters without delegates.
Let me try and see the next commit!

@AshrafAbuBakr
Copy link
Contributor Author

Ok
Sorry I was very busy I haven't tested it enough.

On 30 January 2016 at 17:23, Fabrizio Brancati notifications@github.com
wrote:

Yes, sorry if I didn't say it to you before.
The main problem was that you has defined the BFTextFieldDelegate with
@interface, but delegates aka protocols has to be defined with @protocols.
The other little problems was that you left somethings in other files,
like unused variables, that I've removed.
Maybe I've found another method to limit the characters without delegates.
Let me try and see the next commit!


Reply to this email directly or view it on GitHub
#21 (comment)
.

@FabrizioBrancati
Copy link
Owner

Don't worry 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants